[FFmpeg-devel] help converting flv to mp3

David Montgomery davidmontgom
Thu Dec 13 20:19:11 CET 2007

I just installed ffmpeg and lame.
when I installed ffmpeg I enabled lame with the following 
 ./configure --enable-libmp3lamemake
make install
I am trying to extract the mp3 audio from an flv file using the following command
ffmpeg -title "amex" -i amex.flv -acodec mp3 -ac 2 -ab 131072 -vn -y test.mp3
However...I get the folllowing error message.  Please tell me how to extract audio mp3 from flv...I have been trying for weeks.
[davidmontgom at localhost flash_video]$ ffmpeg -title "amex" -i amex.flv -acodec mp3 -ac 2 -ab 131072 -vn -y test.mp3FFmpeg version SVN-r11085, Copyright (c) 2000-2007 Fabrice Bellard, et al.  configuration: --enable-libmp3lame  libavutil version: 49.5.0  libavcodec version: 51.48.0  libavformat version: 52.0.0  built on Dec 13 2007 11:08:00, gcc: 4.1.2 20070925 (Red Hat 4.1.2-27)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 14.50 (29/2)Input #0, flv, from 'amex.flv':  Duration: 00:00:10.2, start: 0.000000, bitrate: 16 kb/s    Stream #0.0: Video: flv, yuv420p, 240x180 [PAR 0:1 DAR 0:1], 14.50 tb(r)    Stream #0.1: Audio: mp3, 11025 Hz, mono, 16 kb/sUnknown encoder 'mp3'

More information about the ffmpeg-devel mailing list