After installing and configuring mp3lame, FAAC, FAAD2, libogg, libvorbis, and some other codec packages I end up with the following error: Code: # /usr/bin/ffmpeg -i /home/admin/public_html/videoportal/original_videos/20060911100412War3-Movie-Trailer.avi -acodec mp3 /home/admin/public_html/videoportal/compressed_videos/20060911102853demovideo_peijenburgt1.flv FFmpeg version SVN-r5829, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr --enable-mp3lame --enable-a52 --enable-dts --enable-libogg --enable-vorbis --enable-faad --enable-gpl --enable-memalign-hack --enable-pp --enable-pthreads --enable-gprof --enable-faadbin --enable-shared --disable-mmx --enable-xvid --enable-a52bin --enable-faac libavutil version: 49.0.0 libavcodec version: 51.14.0 libavformat version: 50.5.0 built on Sep 11 2006 12:23:46, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3) Seems that stream 0 comes from film source: 30000.00 (30000/1) -> 24.00 (24/1) Input #0, avi, from '/home/admin/public_html/videoportal/original_videos/20060911100412War3-Movie-Trailer.avi': Duration: 00:00:29.9, start: 0.000000, bitrate: 1040 kb/s Stream #0.0: Video: mpeg4, yuv420p, 800x340, 24.00 fps(r) Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s File '/home/admin/public_html/videoportal/compressed_videos/20060911102853demovideo_peijenburgt1.flv' already exists. Overwrite ? [y/N] y Output #0, flv, to '/home/admin/public_html/videoportal/compressed_videos/20060911102853demovideo_peijenburgt1.flv': Stream #0.0: Video: flv, yuv420p, 800x340, q=2-31, 200 kb/s, 24.00 fps(c) Stream #0.1: Audio: 0x0000, 44100 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Unsupported codec for output stream #0.1 While I installed MP3Lame with: Code: ./configure --prefix=/usr --enable-shared Can anyone tell me what I am doing wrong, since mp3lame is compiled, installed as a shared component and compiled with FFMPEG shouldn't FFMPEG be able to encode the MP3 along with the FLV movie?
Looks like you are missing some codecs. I've had a hard time getting ffmpeg to work with all the movies people upload to my video portal (a youtube clone) After adding the "w32codecs" I got it to work fine! Maybe give it a try? On Debian all I needed was an apt-get install w32codecs