Roman <[email protected]> added the comment:

I was converting .mkv with h264 and AAC 5.1 to .avi with XviD and AC3 5.1 and
the resulting AVI file had video running twice as fast as it should in WMP. The
audio sounded fine but was out of sync as video playback finished half way
through the audio stream.

I'm too far from this codebase but I've spend a day trying to figure it out what
is going on. I noticed one thing that nobody seems to have mentioned before:
this bug will only manifest itself if the AC3 5.1 stream has bitrate of 448kbps
or greater. Setting it to 384kbps or lower produces a good AVI that plays as
expected in WMP.

Hopefully that helps.

My ffmpeg build:

FFmpeg version SVN-r26061, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec 20 2010 08:16:35 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm
--enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame
--enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb
--enable-libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86
--enable-runtime-cpudetect --enable-libxvid --enable-libx264 --enable-librtmp
--extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-os=mingw32
--enable-avisynth --enable-w32threads --cross-prefix=i686-mingw32- --cc='ccache
i686-mingw32-gcc' --enable-memalign-hack
  libavutil     50.35. 0 / 50.35. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.100. 0 / 52.100. 0
  libavformat   52.88. 0 / 52.88. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.69. 0 /  1.69. 0
  libswscale     0.12. 0 /  0.12. 0

----------
status: closed -> open
substatus: works_for_me -> reproduced

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue1498>
________________________________________________

Reply via email to