LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mplayer: what title is playing when using the dvdnav option? (https://www.linuxquestions.org/questions/linux-software-2/mplayer-what-title-is-playing-when-using-the-dvdnav-option-4175486104/)

$(( 10#$x )) 11-27-2013 09:36 PM

Mplayer: what title is playing when using the dvdnav option?
 
Greetings

I have a question about mplayer. When I want to play a dvd title I usually use VLC and mplayer mostly.

Sometimes I use VLC to get the title number and then switch to mplayer to play the disc with mplayer dvd://<title number>

I do have some DVDs that VLC won't load, and sometimes I use the dvdnav option with mplayer

Code:

mplayer dvdnav:// -mouse-movements
The dvdnav makes mplayer display the navigation menus like VLC does. When I click on the play button, the movie starts playing as usual.

My question is how can I find what title number mplayer is playing when I use the dvdnav method?

Thanks in advance

druuna 11-28-2013 02:31 AM

Try using the -identify option (and quit once the first screen appears).

An example of the output in the terminal:
Code:

$ mplayer -identify dvdnav:// -mouse-movements -dvd-device ......
ID_DVD_TITLE_2_LENGTH=0.480
TITLE 2, CHAPTERS: 00:00:00,
ID_DVD_TITLE_3_LENGTH=12468.280
TITLE 3, CHAPTERS: 00:06:35,00:13:47,00:20:46,00:27:02,00:33:09,00:36:43,00:41:33,00:48:37,00:54:15,01:00:35,01:05:00,01:12:27,01:17:36,01:23:07,01:29:40,01:35:35,01:40:41,01:46:11,01:53:24,01:59:31,02:04:39,02:11:55,02:19:22,02:25:06,02:31:46,02:37:29,02:40:53,02:46:14,02:53:24,02:59:09,03:04:24,03:09:59,03:16:38,03:21:42,03:27:47,03:27:48,
ID_DVD_TITLE_4_LENGTH=2493.480
TITLE 4, CHAPTERS: 00:06:35,00:13:47,00:20:46,00:27:02,00:33:09,00:36:43,00:41:33,00:41:33,
ID_DVD_TITLE_5_LENGTH=2494.480
TITLE 5, CHAPTERS: 00:07:04,00:12:42,00:19:02,00:23:27,00:30:54,00:36:03,00:41:34,00:41:34,
ID_DVD_TITLE_6_LENGTH=2493.280
TITLE 6, CHAPTERS: 00:06:33,00:12:28,00:17:34,00:23:04,00:30:17,00:36:24,00:41:32,00:41:33,
ID_DVD_TITLE_7_LENGTH=2495.480
TITLE 7, CHAPTERS: 00:07:15,00:14:43,00:20:26,00:27:06,00:32:50,00:36:13,00:41:35,00:41:35,
ID_DVD_TITLE_8_LENGTH=2493.480
TITLE 8, CHAPTERS: 00:07:09,00:12:54,00:18:09,00:23:44,00:30:23,00:35:27,00:41:33,00:41:33,
Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line)
DVDNAV, switched to title: 1
audio stream: 0 format: ac3 (stereo) language: en aid: 128.


$(( 10#$x )) 11-28-2013 02:42 PM

Thanks, I'll give it a try.


All times are GMT -5. The time now is 03:41 PM.