Video codecs

Video codecs

Posted by: lecter
Posted on: 2007-03-09 05:25:00

Hello,

I have a script that needs some video codecs in order to work fine, and i'm having some trouble installing them on the server... i have some years of experience in design but when it comes to server side issues i find myself in the unknown!

So bottom line is: can anyone give some hints on how to install these codecs?
GD Library 2 or higher
FFmpeg
FFmpeg-PHP
Mplayer + Mencoder 9) flv2tool
Libogg + Libvorbis
LAME MP3 Encoder

thanks alot!


Re: Video codecs

Posted by: Mousee
Posted on: 2007-03-09 06:21:00

I suggest you find another script, or something else to suit your needs for your website.

Installing such programs requires some shell experience and probably a bit of patience.
You must also consider the fact that such programs are rather server intensive, if used frequently, and would be better off served on a Dedicated Server where you can use *all* of the server's resources without affecting other users.

That said, sometime this week (or possibly next weekend, depending on my schedule), I'll be writing a HOW-TO in the wiki on installing the FFMpeg-PHP module. A HOW-TO in the wiki already exists for FFMpeg though and works quite well, though FFMpeg is actually already installed on the DH servers as well, so you could possibly use that without compiling your own (assuming it was built with support for the application(s) you're using).

The LAME MP3 Encoder I believe is just a standard source install. It should be listed on sourceforge and come with an Install/Readme file that explains how to configure and install it (from the shell). Should be quite straightforward anyways.
I have no idea how to install Libogg or libvorbis though, as I've never needed that support on DH. GD Library 2 is (or should be) already built into DH's PHP install.


Anyways - Good luck, though I really hope you're on a dedicated server if you really do plan to use these applications for more than infrequent usage.

Re: Video codecs

Posted by: Raz2133
Posted on: 2007-03-09 06:58:00

In reply to:

I really hope you're on a dedicated server if you really do plan to use these applications for more than infrequent usage.


I recall seeing requirements *very* similar to the above in a recent thread regarding a YouTube clone script.

If this is the type of site the original poster intends to run, I sure hope it doesn't end up on my shared server. wink

Mark

Re: Video codecs

Posted by: netbrix
Posted on: 2007-05-07 22:05:00

Hi,
If you're looking for server setup services for the following on dreamhost:
* autoconf
* LAME
* ffmpeg
* GD2
* mplayer+mencoder
* flvtool2
* libogg
* libvorbis
* PHP
* ffmpeg-php
Please get in touch with me I have setup close to 50 youtube clones (some clip-shares, a few social media, ostube, alstrasoft, vshare and a couple of custom made scripts as well) on Dreamhost shared hosts and they work great. I make sure that the shared server resources are not overshot so you do not face the dangers of getting shut down by the host.

You can read more about the requirements here: http://www.netbrix.net/archives/39

Re: Video codecs

Posted by: scjessey
Posted on: 2007-05-08 07:32:00

Get lost, spammer.

Re: Video codecs

Posted by: netbrix
Posted on: 2007-05-08 09:38:00

Seriously what's your problem Jessey???

When you put the affiliate code in your signature it's not spamming but when I try to provide information about a service it's spamming!!! Get a reality check, what I've written about is what a lot of people are looking for desperately and if you were a little smarter you'd have checked the site to see what people have to say about my service delivery.

Come to think of it you are the spammer given the fact that you had nothing informative to write but just coz you wanted to flash your stuff (the promo code) you made a silly comment :))!!!

Re: Video codecs

Posted by: scjessey
Posted on: 2007-05-08 10:09:00

In reply to:

Seriously what's your problem Jessey?


You have made a handful of posts on this forum, almost all of which consist of you spamming the board with identical posts selling your services. In contrast, I have made hundreds of useful contributions to this board, and thousands to the wiki. You only need to post something once, after which it is considered double-posting and/or spamming.

Re: Video codecs

Posted by: netbrix
Posted on: 2007-05-08 10:18:00

