[vlc-devel] [PATCH] TS demux: get time and length

Naohiro KORIYAMA nkoriyama at gmail.com
Fri Sep 30 04:34:19 CEST 2011


Thank you for your feedback.

2011/9/30 Janne Kujanpää <jikuja at iki.fi>:
> ***Edited files***:
> Always wrong length and time. Should this be documented into help text or
> NEWS-file?

Duration and position are calculated from PCR.
So "wrong" time will be reported for edited files which are not
regenerated PCR/PTS/DTS.
If you regenerate PCR/PTS/DTS for these file, "correct" time will be reported.

> "--access=vdr --ts-seek-percent"
> (1)
> Seekbar no more jumpy. Seeking with seekbar OK.
> "--access=file --ts-seek-percent"
> Seekbar no more jumpy. Seeking OK
> "--access=vdr"
> (1), (2)
> "--access=file"
> (2)
> (1) bug with vanilla 1.2 too: no prev chapter. Prevs only into nearest
> does it change seek method after first fail?

If Seek method failed once, seek-per-percent will be used for the next time.

I changed the Seek method. Initial search range is determined from PCR table.
PCR table has 10 PCR which are fetched from every 10% byte based point.
PCR table is used for the Seek method and AdjustPCRWrapAround method.

Best regards,

nkoriyama at gmail.com

More information about the vlc-devel mailing list