[Ffmpeg-devel] ogg demuxer
matthieu castet
castet.matthieu
Mon Sep 26 20:55:01 CEST 2005
Hi,
ogg demuxer don't seem to work when seeking with theora file.
It seem on some case it send garbage to the decoder.
How to produce :
$~/appli/matroska/ffmpeg/ffplay
"http://free-electrons.com/pub/video/lsm2005-papa-malick-sarr-toolchainbuild.ogg"
[theora @ 0x8314fa8]Theora bitstream version 3.2.0
[theora @ 0x8314fa8]Theora bitstream version 3.2.0
<- try to seek (sometimes works, sometimes produces garbage and these
errors. ->
[...]
[theora @ 0x8314fa8]Unknown Theora config packet: 108
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 15
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 71
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 47
[theora @ 0x8314fa8]Unknown Theora config packet: 79
[theora @ 0x8314fa8]Unknown Theora config packet: 108
[theora @ 0x8314fa8]Unknown Theora config packet: 84
unsupported nbms : 207
error...
[theora @ 0x8314fa8]Unknown Theora config packet: 68
[theora @ 0x8314fa8]Unknown Theora config packet: 50
[theora @ 0x8314fa8]Unknown Theora config packet: 19
[theora @ 0x8314fa8]Unknown Theora config packet: 9
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 13
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 29
[theora @ 0x8314fa8]Unknown Theora config packet: 115
[theora @ 0x8314fa8]Unknown Theora config packet: 94
[theora @ 0x8314fa8]Unknown Theora config packet: 15
[theora @ 0x8314fa8]Unknown Theora config packet: 81
[theora @ 0x8314fa8]Unknown Theora config packet: 51
[theora @ 0x8314fa8]Unknown Theora config packet: 96
[theora @ 0x8314fa8]Unknown Theora config packet: 92
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 108
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 79
[theora @ 0x8314fa8]Unknown Theora config packet: 18
[theora @ 0x8314fa8]Unknown Theora config packet: 117
[theora @ 0x8314fa8]Unknown Theora config packet: 30
[theora @ 0x8314fa8]Unknown Theora config packet: 59
[theora @ 0x8314fa8]Unknown Theora config packet: 20
[theora @ 0x8314fa8]Unknown Theora config packet: 8
[theora @ 0x8314fa8]Unknown Theora config packet: 38
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 24
[theora @ 0x8314fa8]Unknown Theora config packet: 111
[theora @ 0x8314fa8]Unknown Theora config packet: 60
[theora @ 0x8314fa8]Unknown Theora config packet: 81
[theora @ 0x8314fa8]Unknown Theora config packet: 110
[theora @ 0x8314fa8]Unknown Theora config packet: 20
[theora @ 0x8314fa8]Unknown Theora config packet: 57
[theora @ 0x8314fa8]Unknown Theora config packet: 78
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 10
[theora @ 0x8314fa8]Unknown Theora config packet: 72
[theora @ 0x8314fa8]Unknown Theora config packet: 103
[theora @ 0x8314fa8]Unknown Theora config packet: 104
[theora @ 0x8314fa8]Unknown Theora config packet: 113
[theora @ 0x8314fa8]Unknown Theora config packet: 77
[theora @ 0x8314fa8]Unknown Theora config packet: 15
[theora @ 0x8314fa8]Unknown Theora config packet: 7
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 81
[theora @ 0x8314fa8]Unknown Theora config packet: 41
[theora @ 0x8314fa8]Unknown Theora config packet: 123
[theora @ 0x8314fa8]Unknown Theora config packet: 107
[theora @ 0x8314fa8]Unknown Theora config packet: 110
[theora @ 0x8314fa8]Unknown Theora config packet: 72
[theora @ 0x8314fa8]Unknown Theora config packet: 108
[theora @ 0x8314fa8]Unknown Theora config packet: 24
[theora @ 0x8314fa8]Unknown Theora config packet: 110
[theora @ 0x8314fa8]Unknown Theora config packet: 88
[theora @ 0x8314fa8]Unknown Theora config packet: 7
[theora @ 0x8314fa8]Unknown Theora config packet: 48
[theora @ 0x8314fa8]Warning, unsupported keyframe coding type?!
[theora @ 0x8314fa8]Unknown Theora config packet: 92
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1244341328 (LWP 16318)]
0x080a51c0 in get_bits_long (s=0xb5d4cfe0, n=32) at bitstream.h:367
warning: Source file is more recent than executable.
367 {
(gdb) bt
#0 0x080a51c0 in get_bits_long (s=0xb5d4cfe0, n=32) at bitstream.h:367
#1 0x082342d9 in theora_decode_comments (avctx=Variable "avctx" is not
available.
) at vp3.c:2715
#2 0x082375e6 in vp3_decode_frame (avctx=0x83a3cb0, data=0x8393d80,
data_size=0x175ad18,
buf=0x8539760 "\201??????\r?u??l\236?C4\201/?????z\236?\035???",
buf_size=3707) at vp3.c:2417
#3 0x080a6915 in avcodec_decode_video (avctx=0x83a3cb0, picture=0x8393d80,
got_picture_ptr=0xb5d4d3f4,
buf=0x8539760 "\201??????\r?u??l\236?C4\201/?????z\236?\035???",
buf_size=3707) at utils.c:771
#4 0x08057905 in video_thread (arg=0xb7278020) at ffplay.c:1283
#5 0xb7ea7587 in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#6 0xb7ea78bc in SDL_KillThread () from /usr/lib/libSDL-1.2.so.0
#7 0xb7e3ee40 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb7dd260e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x80a51a0 to 0x80a51e0:
0x080a51a0 <get_bits_long+48>: or $0x89,%al
0x080a51a2 <get_bits_long+50>: push %ebx
0x080a51a3 <get_bits_long+51>: or %cl,0x5bd089c2(%ecx)
0x080a51a9 <get_bits_long+57>: pop %esi
0x080a51aa <get_bits_long+58>: pop %edi
0x080a51ab <get_bits_long+59>: pop %ebp
0x080a51ac <get_bits_long+60>: ret
0x080a51ad <get_bits_long+61>: lea 0x0(%esi),%esi
0x080a51b0 <get_bits_long+64>: mov 0x8(%ebp),%eax
0x080a51b3 <get_bits_long+67>: mov 0x8(%eax),%ebx
0x080a51b6 <get_bits_long+70>: mov %ebx,%eax
0x080a51b8 <get_bits_long+72>: sar $0x3,%eax
0x080a51bb <get_bits_long+75>: mov 0x8(%ebp),%edx
0x080a51be <get_bits_long+78>: mov (%edx),%edi
0x080a51c0 <get_bits_long+80>: mov (%edi,%eax,1),%eax
0x080a51c3 <get_bits_long+83>: bswap %eax
0x080a51c5 <get_bits_long+85>: mov %ebx,%ecx
0x080a51c7 <get_bits_long+87>: and $0x7,%ecx
0x080a51ca <get_bits_long+90>: shl %cl,%eax
0x080a51cc <get_bits_long+92>: shr $0xf0,%eax
0x080a51cf <get_bits_long+95>: add $0x10,%ebx
0x080a51d2 <get_bits_long+98>: mov %ebx,0x8(%edx)
---Type <return> to continue, or q <return> to quit---
0x080a51d5 <get_bits_long+101>: mov 0xc(%ebp),%esi
0x080a51d8 <get_bits_long+104>: sub $0x10,%esi
0x080a51db <get_bits_long+107>: mov %ebx,%edx
0x080a51dd <get_bits_long+109>: sar $0x3,%edx
End of assembler dump.
(gdb) info all-registers
eax 0x175ad18 24489240
ecx 0xc175ad0d -1049252595
edx 0xb5d4cfe0 -1244344352
ebx 0xbad68c0 195913920
esp 0xb5d4cfac 0xb5d4cfac
ebp 0xb5d4cfb8 0xb5d4cfb8
esi 0xb5d4d2f0 -1244343568
edi 0x8539760 139695968
eip 0x80a51c0 0x80a51c0
eflags 0x10216 66070
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st1 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st2 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st3 -nan(0x80008000800080) (raw 0xffff0080008000800080)
st4 -nan(0x80008000800080) (raw 0xffff0080008000800080)
st5 -nan(0x80008000800080) (raw 0xffff0080008000800080)
st6 138520000 (raw 0x401a841a5c0000000000)
---Type <return> to continue, or q <return> to quit---
st7 138.52000000000000000388578058618805 (raw
0x40068a851eb851eb851f)
fctrl 0x37f 895
fstat 0x220 544
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
---Type <return> to continue, or q <return> to quit---
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
mxcsr 0x1f80 8064
mm0 {uint64 = 0x8080808080808080, v2_int32 = {0x80808080,
0x80808080},
v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80, 0x80,
0x80, 0x80,
0x80, 0x80, 0x80, 0x80}}
---Type <return> to continue, or q <return> to quit---
mm1 {uint64 = 0x8080808080808080, v2_int32 = {0x80808080,
0x80808080},
v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80, 0x80,
0x80, 0x80,
0x80, 0x80, 0x80, 0x80}}
mm2 {uint64 = 0x8080808080808080, v2_int32 = {0x80808080,
0x80808080},
v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80, 0x80,
0x80, 0x80,
0x80, 0x80, 0x80, 0x80}}
mm3 {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080},
v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0,
0x80,
0x0, 0x80, 0x0}}
mm4 {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080},
v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0,
0x80,
0x0, 0x80, 0x0}}
mm5 {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080},
v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0,
0x80,
0x0, 0x80, 0x0}}
mm6 {uint64 = 0x841a5c0000000000, v2_int32 = {0x0, 0x841a5c00},
v4_int16 = {0x0, 0x0, 0x5c00, 0x841a}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
0x0,
0x5c, 0x1a, 0x84}}
mm7 {uint64 = 0x8a851eb851eb851f, v2_int32 = {0x51eb851f,
0x8a851eb8},
v4_int16 = {0x851f, 0x51eb, 0x1eb8, 0x8a85}, v8_int8 = {0x1f, 0x85,
0xeb, 0x51,
0xb8, 0x1e, 0x85, 0x8a}}
More information about the ffmpeg-devel
mailing list