[MPlayer-dev-eng] [PATCH] Get Demuxer Time for Proper DVD Time
Alexander Roalter
alex at roalter.it
Wed Aug 4 17:39:09 CEST 2010
On 04.08.2010 15:24, Nico Sabbi wrote:
> Paul Huwe ha scritto:
>> Hello,
>>
>> I've created a small tweak to add a slave command "get_demux_time_pos" to return the present demuxer time as a float (out to 3 digits, aka millisecond accuracy). I was inspired to create this because "get_time_pos" gets reset to zero during the course of playing a DVD and I need the proper DVD time throughout (to sub-second accuracy). Searching on google showed numerous posts where others have a need for a timer that does not reset.
>>
>>
>>
>
> the demuxer will report the PTS present in the mpeg stream, that is
> subject to be reset quite often (possibly even at
> every cell entry point) and in many cases it does.
> In the case of DVDs the stream layer reports the correct timestamp, even
> though at most with
> 0.5 seconds of accuracy. It's already used to indicate the current time
> in the OSD
Since when is this change (OSD shows correct position) active? I didn't
pay much attention watching movies lately, but previously at least it
appeared as the PTS reset often occured during the layer break. I hope
this information is outdated
--
cheers,
Alex
More information about the MPlayer-dev-eng
mailing list