Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu server 8.04 installed with the Multiverse repos enabled.

I have installed FFMPEG, with its PHP extension also.

When I try to convert videos into the flv format, I find that the audio is stripped out.

Also, audio cannot be converted to mp3, only mp2.

How do I install the codecs required ?

Please help.

share|improve this question
have you installed the codecs and compiled ffmpeg with the options to use them ? – Prix Oct 7 '10 at 5:55
Not sure this is really a SF question, more suitable for SU, what do others think? – Chopper3 Oct 7 '10 at 6:24
I think it is, because I am using ffMpeg on my production server with its PHP extension. – Hrishikesh Choudhari Oct 7 '10 at 6:50
up vote 1 down vote accepted

This old post: on ServerFault had my answer. Thanks folks !

share|improve this answer
This is the page where the above SF page links to. – Hrishikesh Choudhari Oct 7 '10 at 6:52

You need build ffmpeg from source. Read this page:

share|improve this answer
I got it to work from here: – Hrishikesh Choudhari Oct 7 '10 at 6:52
Add you output command: ffmpeg – bindbn Oct 7 '10 at 7:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.