[MPlayer-users] exact length of a dvd title for mencoder bitrate calculations

Fabio Papa f.papa at mcmspa.it
Fri Aug 22 09:24:19 CEST 2003


On Thursday 21 August 2003 14:20, Dominik Szczerba wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
>
> How do I get precise length of a dvd title? OSD gives wrong values
> (compatible with -ss, but wrong by a few minutes), numbers I see in the
> terminal dont help me either. How can I get the duration in secs - or
> frames that I could divide by fps?
I use this trick: I extract an audio track with -ao pcm (specify also -vo 
dummy, I you want it fast). This way, on the mplayer status line you'll see 
an incrementing time. At the end of the process, you have the total playing 
time.

>
> thanks a lot!
> Domi

-- 
Fabio Papa
Engineering division
Machining Centers Manufacturing S.p.A.
viale F. e G. Celaschi 19 - Vigolzone (PC) Italy





More information about the MPlayer-users mailing list