[FFmpeg-trac] #1993(avformat:new): Badly interleaved partial AVI file causes audio/video desync

FFmpeg trac at avcodec.org
Wed Dec 5 15:00:28 CET 2012

#1993: Badly interleaved partial AVI file causes audio/video desync
             Reporter:  gjdfgh       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:  git-
             Keywords:               |  master
  avi,interleaved                    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Reproducible with streams.videolan.org/issues/ffmpeg/yet-another-broken-
 interleaved-avi.avi and
 dd if=yet-another-broken-interleaved-avi.avi of=test.avi bs=1048576

 The problem description is exactly the same as #333, except with partial
 files (the complete test file as linked above works fine, just cutting it
 makes it fail).

 Just like with bug #333 (before it was fixed), it causes desync after some
 time of normal playback in ffplay/mplayer, and it works correctly with
 mplayer -demuxer avi.

 Compared to playback of the complete file, the following ffplay message is
 [avi @ 0x7f94980008c0] non-interleaved AVI
 which possibly means that the demuxer fails to recognize the file as badly
 interleaved if the trailing part of the file is missing.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1993>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list