[Ffmpeg-devel] [BUG] Errors while decoding asf files

Patrice Bensoussan patrice.bensoussan
Sun Mar 18 19:06:37 CET 2007


Hello,

I have several asf files which ffmpeg cannot decode, although they  
play fine with mplayer and vlc. I have uploaded a file showing the  
problem in /MPlayer/incoming/bugasf08032007.

Here is the output of ffmpeg:

 > ./ffmpeg -i ~/Desktop/IMAG0002.ASF ~/Desktop/test.mp4
FFmpeg version SVN-r8439, Copyright (c) 2000-2007 Fabrice Bellard, et  
al.
   configuration: --disable-opts --cc=gcc-3.3 --disable-network -- 
disable-vhook --enable-libmp3lame --enable-libfaac --disable- 
decoder=cook --extra-ldflags=-L/Users/patriceb/tmp/WMA/opt/lib -- 
extra-cflags=-O0 -I/Users/patriceb/tmp/WMA/opt/include --enable-gpl -- 
enable-x264 --enable-liba52 --enable-libfaad
   libavutil version: 49.3.0
   libavcodec version: 51.39.0
   libavformat version: 51.11.0
   built on Mar 18 2007 17:55:38, gcc: 3.3 20030304 (Apple Computer,  
Inc. build 1819)
[asf @ 0x5b51cc]ff asf bad header 11  at:16387
[asf @ 0x5b51cc]invalid padsize -2063597568 at:16395
[asf @ 0x5b51cc]ff asf bad header 2a  at:16409
[asf @ 0x5b51cc]ff asf skip 16374 (unknown stream)
[asf @ 0x5b51cc]ff asf bad header 38  at:32815
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header c  at:49263
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header b3  at:65781
[asf @ 0x5b51cc]invalid padsize -1038258285 at:65789
[asf @ 0x5b51cc]ff asf bad header 9a  at:82407
[asf @ 0x5b51cc]invalid packet_length 694946001 at:82413
[asf @ 0x5b51cc]ff asf bad header 28  at:99271
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header d8  at:164131
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header 56  at:189961
[asf @ 0x5b51cc]invalid padsize -1584771385 at:189965
[asf @ 0x5b51cc]ff asf bad header ba  at:225201
[asf @ 0x5b51cc]ff asf bad header e3  at:253791
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header dc  at:278219
[asf @ 0x5b51cc]invalid padsize 7619 at:278222
[asf @ 0x5b51cc]ff asf bad header b0  at:310663
[asf @ 0x5b51cc]invalid padsize 462469657 at:310673
[asf @ 0x5b51cc]ff asf bad header 0  at:342797
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header 41  at:374317
[asf @ 0x5b51cc]invalid packet_length -1018368104 at:374329
[asf @ 0x5b51cc]ff asf bad header de  at:404571
[asf @ 0x5b51cc]invalid packet_length 1165902712 at:404576
[asf @ 0x5b51cc]ff asf bad header 68  at:432297
[asf @ 0x5b51cc]invalid packet_length -1593536689 at:432305
[asf @ 0x5b51cc]ff asf bad header b9  at:454987
[asf @ 0x5b51cc]packet_obj_size invalid
[asf @ 0x5b51cc]ff asf bad header 19  at:484009
[asf @ 0x5b51cc]invalid packet_length -1851367480 at:484017
[asf @ 0x5b51cc]ff asf bad header a  at:509261
[asf @ 0x5b51cc]invalid packet_length -672959318 at:509269
[asf @ 0x5b51cc]ff asf bad header 19  at:526997
[asf @ 0x5b51cc]invalid packet_length -1932394468 at:527004
[asf @ 0x5b51cc]ff asf bad header f0  at:546083
[asf @ 0x5b51cc]invalid padsize 1946566210 at:546093
[asf @ 0x5b51cc]ff asf bad header f8  at:567877
[asf @ 0x5b51cc]invalid padsize -1618876115 at:567884
[asf @ 0x5b51cc]ff asf skip 16372 (unknown stream)
[asf @ 0x5b51cc]ff asf bad header df  at:621105
[asf @ 0x5b51cc]ff asf skip 16216 (unknown stream)
[asf @ 0x5b51cc]ff asf bad header 0  at:652383
[asf @ 0x5b51cc]ff asf skip 16374 (unknown stream)
[asf @ 0x5b51cc]Could not find codec parameters (Video: mpeg4, 352x288)
Input #0, asf, from '/Users/patriceb/Desktop/IMAG0002.ASF':
   Duration: 00:00:05.5, start: 0.000000, bitrate: 949 kb/s
   Stream #0.0: Audio: adpcm_ima_wav, 24000 Hz, mono, 96 kb/s
   Stream #0.1: Video: mpeg4, 352x288, 1000.00 fps(r)
Output #0, mp4, to '/Users/patriceb/Desktop/test.mp4':
   Stream #0.0: Video: mpeg4, yuv420p, 352x288, q=2-31, 200 kb/s,  
1000.00 fps(c)
   Stream #0.1: Audio: aac, 24000 Hz, mono, 64 kb/s
Stream mapping:
   Stream #0.1 -> #0.0
   Stream #0.0 -> #0.1
Press [q] to stop encoding
frame=    0 fps=  0 q=0.0 Lsize=       0kB time=10000000000.0  
bitrate=   0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead 240.425532%





More information about the ffmpeg-devel mailing list