Well a total of 6 posts in answer to queries by users. This is looking more like a case of "I am the king over here and no one is allowed to come into my domain and survive".... chill Jessey it's a huge world I'm sure we'll find a place for ourselves..... as for helping out kindly go to The howto page That page has been up since October last year. I totally agree to sharing Khow and what I did might have been wrong by your standards but there are people out there who "actually do" need help and giving them commands to run without them actually understanding what LD_LIBRARY_PATH or codecs really means is not my idea of help. I'd rather pay for a flight than make my own airplane.... likewise in the case of this service.

Lets not be babies now and call off this flame war..... peace!

Edited by netbrix on 05/08/07 10:22 AM (server time).

Re: Video codecs

Posted by: Lensman
Posted on: 2007-05-08 10:49:00

I'm just here to support scjessey, who helps people who come to the forums every day. Please don't resort to attacking respected posters here to defend your actions. Do defend your actions, though. You have every right to.

Now on to the subject of spamming. I think it's ok to post a solution to commonly found problems. However, when the solution requires payment, I think it becomes a little iffy. Note that I don't say it's necessarily against the ToS for the board, but you have to admit that post designed purely to advertise paid services are clearly not allowed here.

Responding to a request for information with an offer of paid consulting help is allowed, in my opinion - though it would obviously be inappropriate if the same thing were available for free. I don't think you're in that situation, so you were fine with your first post.

OTOH, dredging up six or seven posts up to a year old with the same response it spamming, IMHO. You could achieve the same thing with a bit more respect for the people participating in the board by posting once and then *maybe* PM'ing the individuals who asked the question.

I think you're providing a fine service at what seems to be a reasonable cost, I just want to be clear that it is still ok for people to complain about the advertising.

Re: Video codecs

Posted by: Mousee
Posted on: 2007-05-08 11:11:00

Well said Lensman! I totally agree, digging up rather old posts that someone will more than likely never look at again, is quite pointless. The 2-3 month old threads I could see as reasonable (like this one), but there's really no need to continue spamming it every where. If someone is truly interested, I'm sure a forum search will return results that will also include your reply to other's in the past. Or you could just be more active in the forums and catch people who inquire about such things.. tongue wink

I plan to start a not-too-dissimilar service in the near future, providing PHP & eAccelerator/APC installation support. I'll probably link to my site in my sig (with a very brief description of what I offer), and that's about it.
You won't see me posting in every (old) thread about PHP or such caching mechanisms however, as I find that quite distasteful.

I do certainly commend you for the service you provide however, and I'm sure you mean well, but Scjessey and the others do have a point about 'going too far' with how much you advertise yourself in these forums.

Re: Video codecs

Posted by: anonymous2
Posted on: 2007-05-08 11:21:00

> This is looking more like a case of "I am the king over here and no one is allowed to come into my domain and survive".

Word. Except he's not king here, and can't do anything but whine.

'Course if lector == netbrix , which DH could check if they wanted, then that's another story. cool

Re: Video codecs

Posted by: rlparker
Posted on: 2007-05-08 12:16:00

In reply to:

Well a total of 6 posts in answer to queries by users.


I don't see any problem at all with responding to a poster's request for help with a offer of professional service - particularly where lot's of "help" has already been offered, but the poster still has problems (and this particular subject certianly qualifies in that regards.)

That said, blanketing the forum with multiple identical posts, when some of the posts are to"dead" threads, *does* take on the color of "spamming" - even if that was not the intention and the post is "on topic".

I can't imagine *anyone* objecting to your posts offering your service if they were "timely" and in direct response to a poster's question - it's when you try to go back and hit every relevant thread, even dead ones, that people get a little snarkey. shocked

As I pointed out before, I linked another poster to your site before any of this started, as you *do* have a helpful "how to" on your site for such things; your offer to provide paid services is fine by me - I'd just like to see it posted only where/when appropriate (but that is just my opinion!) wink

--rlparker

Re: Video codecs

Posted by: michael
Posted on: 2007-05-10 03:20:00

Netbrix, at least scjessey is a customer. Promo codes are something offered by DreamHost that our customers are encouraged to give out when they are assisting potential customers.

Please don't post here promoting your website anymore, Thanks!

(its good to be the king?)

Re: Video codecs

Posted by: netbrix
Posted on: 2007-05-10 03:41:00

