[Ffmpeg-devel] [BUG] Cannot open WMA file (working with mplayer and vlc)

Patrice Bensoussan patrice.bensoussan
Thu Jan 18 01:13:59 CET 2007


Hi,

I have two WMA files which cannot be opened by ffmpeg, although they  
do play fine with mplayer and vlc. From what I can see with the  
debugger, the test on gsize < 24 in asf.c line 171 fails for both  
files because gsize is 0. Here is the output I get with traces  
enabled (size = 0 and GUID = 0). The weird thing is that both files  
play fine with mplayer and vlc. Any idea what could be wrong here?

Thanks.
Patrice

First file:

   libavutil version: 49.1.0
   libavcodec version: 51.28.0
   libavformat version: 51.7.0
   built on Jan 17 2007 22:37:34, gcc: 3.3 20030304 (Apple Computer,  
Inc. build 1819)
0000001e: (GUID: comment_header) 0x75b22633, 0x668e, 0x11cf, { 0xa6,  
0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c,}
   size=0xc6
000000e4: (GUID: file_header) 0x8cabdca1, 0xa947, 0x11cf, { 0x8e,  
0xe4, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65,}
   size=0x68
0000014c: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x454
000005a0: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x9f
0000063f: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x190
000007cf: (GUID: head1_guid) 0x5fbf03b5, 0xa92e, 0x11cf, { 0x8e,  
0xe3, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65,}
   size=0x463
000007fd: (GUID: unknown) 0x26f18b5d, 0x4584, 0x47ec, { 0x9f, 0x5f,  
0x0e, 0x65, 0x1f, 0x04, 0x52, 0xc9,}
   size=0x1a
00000817: (GUID: unknown) 0xc5f8cbea, 0x5baf, 0x4877, { 0x84, 0x67,  
0xaa, 0x8c, 0x44, 0xfa, 0x4c, 0xca,}
   size=0xfc
00000913: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x1f3
00000b06: (GUID: ext_stream_header) 0x14e6a5cb, 0xc672, 0x4332,  
{ 0x83, 0x99, 0xa9, 0x69, 0x52, 0x06, 0x5b, 0x5a,}
   size=0x58
00000b5e: (GUID: unknown) 0xd9aade20, 0x7c17, 0x4f9c, { 0xbc, 0x28,  
0x85, 0x55, 0xdd, 0x98, 0xe2, 0xa2,}
   size=0x22
00000b80: (GUID: unknown) 0x44231c94, 0x9498, 0x49d1, { 0xa1, 0x41,  
0x1d, 0x13, 0x4e, 0x45, 0x70, 0x54,}
   size=0xb2
00000c32: (GUID: extended_content_header) 0xd2d0a440, 0xe307, 0x11d2,  
{ 0x97, 0xf0, 0x00, 0xa0, 0xc9, 0x5e, 0xa8, 0x50,}
   size=0x23e9
00003db6: (GUID: my_guid) 0x00000000, 0x0000, 0x0000, { 0x00, 0x00,  
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,}
   size=0x0
/Users/patriceb/Desktop/buggsize0.wma: Error while opening file

Second file:

   libavutil version: 49.1.0
   libavcodec version: 51.28.0
   libavformat version: 51.7.0
   built on Jan 17 2007 22:37:34, gcc: 3.3 20030304 (Apple Computer,  
Inc. build 1819)
0000001e: (GUID: file_header) 0x8cabdca1, 0xa947, 0x11cf, { 0x8e,  
0xe4, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65,}
   size=0x68
00000086: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x57e
00000604: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x90
00000694: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x190
00000824: (GUID: head1_guid) 0x5fbf03b5, 0xa92e, 0x11cf, { 0x8e,  
0xe3, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65,}
   size=0x1ffa4
00000852: (GUID: unknown) 0x26f18b5d, 0x4584, 0x47ec, { 0x9f, 0x5f,  
0x0e, 0x65, 0x1f, 0x04, 0x52, 0xc9,}
   size=0x1a
0000086c: (GUID: unknown) 0xc5f8cbea, 0x5baf, 0x4877, { 0x84, 0x67,  
0xaa, 0x8c, 0x44, 0xfa, 0x4c, 0xca,}
   size=0xfc
00000968: (GUID: unknown) 0x1806d474, 0xcadf, 0x4509, { 0xa4, 0xba,  
0x9a, 0xab, 0xcb, 0x96, 0xaa, 0xe8,}
   size=0x1000
00001968: (GUID: ext_stream_header) 0x14e6a5cb, 0xc672, 0x4332,  
{ 0x83, 0x99, 0xa9, 0x69, 0x52, 0x06, 0x5b, 0x5a,}
   size=0x58
000019c0: (GUID: unknown) 0xd9aade20, 0x7c17, 0x4f9c, { 0xbc, 0x28,  
0x85, 0x55, 0xdd, 0x98, 0xe2, 0xa2,}
   size=0x22
000019e2: (GUID: unknown) 0x44231c94, 0x9498, 0x49d1, { 0xa1, 0x41,  
0x1d, 0x13, 0x4e, 0x45, 0x70, 0x54,}
   size=0x1ede6
000207c8: (GUID: extended_content_header) 0xd2d0a440, 0xe307, 0x11d2,  
{ 0x97, 0xf0, 0x00, 0xa0, 0xc9, 0x5e, 0xa8, 0x50,}
   size=0x4537
00044a62: (GUID: unknown) 0x4b1c4149, 0x9a54, 0xd302, { 0xf6, 0x22,  
0x4d, 0x52, 0x20, 0x84, 0x02, 0x24,}
   size=0x44aaa46542c35935
44aaa46542c7a37f: (GUID: my_guid) 0x00000000, 0x0000, 0x0000, { 0x00,  
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,}
   size=0x0
/Users/patriceb/Desktop/buggsize1.wma: Error while opening file





More information about the ffmpeg-devel mailing list