LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-25-2014, 05:04 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
mplayer: how do I navigate a DVD title (movie)?


Hi: I have a DVD image file made by k3b which is a movie. I run mplayer:
Code:
root@server:/tmp/kde-bill# mplayer dvd:// 007.iso 
MPlayer 1.1-4.7.1 (C) 2000-2012 MPlayer Team

Playing dvd://.
libdvdread: Encrypted DVD support unavailable.
There are 3 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: fr aid: 129.
audio stream: 2 format: ac3 (mono) language: es aid: 130.
number of audio channels on disk: 3.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: fr
subtitle ( sid ): 2 language: es
number of subtitles on disk: 3



Playing 007.iso.
libavformat version 54.4.100 (internal)
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
Load subtitles in ./
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.21.101 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 1024x576 Planar YV12 
[swscaler @ 0x8cffdc0]using unscaled yuv420p -> bgra special converter
A:   2.4 V:   2.4 A-V:  0.000 ct:  0.033  55/ 55  3%  2%  0.9% 0 0 

Exiting... (Quit)
root@server:/tmp/kde-bill#
and I am presented with the menu. How do I navigate through the menu in order to see the picture? I have skimmed the mplayer man page but did not find any special option or key. According to the syntax, in

mplayer dvd://2 007.iso

2 is the title number. However it plays exactly the same as issuing

mplayer dvd:// 007.iso

The output in this case is
Code:
root@server:/tmp/kde-bill# mplayer dvd://02 007.iso 
MPlayer 1.1-4.7.1 (C) 2000-2012 MPlayer Team

Playing dvd://02.
libdvdread: Encrypted DVD support unavailable.
There are 3 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: fr aid: 128.
audio stream: 2 format: ac3 (mono) language: es aid: 130.
number of audio channels on disk: 3.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 0 language: fr
subtitle ( sid ): 0 language: es
number of subtitles on disk: 3



Playing 007.iso.
That is, it shows the menu. If I use the PgUp, PgDown keys, it advances, reaches the end of the several previews and extra scenes, but does not enter the movie proper. I think the syntax 'mplayer dvd://2 should make it go to track 2, but it does not go. Any suggestion?
 
Old 07-25-2014, 05:57 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
[VO_XV] It seems there is no Xvideo support for your video card available.
You should check that, it seems your videocard is not set up correctly.

Anyways, for being able to navigate DVD menus you must compile mplayer with support for dvdnav. I don't know if that is the case for Slackware's MPlayer, if you have support for that you can use the arrow-keys on your keypad for navigating the menus.
More info, as always, with
Code:
man mplayer
 
Old 07-25-2014, 07:10 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Code:
mplayer dvdnav:// -mouse-movements
Choose the video you want with the mouse.
 
Old 07-26-2014, 06:47 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I used that syntax, mplayer dvdnav:// -mouse-movements, but I was able to enter only two of the items in the menu. If I enter the 'language selectio item', then after exiting the option it begins playing the movie. The behavior of mplayer with this DVD-video is chaotic. I have also tested it with commercial DVD titles, those that you buy in a shop or in Amazon.com, and it directly refuses to play it: it just exits. All of these DVDs play perfectly well in my standalone DVD player.

EDIT: It is likely the mess was done by k3b, which is the burner I used to write the DVD (a dual-layer DVD, but I don't think this has anything to do). I have a movie burned into a single layer DVD which, when played with dvdnav:// -mouse-movements behaves perfectly well.

Last edited by stf92; 07-26-2014 at 07:23 AM.
 
Old 07-26-2014, 08:27 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by stf92 View Post
I have also tested it with commercial DVD titles, those that you buy in a shop or in Amazon.com, and it directly refuses to play it: it just exits. All of these DVDs play perfectly well in my standalone DVD player.
It is likely that those DVDs are encrypted, so that you will need to install libdvdcss to play them.
 
1 members found this post helpful.
Old 07-26-2014, 11:26 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
I've found that mplayer dvdnav:// can be a bit hit and miss with dvd menus (mostly miss). You could try playing it with xine. That has tended to work better for me on dvds with menus.
 
Old 07-26-2014, 05:39 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by TobiSGD View Post
It is likely that those DVDs are encrypted, so that you will need to install libdvdcss to play them.
I went to the http://www.videolan.org/developers/libdvdcss.html page and there it says:
Code:
Get libdvdcss

Last version of libdvdcss is 1.2.13.

Our Debian/Ubuntu repository can be accessed by adding the following content to /etc/apt/sources.list

deb http://download.videolan.org/pub/debian/stable/ /

deb-src http://download.videolan.org/pub/debian/stable/ /

And by running

wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add -

libdvdcss is available through Git or by browsing the releases.
Git checkout

# git clone git://git.videolan.org/libdvdcss

You can also access the code online.
How should I install it?
 
Old 07-27-2014, 06:58 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
libdvdcss is available from SBo.
 
Old 08-02-2014, 03:48 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I have just tried one of the commercial DVD's mplayer is unable to play in Slackware 14.0 in a machine with 12.0 and an old version of mplayer. Result: it is perfectly played. The subtitle is not shown, but what do I need it for?
 
  


Reply



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
Changing the aspect ratio while you watch a DVD title (DVD-Video). stf92 General 10 10-31-2012 01:46 PM
Dvd's do not play in VLC, xine, mplayer, or movie play (Karmic) Nizzok Linux - Software 2 01-02-2010 06:12 AM
MPlayer and MEncoder (The DVD/Movie/Video/MP3 Player and Encoder for Linux) ComputerGreek Linux - General 6 02-03-2008 09:39 AM
mplayer: which is the main dvd title noware Linux - Software 1 02-14-2007 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:10 AM.

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
Open Source Consulting | Domain Registration