Linux - SoftwareThis 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
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.
I've just started using debian, and installed a couple of programs including mplayer. The problems is that I don't know how to play dvd's that i've decrypted to the harddisk. I've searched google and this forum for an answed but only found a command like "mplayer dvd://" which tries to play the dvd currently in my dvd-rom.
So does anyone know a command which plays a DVD (VIDEO_TS) folder located on a harddisk?
One method is to rip your dvd to an iso image, then mount the image using the loop back device. Then configure mplayer to use /dev/loopx (x>=0) as its input device. This also works for xine player.
You will need a kernel with loop back support compiled in.
I'm using debian for a couple of day's now, so i'm a bit new to all this. I've checked /dev for loop device with the "ls -l loop*" command. This gave the following result:
loop0
loop1
...
loop7
Are these the loopback devices you'r talking about?
I've checked the mplayer man page for the command which sets the input device. When I enter the command "mplayer --cdrom-device /dev/loopX", mplayer gave me the following error:
Playing /dev/loop3.
File not found: '/dev/loop3'
Failed to open /dev/loop3
Is this because I have not mounted anyting yet?
After some searching I found mkisofs to ceate iso files. What command do I need to use to create an .iso of an VIDEO_TS directory?
You can play vob files with mplayer. Type "mplayer dvd.vob". It will then play the file. If there are multiple vob files, you will have to make a playlist.
If you want to use loop device with mplayer you will have to use losetup first. You can use mount but it can be too much work finding what loop devices is your image.
Old thread. But I found this on a google search. And it answered a question I had. I can confirm the above still works on a Ubuntu Karmic install.
However, you don't get to use the DVD menus with the above command. It just plays title 1 (dvd://1). I had to try dvd://4 until I actually found the main title on my DVD files.
I suggest the better option is to use GNOME Mplayer and choose
File-> Disk->Open DVD from folder with menus
This allows you to select a VIDEO_TS folder from the HDD and it plays it like a DVD - with menus.
It took a few years for Mplayer to include DVD navigation ability. The main developer that wrote Mplayer did not want it in for some odd reason. Since he left, DVD navigation slowly got included. To use Mplayer's DVD navigation use dvdnav use the following command.
mplayer -nocache dvdnav://
Of course, if you are using a pre-compiled package of Mplayer, you have to make sure that the maintainer includes it. Also if you are compiling Mplayer your self, you have to include it.
A short hand command to use "mplayer -identify [file]" is "midentify [file]". It comes in handy if you need to know what title is the main movie with out going through the sloppy menu system. Another command to know what title for the DVD is the main movie is lsdvd.
A short hand command to use "mplayer -identify [file]" is "midentify [file]". It comes in handy if you need to know what title is the main movie with out going through the sloppy menu system.
Thanks for the tip. Was exactly what I needed, not what I searched for
But the "mplayer -identify [file]" command still plays the file whereas the wrapper shellscript only outputs the info. For my distro (Kubuntu) it was not on the path but under /usr/share/mplayer/midentify.sh
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.