[FFmpeg-devel] libx264 error - "broken ffmpeg default settings detected"

ami_stuff ami_stuff
Wed Oct 7 00:57:16 CEST 2009


Hi,

With the currect FFmpeg snapshot I can't convert any divx or wmv file to h264.
Is this FFmpeg's bug or maybe libx264?

I have FFmpeg SVN-r19793 for comparison and this version works correctly.

I uploaded sample "w_test.avi" file to incoming.

PS. roundup is down.

C:\>ffmpeg -i w_test.avi -vcodec libx264 w_h264.avi
FFmpeg version SVN-r20177, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Oct  6 2009 04:01:43 with gcc 4.2.4
  configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-ming
w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --e
nable-avisynth --enable-gpl --enable-version3 --enable-zlib --enable-bzlib --ena
ble-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libthe
ora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid
--enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb --enable-li
bopencore_amrnb
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.36. 0 / 52.36. 0
  libavformat   52.39. 0 / 52.39. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1

Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (300
00/1) -> 29.97 (30000/1001)
Input #0, avi, from 'w_test.avi':
  Duration: 00:00:08.07, start: 0.000000, bitrate: 733 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 29.97 tbr, 29
.97 tbn, 30k tbc
    Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
[libx264 @ 0x1a8fe30]broken ffmpeg default settings detected
[libx264 @ 0x1a8fe30]use an encoding preset (vpre)
Output #0, avi, to 'w_h264.avi':
    Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200
 kb/s, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters
such as bit_rate, rate, width or height

Regards




More information about the ffmpeg-devel mailing list