[FFmpeg-trac] #333(undetermined:open): Badly interleaved AVI file not handled
FFmpeg
trac at avcodec.org
Thu Jul 7 16:18:57 CEST 2011
#333: Badly interleaved AVI file not handled
----------------------------+---------------------------
Reporter: ubitux | Owner:
Type: defect | Status: open
Priority: normal | Component: undetermined
Version: git-master | Resolution:
Keywords: avi,interleaved | Blocked By:
Blocking: | Reproduced: 1
Analyzed: 0 |
----------------------------+---------------------------
Changes (by cehoyos):
* status: new => open
* version: unspecified => git-master
* component: avformat => undetermined
* reproduced: 0 => 1
Comment:
Works fine with ffmpeg and mplayer -demuxer avi, fails with ffplay and
mplayer -demuxer lavf.
{{{
$ ffplay yet-another-broken-interleaved-avi.avi
ffplay version N-31287-gc3b6cc6, Copyright (c) 2003-2011 the FFmpeg
developers
built on Jul 7 2011 00:26:57 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 24. 3 / 2. 24. 3
libswscale 2. 0. 0 / 2. 0. 0
Input #0, avi, from 'yet-another-broken-interleaved-avi.avi':
Duration: 00:23:29.35, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x480, 29.97 fps, 29.97 tbr,
29.97 tbn, 30k tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
[mpeg4 @ 0x12e56e0] looks like this file was encoded with
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
50.14 A-V: -1.450 s:0.0 aq= 0KB vq=15365KB sq= 0B f=0/0 f=0/0
}}}
{{{
$ mplayer yet-another-broken-interleaved-avi.avi
MPlayer SVN-r33805-4.5.3 (C) 2000-2011 MPlayer Team
Playing yet-another-broken-interleaved-avi.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DIVX] 640x480 24bpp 29.970 fps 1105.7 kbps (135.0 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 15999->384000)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[mpeg4 @ 0xd839c0]looks like this file was encoded with
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 640x480 => 640x480 Planar YV12
A: 68.6 V: 68.6 A-V: 0.000 ct: 0.000 2057/2057 3% 2% 0.4% 0 0
Badly interleaved AVI file detected - switching to -ni mode...
A: 69.7 V: 69.7 A-V: 0.000 ct: 0.000 2091/2091 3% 2% 0.4% 0 0
Exiting... (Quit)
}}}
{{{
$ mplayer yet-another-broken-interleaved-avi.avi -demuxer lavf
MPlayer SVN-r33805-4.5.3 (C) 2000-2011 MPlayer Team
Playing yet-another-broken-interleaved-avi.avi.
libavformat file format detected.
[lavf] stream 0: video (mpeg4), -vid 0
[lavf] stream 1: audio (mp3), -aid 0
VIDEO: [MP4V] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[mpeg4 @ 0xd839c0]looks like this file was encoded with
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 640x480 => 640x480 Planar YV12
A: 68.6 V: 68.6 A-V: 0.000 ct: 0.000 0/ 0 3% 2% 0.4% 0 0
Too many video packets in the buffer: (4096 in 21598698 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 69.0 V: 71.4 A-V: -2.453 ct: -0.245 0/ 0 3% 2% 0.4% 0 0
Exiting... (Quit)
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/333#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list