LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-19-2010, 05:44 AM   #1
Hari_Linoob
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Rep: Reputation: 0
How to run/play dvd movie in Linux Mint 8?


Hi community!

This is my second day of using Linux Mint and I have bunch of questions. Let's start with this one. I tried to play dvd movie yesterday night. I put disc in drive. And nothing happened. Like it's not in there. So I tried to double click (I'm old Windows user trying to learn new stuff) on cd/dvd disc in computer. It's unresponsive. I try right click run with application some kind of movie player. It says 'Could not open location. You might not have permission to open the file'.
So I installed VLC and did the same thing but same message appears.
So I look at google for the answer and didn't find much. And I was tired and went to sleep.

Today I wake up, turn on my laptop and surprise, surprise! There is some icon on my desktop saying 'Name of the show' (that was the dvd I was trying to open). So I double click it and there are all episodes. And I can now browse it and play any episode I want. So I say, 'hey, there must be something if I eject this dvd, and put it in again, I would have same problem as last night'. And I have. And problem is back. Now I cant play anything again. Please help.

Hari
 
Old 02-19-2010, 02:45 PM   #2
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
You would need to mount the DVD or CD so that you can read it. When the DVD or CD is in the drive when you boot up, then it is mounted by the init process. You can change this behaviour if you would like to.

Read the man pages for mount under iso9660. A quick way:

Code:
mount -t iso9660 /dev/dvd /media/dvd
If you have the directories /media/dvd. You can add options to the mount for read permissions and write permission for different users.

Code:
man mount
 
Old 02-19-2010, 03:14 PM   #3
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,144

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
^ i dont think you have to mount a dvd in order to watch it.

i never used linux mint but i always heard that media codecs are installed by default because they are based in ireland which is a non interpol country.
in a terminal, can you please show us what movie players you have installed:
Code:
which mplayer gmplayer vlc xine gxine totem
mplayer dvd://1 # would play the first chapter of a dvd using mplayer
xine dvd://1 # would play the first chapter of a dvd using xine
can someone post how to check if libdvdread libdvdnav libdvdcss is installed.

i use fedora and when i put in a dvd a pop-up asks me what i want to use to play it.

Last edited by schneidz; 02-19-2010 at 03:16 PM.
 
Old 02-19-2010, 03:20 PM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by jiobo View Post
You would need to mount the DVD or CD so that you can read it. When the DVD or CD is in the drive when you boot up, then it is mounted by the init process. You can change this behaviour if you would like to.

Read the man pages for mount under iso9660. A quick way:

Code:
mount -t iso9660 /dev/dvd /media/dvd
If you have the directories /media/dvd. You can add options to the mount for read permissions and write permission for different users.

Code:
man mount
That might be a workaround, but there is something else going on. Linux Mint defaults to HAL/D-BUS either automounting removable media or creating the dekstop/file manager icon, which should mount it when clicked on. The basic process should be kernel detects the media, sends message to HAL, HAL dynamically creates a mount point under /media, sends message to D-BUS aware apps, like the Nautilus File Manager, Nautilus creates a desktop icon and file manager icon. That's changing some with the new devicekit-disks and gnome-device-manager as HAL is out as of Ubuntu 10.04/Mint 9.

Why this isn't working properly I don't know. Or why it would not mount and then later finally mount itself. Insert a disc and check the output of
Code:
dmesg
 
Old 02-19-2010, 03:21 PM   #5
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
can someone post how to check if libdvdread libdvdnav libdvdcss is installed.
Code:
dpkg -l | grep libdvd
 
Old 02-19-2010, 03:28 PM   #6
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,144

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
if you got xine installed, are you able to put the dvd in and start xine and click on the dvd button ?
 
Old 02-19-2010, 04:22 PM   #7
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
Quote:
Originally Posted by schneidz
i dont think you have to mount a dvd in order to watch it.
Yes, you need to mount the dvd device. Either Linux will automount it, or you need to mount it! No way around that one.

EDIT: in the default install of Linux Mint 8, it should automount the DVD and ask if you want to play it. And, it will play movie DVDs with libdvdcss. It defaults to Totem 2.28.1 using GStreamer 0.10.25. You don't need Linux Mint to play movie DVDs, you need a Linux distribution with libdvdcss installed.

For those who run Linux Mint 8, there seemed to be a problem with it switching sound output devices from "Internal Audio Analog Stereo" to "HDA ATI HDMI Digital Stereo (HDMI)" in that movies would play in fast forward mode without sound when doing so with Totem. You could tell Linux Mint about this so they can fix it.

Last edited by jiobo; 02-19-2010 at 05:35 PM.
 
Old 02-20-2010, 08:48 AM   #8
Hari_Linoob
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you all for replies.

Problem seem to be vanished. Now every time I put CD/DVD in DVD drive, Mint automatically mounts it and creates a desktop icon of the disk. I really don't know what happened the other day nor do I know how's it working now. Thanks all one more time.

Hari
 
Old 02-24-2010, 07:23 PM   #9
Hari_Linoob
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hi again

Now it wouldn't mount automatically again. When I write in terminal:
Code:
mount -t iso9660 /dev/dvd /media/dvd
I get message:
Code:
mount: only root can do that
Where did I go wrong?

I have all libraries I think...

Code:
$ dpkg -l | grep libdvd
ii  libdvdcss2                            1.2.10-0.3medibuntu1                       Simple foundation for reading DVDs - runtime
ii  libdvdnav4                            4.1.3-3                                    DVD navigation library
ii  libdvdread4                           4.1.3-5ubuntu2                             library for reading DVDs

Hari

Last edited by Hari_Linoob; 02-24-2010 at 07:32 PM.
 
Old 02-25-2010, 11:05 AM   #10
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,144

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Code:
sudo mount -t iso9660 /dev/dvd /media/dvd
 
Old 02-26-2010, 09:25 AM   #11
Hari_Linoob
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Code:
mount: mount point /media/dvd does not exist
I tried:
Code:
mkdir /media/dvd
sudo mount -t iso9660 /dev/dvd /media/dvd
I get:
Code:
mount: no medium found on /dev/sr0

Last edited by Hari_Linoob; 02-26-2010 at 09:33 AM.
 
Old 02-26-2010, 10:12 AM   #12
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,144

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
fyi: /dev/sr0 is the device node of your first scsi cd-rom device.
what the mount command does is make its file-tree available inside the directory /media/dvd

i think there is a program called udev which dynamically mounts removable media like usb harddrives, cd's/ dvd's ...
but for some reason it aint actin' rite ?

have you tried with more than 1 dvd; maybe its dirty or something ?

Last edited by schneidz; 02-26-2010 at 10:17 AM.
 
Old 02-26-2010, 10:21 AM   #13
Hari_Linoob
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
yea i tried several: dvd movie, cd music and dvd with divx on it.
all act the same: if i reboot with disc that is inside dvd drive, it automatically mounts on boot.
if however i eject them and then put them back in dvd drive, they can't be mounted automatically nor manually using terminal unless i reboot with disk inside.

my cd music is playing right now, so it isn't dirt.

do i have udev on helena by default, or i must install it manually?

Last edited by Hari_Linoob; 02-26-2010 at 10:23 AM.
 
Old 02-26-2010, 11:26 AM   #14
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,144

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
i would assume so but i guess installing it again wouldnt break anytjing,
also it could be something wrong with something called hal

according to man hald
Quote:
Please also attach the output of lshal(1) in the bug report if possible (it's not possible if the hald daemon crashed). If the nature of the bug has to do with hotplugging, attach two outputs of lshal(1) - one before the device hotplug event and one after.
do this if you want to install:
sudo apt-get install udev hal hald
 
  


Reply

Tags
automatically, dvd, mount


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
Can't play Windows DVD in Linux with Totem movie player? trien27 Linux - General 10 02-13-2009 12:07 PM
Can't play movie in DVD Frank Soranno Debian 4 02-07-2009 01:30 PM
Totem can't play DVD Movie biksuni Linux - Desktop 1 02-16-2007 02:22 AM
can't play movie on DVD R/W mamtasahai1 Linux - Hardware 1 01-23-2007 04:04 PM
Every DVD Player Fails to Play DVD Movie in SuSE 9.2 Pro....Please Help ! ! ! bedi-beparwah Suse/Novell 2 03-14-2005 07:08 PM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration