[vlc-devel] Endianness bug (again ?) for avi files

Christophe Massiot massiot at via.ecp.fr
Tue Dec 24 12:20:52 CET 2002


With latest CVS versions, I cannot read .avi files any longer. They 
all fail with numerous "header damaged" ffmpeg errors, and others. 
All those files work pretty well with 0.4.6. Any idea ?

[00000125] avi input debug: Found Chunk fourcc:52494646 (FFIR) 
size:239781008 pos:0
[00000125] avi input debug: found LIST chunk: ' IVA'
[00000125] avi input debug: <list ' IVA'>
[00000125] avi input debug: Found Chunk fourcc:4c495354 (TSIL) size:294 pos:12
[00000125] avi input debug: found LIST chunk: 'lrdh'
[00000125] avi input debug: <list 'lrdh'>
[00000125] avi input debug: Found Chunk fourcc:61766968 (hiva) size:56 pos:24
[00000125] avi input debug: avih: streams:2 flags: HAS_INDEX 
IS_INTERLEAVED TRUST_CKTYPE 640x480
[00000125] avi input debug: Found Chunk fourcc:4c495354 (TSIL) size:116 pos:88
[00000125] avi input debug: found LIST chunk: 'lrts'
[00000125] avi input debug: <list 'lrts'>
[00000125] avi input debug: Found Chunk fourcc:73747268 (hrts) size:56 pos:100
[00000125] avi input debug: strh: type:sdiv handler:0x44495658 
samplesize:921600 25.00fps
[00000125] avi input debug: Found Chunk fourcc:73747266 (frts) size:40 pos:164
[00000125] avi input debug: strf: video:XVID 640x480 planes:1 24bpp
[00000125] avi input debug: </list 'lrts'>
[00000125] avi input debug: Found Chunk fourcc:4c495354 (TSIL) size:94 pos:212
[00000125] avi input debug: found LIST chunk: 'lrts'
[00000125] avi input debug: <list 'lrts'>
[00000125] avi input debug: Found Chunk fourcc:73747268 (hrts) size:56 pos:224
[00000125] avi input debug: strh: type:sdua handler:0x01000000 
samplesize:1 12000.00fps
[00000125] avi input debug: Found Chunk fourcc:73747266 (frts) size:18 pos:288
[00000125] avi input debug: strf: audio:0x2000 channels:1 48000Hz 
16bits/sample 93kb/s
[00000125] avi input debug: </list 'lrts'>
[00000125] avi input debug: </list 'lrdh'>
[00000125] avi input debug: Found Chunk fourcc:4c495354 (TSIL) 
size:238918734 pos:314
[00000125] avi input debug: Skipping movi chunk
[00000125] avi input debug: Found Chunk fourcc:69647831 (1xdi) 
size:861952 pos:238919056
[00000125] avi input debug: idx1: index entry:53872
[00000125] avi input debug: </list ' IVA'>
[00000125] avi input debug: * TSIL-toor size:239781016 pos:0
[00000125] avi input debug:      + FFIR- IVA size:239781008 pos:0
[00000125] avi input debug:      |    + TSIL-lrdh size:294 pos:12
[00000125] avi input debug:      |    |    + hiva size:56 pos:24
[00000125] avi input debug:      |    |    + TSIL-lrts size:116 pos:88
[00000125] avi input debug:      |    |    |    + hrts size:56 pos:100
[00000125] avi input debug:      |    |    |    + frts size:40 pos:164
[00000125] avi input debug:      |    |    + TSIL-lrts size:94 pos:212
[00000125] avi input debug:      |    |    |    + hrts size:56 pos:224
[00000125] avi input debug:      |    |    |    + frts size:18 pos:288
[00000125] avi input debug:      |    + TSIL-ivom size:238918734 pos:314
[00000125] avi input debug:      |    + 1xdi size:861952 pos:238919056
[00000125] avi input debug: AVIH: 2 stream, flags  HAS_INDEX 
IS_INTERLEAVED TRUST_CKTYPE
[00000125] avi input debug: stream[0] video(DIVX) 640x480 24bpp 25.000002fps
[00000125] avi input debug: stream[1] audio(0x2000) 1 channels 48000Hz 16bits
[00000126] main private debug: looking for subtitle demux module
[00000126] main private debug: probing 1 candidate
[00000038] main module debug: using subtitle demux module "demuxsub"
[00000125] avi input error: failed to start subtitle demux
[00000038] main module debug: unlocking module "demuxsub"
[00000125] avi input debug: stream[0] creating 43512 index entries
[00000125] avi input debug: stream[1] creating 10360 index entries
[00000125] avi input debug: stream[0] length:1740 (based on index)
[00000125] avi input debug: stream[1] length:1740 (based on index)
[00000125] main input debug: selecting ES 0x1
[00000127] main decoder debug: looking for decoder module
[00000127] main decoder debug: probing 12 candidates
[00000008] main module debug: using decoder module "ffmpeg"
[00000127] main decoder debug: thread 36883664 (decoder) created at 
priority 31 (src/input/input_dec.c:113)
[00000125] avi input debug: old:0 < new 0
[00000125] main input debug: selecting ES 0x2
[00000128] main decoder debug: looking for decoder module
[00000128] main decoder debug: probing 12 candidates
[00000014] main module debug: using decoder module "a52"
[00000128] main decoder debug: thread 34688176 (decoder) created at 
priority 38 (src/input/input_dec.c:113)
[00000127] ffmpeg decoder debug: libavcodec initialized (interface 4646)
[00000124] macosx interface debug: stream has changed, refreshing interface
[00000127] ffmpeg decoder debug: ffmpeg codec (MPEG-4) started
[00000032] main module debug: using demux module "avi"
[00000128] main decoder debug: no aout present, spawning one
[00000129] main audio output debug: looking for audio output module
[00000129] main audio output debug: probing 4 candidates
[00000124] macosx interface debug: looking for:   lpcm - 2 chans, 48000 Hz
[00000124] macosx interface debug: actual:   lpcm - 2 chans, 44100 
Hz, 16 bits/sample, 4 bytes/frame
[00000124] macosx interface debug: Only got a format with lower sample rate
[00000124] macosx interface debug: size 40, writable 1
[00000124] macosx interface debug: want to set: mSampleRate 44100, 
mFormatID lpcm, mFormatFlags 30, mBytesPerPacket 4, mFramesPerPacket 
1, mBytesPerFrame 4, mChannelsPerFrame 2, mBitsPerChannel 16
[00000129] macosx audio output debug: device returned: 10
[00000129] macosx audio output debug: mSampleRate 44100, mFormatID 
lpcm, mFormatFlags 11, mBytesPerPacket 8, mFramesPerPacket 1, 
mBytesPerFrame 8, mChannelsPerFrame 2, mBitsPerChannel 32
[00000129] macosx audio output debug: vlc format a52 , mac output format 'lpcm'
[00000129] macosx audio output debug: native buffer Size: 4096
[00000129] macosx audio output debug: bufferFrameSize set to 512
[00000013] main module debug: using audio output module "macosx"
[00000129] main audio output debug: output format='fl32' rate=44100 
channels=Stereo/Left
[00000129] main audio output debug: mixer format='fl32' rate=44100 
channels=Stereo/Left
[00000129] main audio output debug: no need for any filter
[00000129] main audio output debug: looking for audio mixer module
[00000129] main audio output debug: probing 3 candidates
[00000111] main module debug: using audio mixer module "trivial_mixer"
[00000129] main audio output debug: looking for audio mixer module
[00000129] main audio output debug: probing 3 candidates
[00000111] main module debug: using audio mixer module "trivial_mixer"
[00000129] main audio output debug: input format='a52 ' rate=48000 
channels=Mono
[00000129] main audio output debug: filter(s) format='a52 '->'fl32' 
rate=48000->48000 channels=Mono->Stereo/Left
[00000130] main private debug: looking for audio filter module
[00000130] main private debug: probing 17 candidates
No accelerated IMDCT transform found
[00000009] main module debug: using audio filter module "a52tofloat32"
[00000129] main audio output debug: found a filter for the whole conversion
[00000129] main audio output debug: filter(s) format='fl32'->'fl32' 
rate=52800->44100 channels=Stereo/Left->Stereo/Left
[00000131] main private debug: looking for audio filter module
[00000131] main private debug: probing 17 candidates
[00000078] main module debug: using audio filter module "linear_resampler"
[00000129] main audio output debug: found a filter for the whole conversion
OBMC not supported (very likely buggy encoder)
Static Sprites not supported
Marker bit missing before time_increment
Error, header damaged or not MPEG4 header (qscale=0)
OBMC not supported (very likely buggy encoder)
Static Sp[00000130] a52tofloat32 private error: liba52 couldn't do 
the requested downmix 0x8->0x1
rites not supported
Marker bit missing before time_increment
Error, header damaged or not MPEG4 header (qscale=0)
header damaged
[00000124] macosx interface debug: stream has changed, refreshing interface
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000127] ffmpeg decoder warning: cannot decode one frame (8121 bytes)
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (2958 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (697 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (571 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (5000 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (1044 bytes)
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (627 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (4659 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (851 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (549 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (2767 bytes)
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (561 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (507 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (5300 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (1408 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (797 bytes)
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000129] main audio output warning: buffer is 24001 in advance, 
triggering downsampling
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (4477 bytes)
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (1185 bytes)
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
header damaged
[00000127] ffmpeg decoder warning: cannot decode one frame (1174 bytes)
OBMC not supported (very likely buggy encoder)
Static Sprites not supported
Marker bit missing before time_increment
Error at MB: 7
concealing errors
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000129] main audio output warning: resampling stopped after 402337 usec
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000130] a52tofloat32 private error: liba52 couldn't do the 
requested downmix 0x8->0x1
[00000129] main audio output debug: audio output is too slow 
(792584), trashing 11610us
[00000129] main audio output debug: audio output is too slow 
(781338), trashing 11610us
[00000129] main audio output debug: audio output is too slow 
(769786), trashing 11610us
[00000129] main audio output debug: audio output is too slow 
(758212), trashing 11610us
[00000129] main audio output debug: audio output is too slow 
(746641), trashing 11610us
[00000129] main audio output debug: audio output is too slow 
(735076), trashing 11610us
[00000129] main audio output debug: audio output is too slow 
(723501), trashing 11610us

-- 
Christophe Massiot.
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list