[MPlayer-dev-eng] Absolute Time in DVD

Attila Kinali kinali at gmx.net
Mon Aug 25 18:36:27 CEST 2003

On Fri, 18 Jul 2003 00:09:01 -0700
Michael Halcrow <mhalcrow at cs.byu.edu> wrote:

> sh_video->pts resets at the start of every chapter.  This kind of
> breaks EDL with DVD's.  Some ways around this can include:
>  - Make EDL records store both chapter and chapter offset values
>  - Find (or make) an absolute timer in mplayer (one that counts time
>    from the start of the first chapter of the DVD rather than from the
>    start of each individual chapter); I'll have to look for one this
>    weekend, unless one of you kind souls will point one out to me :-)
>  - Record EDL timestamps based on frame number rather than pts
> Oh, and there's this:
> timestamp = 90000*(sh_video->timer + d_dvdsub->pts + sub_delay -
> sh_video->pts);
> Recommendations?

Any comments on this ?

			Attila Kinali

Chu beyond the blackest chu, Deeper then the deepest pika, King of pikachu who 
shines like gold on the sea of electric. I call upon thee, swear myself to thee,
Let the fools who stand before me be destroyed by the power you and I possess...
PIKASLAVE!!!               -- http://bash.org/?23393

More information about the MPlayer-dev-eng mailing list