LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   mplayer: how do I navigate a DVD title (movie)? (https://www.linuxquestions.org/questions/linux-desktop-74/mplayer-how-do-i-navigate-a-dvd-title-movie-4175512297/)

stf92 07-25-2014 05:04 PM

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?

TobiSGD 07-25-2014 05:57 PM

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

teckk 07-25-2014 07:10 PM

Code:

mplayer dvdnav:// -mouse-movements
Choose the video you want with the mouse.

stf92 07-26-2014 06:47 AM

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.

TobiSGD 07-26-2014 08:27 AM

Quote:

Originally Posted by stf92 (Post 5209874)
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.

GazL 07-26-2014 11:26 AM

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.

stf92 07-26-2014 05:39 PM

Quote:

Originally Posted by TobiSGD (Post 5209897)
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?

TobiSGD 07-27-2014 06:58 AM

libdvdcss is available from SBo.

stf92 08-02-2014 03:48 PM

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?


All times are GMT -5. The time now is 04:09 AM.