Hi Michael,
You're right. It is good to be king!! They also say something about "uneasy lies the head that wears the crown" or some such. Anyways to each his own I just want to be a sysad not a king or a queen for that matter :) That's for bigger people like you and scjessey

As for promo codes let me inform you that close to 75 clients on dreamhost are there today because I helped them stay there or else they'd have been on cirtexhosting.com (a video enabled host) or some other hosting platform. Oh yes without it having cost you guys a discount which you pay your "clients" who promote using "promo codes". But then again probably you never wanted those clients anyways :)

What I'd like to offer is peace lets not be judgemental about who did what and lets concentrate on having a life instead!! Jessey and I had understood it and were not responding would be good if everyone else also understands that and lets this thread die.

I understood the part about me having spammed by posting the same reply to different queries and apologize for that in all probability might not be posting on DH again. Lets just say I wasn't so aware how "private" we are and go about our lives :)

Warm Regards


Enjoy :)


Edited by netbrix on 05/10/07 03:43 AM (server time).

Re: Video codecs

Posted by: seiler
Posted on: 2007-05-10 11:44:00

You get called out for spamming your site, so you come back to spam a web host?

In reply to:

Oh yes without it having cost you guys a discount which you pay your "clients" who promote using "promo codes".


The host you spammed here also has an affiliate program, but their affiliates get all of the money and the customer gets nothing.

DH gives us $97 for a referral. When we CHOOSE to pass it on in a promo code, that's not us getting paid. Maybe you think $0 is a lot of money, but I don't.

If they refer someone, then we get a whopping $5 secondary referral... but that's lower than any other host's affiliate payout.

Which is it that you have a problem with, us recommending a host without having to be paid $97 to do so, or new customers getting to try DH with a $97 discount?

In reply to:

I understood the part about me having spammed by posting the same reply to different queries and apologize for that in all probability might not be posting on DH again.


Good luck finding any forum that wants you to dig up old posts and do a copy/paste spam job on them.

Re: Video codecs

Posted by: netbrix
Posted on: 2007-05-10 12:22:00

You're going off topic seiler the question never was about promo codes the discussion was about ignorance, wrongly directed advertising and subsequently perception of spam.

But then I guess that's what's wrong with the world today "we want to be judgemental without stopping to think and reason..."

As far as promo codes go I truly think DH does a great job. Just that when promo codes get wagged in your face and you get told "this guys a paying customer he can speak you can't" it sort of triggers a knee jerk reaction. So chill and direct your energies at more important problems.... like global warming for instance!

Re: Video codecs

Posted by: seiler
Posted on: 2007-05-10 13:39:00

In reply to:

You're going off topic seiler the question never was about promo codes


Then you shouldn't have brought them up by calling an actual contributor a spammer because of their use.

In reply to:

Just that when promo codes get wagged in your face and you get told "this guys a paying customer he can speak you can't"


So, now you can't even tell the difference between speaking and spamming?

I guess I missed where Michael said he could start spamming old threads because he's a customer, but it's only bad when you do it.

The funny thing is that you even spammed a thread where someone had already linked to your site. You'd know that if you actually read the threads instead of scanning for relevant keywords to help you out with your ad placement.

This isn't a Dreamhost rule. No forum wants people to register and dig up old threads to promote their site. Are you going to go play "victim" on every forum on the internet, or just here?

In reply to:

So chill and direct your energies at more important problems.... like global warming for instance!


And how exactly are you helping the global warming issue by spamming forums? Shouldn't you be out dodging Hummers in a Prius?

It's a real shocker that a spammer would prefer that we focused on something other than spam.

Let's see... I wonder if you'll go do something constructive and save Planet Earth, or if you'll be right back here with more "I'm a victim" posts.

Remember: Every time you post here, you are neglecting a sad tree somewhere that really needs a hug.

Re: Video codecs

Posted by: godaddyEVIL
Posted on: 2007-05-15 02:05:00

none of those are codecs. ;p


FFmpeg -- you can usually run this from your own directory



NOdaddy.com - the trauma of bad godaddy

Re: Video codecs

Posted by: bgg
Posted on: 2007-05-17 11:32:00

/usr/bin/ffmpeg !!

Tags: lame mp3 encodervideo codecsffmpeggd librarymplayerserver sidemencoderbottom line