[Ffmpeg-devel] ffmpeg builded on mingw can not encode mp3

Dick Chen dz1300
Fri May 20 16:58:48 CEST 2005


Hi all:
    I download ffmpeg form CVS 2005-5-20 and build it on msys1.0.10(include mingw3.2.0) by these steps:

    cd c:/projects/lame-3.69.1
    configure --prefix=c:/mingw --disable-shared --disable-decoder
    make
    make install

    cd c:/projects/ffmpeg
    configure --enable-mingw32 --enable-memalign-hack --enable-mp3lame
    make
    make install

    when i try this:
    ffmpeg -i E:\test\VTS_01_1.vob -f avi -vcodec mpeg4 -b 800 -g 300 -bf 2 -acodec mp3 -ab 128 E:\test\test.avi

    ffmpeg shows:
ffmpeg version 0.4.9-pre1, build 4755, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mingw32 --enable-memalign-hack --enable-mp3lame
  built on May 20 2005 22:42:55, gcc: 3.4.2 (mingw-special)
Input #0, mpeg, from 'E:\test\STEAL\VIDEO_TS\VTS_01_1.vob':
  Duration: 00:00:13.8, start: 0.280000, bitrate: 6583 kb/s
  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, 25.00 fps, 6001 kb/s
  Stream #0.1: Audio: 0x0000
Output #0, avi, to 'E:\test\STEAL\VIDEO_TS\test.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 720x576, 25.00 fps, q=2-31, 800 kb/s
  Stream #0.1: Audio: mp3, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg4 @ 0068F528]removing common factors from framerate
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

    It seems that ffmpeg can not encode mp3, can anyone give me some suggestion?

Best regards.
Dick




More information about the ffmpeg-devel mailing list