[MPlayer-users] [UGLY HACK] dvd title lengths

Pierric Descamps pierric at descamps.net
Wed Jan 22 11:58:13 CET 2003


Hi,

> Play movie as:
> 	mplayer -dvd `get_movie_title` the-rest-of-your-options

Well, if I understood it right, this tool scans for dvd titles until it finds
one with more than 10 chapters, right? Well, maybe it's not that ugly... Maybe
something similar could be implemented in mplayer, with a syntax like "mplayer
-dvd 0". As there's no title 0, mplayer could then apply an algorithm similar
to yours to locate the main movie title. A variation could be to find the
title with maximum number of chapters, though it might take much longer to
find on certain DVDs (french DVD of Amelie Poulain has about 50 titles, each
with a few chapters, AFAIR, so they would all have to be scanned).

Of course it's not very pretty, but as "-dvd 0" would never be used otherwise,
it could be a useful shortcut.

Pierric.

----------------------------------------------------------------------------

Pierric DESCAMPS                      ("`-''-/").___..--''"`-._
E-Mail    :   pierric at descamps.net     `6_ 6  )   `-.  (     ).`-.__.`)
Web-Site  :   http://descamps.net      (_Y_.)'  ._   )  `._ `. ``-..-'
Jabber-ID :   pierric at tipic.com      _..`--'_..-_/  /--'_.' ,'   
                                     (il).-''  (li).'  ((!.-' 
----------------------------------------------------------------------------
 Der Unterschied zwischen Wahnsinn und Genie    -- Elliot Carver in
 definiert sich lediglich aus dem Erfolg.       007 - Der Morgen Stirbt nie
----------------------------------------------------------------------------



More information about the MPlayer-users mailing list