LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2013, 10:36 PM   #1
$(( 10#$x ))
LQ Newbie
 
Registered: Nov 2013
Posts: 11

Rep: Reputation: Disabled
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
 
Old 11-28-2013, 03:31 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394
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.
 
Old 11-28-2013, 03:42 PM   #3
$(( 10#$x ))
LQ Newbie
 
Registered: Nov 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks, I'll give it a try.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is there any builtin option to show title and searched option? mddnix Linux - Newbie 6 07-17-2013 08:29 AM
mplayer - gaps in the audio in dvdnav:// mode nokangaroo Linux - Software 2 06-05-2013 11:38 PM
mplayer dvdnav problem Polanski Linux - Software 3 06-28-2010 10:10 AM
dvdnav argument for mplayer rejeep Linux - General 7 09-25-2007 04:43 PM
using dvdnav with mplayer rocksniffer Linux - Software 1 10-01-2006 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration