[vlc-devel] [PATCH] ts: fix applying pcr offset in PCRCheckDTS()

Francois Cartegnie fcvlcdev at free.fr
Wed Mar 9 16:02:21 CET 2016


Le 09/03/2016 11:49, Petri Hintukainen a écrit :
> VLC doesn't seem to show the still frame (except with bluray input that
> adds end of sequence code), but ffplay shows the still image.
> 
> With vlc the image can be seen in 00399_2x.m2ts (it is just the same
> file concatenated 2x). Maybe the problem with this stand-alone file in
> VLC is that the stream ends too quickly (vout is closed). bluray module
> keeps stream open until user actions trigger closing of it. Or maybe
> mpeg2 decoder is just too dumb to emit the frame without additional
> input ... I think H.264 frames used to get thru immediately.

That issue is due to packetizer, which also behaves the same way
throwing data directly to it, which waits next frame startcode to output
current one... PCR doesn't wait, frame is skipped. Only 2nd frame goes out.

Francois



More information about the vlc-devel mailing list