Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
[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
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.
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.
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.