[MPlayer-users] navigating dvd menus

Yan Seiner yan at seiner.com
Sun Jan 31 21:23:40 CET 2010


Steve Dibb wrote:
> Yan Seiner wrote:
>> Does anyone know of a utility that dumps a dvd menu structure in a 
>> way that can be easily processed by a shell script?
>>
>> I'm trying to find a way to identify the title that gets played when 
>> the user selects the "main feature" or "play feature" using a CLI 
>> script.
>>
>
> If you mean like the actual movie, it's generally the longest track. 
> You can use lsdvd to figure that out, or mplayer (generally) picks 
> that one by default.

Here's what I'm seeing:

Title: 01, Length: 01:27:29.320 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 02, Length: 01:25:16.076 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 03, Length: 01:32:22.066 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 04, Length: 01:25:35.200 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 05, Length: 01:26:18.033 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 06, Length: 01:25:30.153 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 07, Length: 01:32:50.220 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 08, Length: 01:29:37.053 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 09, Length: 01:27:51.200 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 10, Length: 01:30:32.043 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 11, Length: 01:29:41.053 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 12, Length: 01:26:21.300 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 13, Length: 01:24:47.133 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 14, Length: 01:24:30.320 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 15, Length: 01:26:17.143 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 16, Length: 01:23:23.010 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 17, Length: 01:29:17.176 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 18, Length: 01:23:18.220 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 19, Length: 01:26:34.220 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 20, Length: 01:25:41.220 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 21, Length: 01:29:32.033 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 22, Length: 01:34:29.020 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 23, Length: 01:28:51.176 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 24, Length: 01:24:09.020 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 25, Length: 01:29:50.033 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 26, Length: 01:27:04.276 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 27, Length: 01:32:25.243 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 28, Length: 01:29:34.166 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 29, Length: 01:32:03.043 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 30, Length: 01:29:09.220 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 31, Length: 01:30:49.210 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 32, Length: 01:27:13.210 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 34, Length: 01:28:16.100 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 35, Length: 01:29:15.053 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 36, Length: 01:27:54.110 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 37, Length: 01:26:01.033 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 38, Length: 01:24:18.310 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 39, Length: 01:32:33.143 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 40, Length: 01:29:22.066 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 41, Length: 01:27:12.153 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 42, Length: 01:29:02.053 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 43, Length: 01:30:12.200 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 44, Length: 01:23:04.243 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 45, Length: 01:35:47.310 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 46, Length: 01:26:13.120 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 47, Length: 01:29:35.253 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 48, Length: 01:30:07.120 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 49, Length: 01:22:12.143 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 50, Length: 01:27:50.176 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 51, Length: 01:33:28.243 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 52, Length: 01:23:05.133 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 53, Length: 01:28:37.166 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 54, Length: 01:30:19.253 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 55, Length: 01:23:50.166 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 56, Length: 01:30:09.000 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 57, Length: 01:29:20.076 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 58, Length: 01:27:08.233 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 59, Length: 01:29:54.020 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 60, Length: 01:29:39.243 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 61, Length: 01:33:37.220 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 62, Length: 01:26:14.076 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 63, Length: 01:29:17.176 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 64, Length: 01:27:56.053 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08
Title: 65, Length: 01:24:34.166 Chapters: 21, Cells: 29, Audio streams: 
04, Subpictures: 08

64 titles of nearly identical length.

Without knowing what the menu navigation is, it's a crapshoot which one 
is the correct one.

--Yan

-- 

   o__
   ,>/'_         o__
   (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_ 
when we forsake our friends and break all (_)\(_)
bonds of fellowship, but it is not this day.
It is not this day!
This day we ride!



More information about the MPlayer-users mailing list