[MPlayer-users] How to determin the Main-Movie

Tilo Renkl tilo at diredare.de
Tue Dec 9 22:37:47 CET 2003



> -----Original Message-----
> From: mplayer-users-bounces at mplayerhq.hu
> [mailto:mplayer-users-bounces at mplayerhq.hu]On Behalf Of HR
> Sent: Tuesday, December 09, 2003 10:10 PM
> To: 'MPlayer user's list.'
> Subject: RE: [MPlayer-users] How to determin the Main-Movie
> 
> 
> [Automatic answer: RTFM (read DOCS, FAQ), also read 
> DOCS/bugreports.html]
> > [mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of Tilo Renkl
> [...]
> > does anybody know how I can find out what Titelnumber (for dvd://X)
> > I need for the main movie of a DVD ??
> > Most times its 1, but sometimes its 2,3,4,5 ... and it sucks
> > to test every title to find out whitch one is the right one.
> A crude approach: For "normal" movies, it is almost always the title
> with the most chapters in it. So a script that loops through 
> the titles,
> checking mencoder/mplayer output, remembering which title had the most
> chapters will normally suffice (see below for an example). 
> This is often
> not the case with cartoons and children movies or any other 
> DVD that is
> crowded with "features", where I've seen insanely high 
> chapter numbers.
> Finally, you can use the mencoder/mplayer output and the fact that
> movies usually have a few audio tracks and subtitles in them. This,
> ofcourse, is not a very scientific method, but it usually works just
> fine. Someone else must have a better idea though, and I'd 
> like to hear
> it too so I can change my script :)
> 
> You can probably grab the info directly from the ifo/vob somehow.
>

I already thought about that. Do you know ifoinfo ?
A small program that reads only the IFO-File of a DVD and
gives back that informations to stdout. Maybe you can integrate
that in your script ?

http://freshmeat.net/redir/ifoinfo/37916/url_tgz/ifoinfo-1.0.0.tar.gz

Thanx.

Salaam



More information about the MPlayer-users mailing list