[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]
Re: [MPlayer-users] OSD problems with DVDs
|
To: |
"MPlayer usage questions, feature requests, bug reports" <mplayer-users@xxxxxxxxxxxx> |
|
Subject: |
Re: [MPlayer-users] OSD problems with DVDs |
|
From: |
Davide Capodaglio <davidecapod@xxxxxxxxx> |
|
Date: |
Thu, 23 Feb 2006 23:16:28 +0100 |
|
Delivered-to: |
itdp@localhost |
|
Delivered-to: |
mplayer-users@mplayerhq.hu |
|
In-reply-to: |
<200601192350.29409.davidecapod@inwind.it> |
|
References: |
<200601182317.33681.davidecapod@inwind.it><43CEC916.20800@fastwebnet.it><200601192350.29409.davidecapod@inwind.it> |
|
User-agent: |
KMail/1.8.2 |
Alle 23:50, giovedì 19 gennaio 2006, Davide Capodaglio ha scritto:
> Alle 00:02, giovedì 19 gennaio 2006, Nico Sabbi ha scritto:
> > Davide Capodaglio wrote:
> > >Hi everybody, these are the problems I have with DVDs and OSD:
> > >
> > >- sometimes the total time is lower than real time, for all the film
> > > length - sometimes the total time is lower than real time, but at a
> > > certain point of the film it becomes the correct time
> > >- sometimes the current time at a certain point goes back to 0: e.g.
> > >00:00-31:00, then resets to 00:00, then 00:00-28:32, reset to 00:00,
> > > etc. (VOB boundary??).
> >
> > no: crazy authoring techniques seconded by a foolish standard (mpeg)
> >
> > >(For this I produced a patch, and now the current time follow the total
> > > time, but if this is wrong I'm stuck again)
> >
> > where?
>
> Here's the patch, it's against MPlayer 1.0-pre7try2, but as I said it does
> not work at all; it's based on the idea that the percentage when seeking
> seems correct (at least aligned with the total time).
>
> So, is this a problem known to developers?
I finally succeded in calculating both the current and total time !!!
It calculates the total time in libmpdemux/open.c,open_stream() using
dvd_playback_time = dvdtime2sec(&d->cur_pgc->playback_time);
and the current time using
pts = dvd_playback_time * (demuxer->filepos - demuxer->movi_start) /
(demuxer->movi_end - demuxer->movi_start);
Here's the patch for 1.0-pre7try2, it works perfectly for me.
Any comment/feedback is appreciated...
Bye
Davide
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users
- Re: [MPlayer-users] OSD problems with DVDs,
Davide Capodaglio <=
- Re: [MPlayer-users] OSD problems with DVDs, Davide Capodaglio, 2006/02/23
- Re: [MPlayer-users] OSD problems with DVDs, Nico Sabbi, 2006/02/23
- Re: [MPlayer-users] OSD problems with DVDs, Davide Capodaglio, 2006/02/24
- Re: [MPlayer-users] OSD problems with DVDs, Nico Sabbi, 2006/02/25
- Re: [MPlayer-users] OSD problems with DVDs, Nico Sabbi, 2006/02/26
- Re: [MPlayer-users] OSD problems with DVDs, Davide Capodaglio, 2006/02/26
- Re: [MPlayer-users] OSD problems with DVDs, Nico Sabbi, 2006/02/26
- Re: [MPlayer-users] OSD problems with DVDs, Davide Capodaglio, 2006/02/27
- Re: [MPlayer-users] OSD problems with DVDs, Nico Sabbi, 2006/02/27