[MPlayer-dev-eng] FLV seeking regression when cache enabled (bisected)
Anssi Hannula
anssi.hannula at iki.fi
Sun Jan 15 11:39:14 CET 2012
Hi!
I noticed that seeking no longer properly worked for me in FLV files,
resulting in random demuxing or decoding errors and playback being
stopped (most of the time).
Automatic bisection pointed to r34461 by Reimar as the culprit:
>>>>>
Flush cache and sync stream position/eof after seeking STREAM_CTRLs.
This avoid some strange differences in behaviour between -cache and
-nocache.
<<<<<
After seeing the commit msg I dropped the use of cache, and seeking
seems to work fine again. Alternatively, reverting the above commit
makes seeking work fine again (even with cache).
Example error:
> Starting playback...
> Unsupported PixelFormat 61
> Unsupported PixelFormat 53
> Unsupported PixelFormat 81
> Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
> VO: [xv] 638x360 => 638x360 Planar YV12 [zoom]
> A: 2.2 V: 2.2 A-V: -0.000 ct: 0.042 0/ 0 8% 1% 0.3% 0 0 84%
-- here I hit right key to seek forward
> [flv @ 0xd3b220]Unsupported video codec (c)
> [flv @ 0xd3b220]negative cts, previous timestamps might be wrong
> [flv @ 0xd3b220]negative cts, previous timestamps might be wrong
> Truncating packet of size 6936416 to 380526
> A: 13.4 V: 13.4 A-V: 0.023 ct: 0.006 0/ 0 ??% ??% ??,?% 0 0 0%
> [h264 @ 0xdb5960]error while decoding MB 30 10, bytestream (-3)
> [h264 @ 0xdb5960]concealing 539 DC, 539 AC, 539 MV errors
> A: 13.4 V: 13.4 A-V: -0.019 ct: 0.004 0/ 0 ??% ??% ??,?% 0 0 0%
> [h264 @ 0xdb5960]AVC: nal size 344331781
> [h264 @ 0xdb5960]no frame!
> Error while decoding frame!
> [h264 @ 0xdb5960]AVC: nal size 835711728
> [h264 @ 0xdb5960]no frame!
> Error while decoding frame!
> A: 13.4 V: 13.4 A-V: -0.019 ct: 0.003 0/ 0 ??% ??% ??,?% 0 0 0%
>
>
> Exiting... (End of file)
Another example:
> Starting playback...
> Unsupported PixelFormat 61
> Unsupported PixelFormat 53
> Unsupported PixelFormat 81
> Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
> VO: [xv] 638x360 => 638x360 Planar YV12 [zoom]
> A: 11.3 V: 11.4 A-V: -0.090 ct: -0.005 0/ 0 ??% ??% ??,?% 0 0 100%
-- seeking
> Truncating packet of size 13590303 to 496003
> [aac @ 0xdb5960]channel element 2.14 is not allocated
> A:-226577.3 V: 11.5 A-V:-226588.828 ct: -0.021 0/ 0 ??% ??% ??,?% 0 0 0%
> [h264 @ 0xdb5960]error while decoding MB 28 10, bytestream (-10)
> [h264 @ 0xdb5960]concealing 541 DC, 541 AC, 541 MV errors
> A:-226577.3 V: 11.6 A-V:-226588.875 ct: -0.030 0/ 0 ??% ??% ??,?% 0 0 0%
>
>
> Exiting... (End of file)
Feel free to ask me for more information if needed.
--
Anssi Hannula
More information about the MPlayer-dev-eng
mailing list