You are not logged in.

#1 2012-07-01 01:09:52

Kopkins
Member
Registered: 2012-07-01
Posts: 189

[SOLVED] Watching DVD's

Hello all.

I'm relatively new to arch. I love it so far. I finally got everything working pretty smoothly using just the wiki, which is great, but one thing I can't get is the ability to watch dvd's.

I have libdvdnav, libdvdread, and libdvdcss installed and I have tried using VLC, mplayer, and xine, none of which have worked. I have my user in all the required groups. I don't understand what else I need to do.

I tried changing the drive from /dev/dvd to /dev/sr0, because /dev/sr0 is where my disk drive is. It finds the disk and it would come up with a title, but won't play.

Running gnome 3 desktop.

Let me know any other info you require.

Thanks,
Kopkins

Last edited by Kopkins (2012-07-03 16:15:07)

Offline

#2 2012-07-01 01:16:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,601
Website

Re: [SOLVED] Watching DVD's

How have you tried using each of those?  I use mplayer and it works well, but you have to specify dvd-device and use the dvd://1 on the command line (or possibly in the config).

For example, on my machine I'd do

myplayer -dvd-device /dev/sr0 dvd://1

(edit: fixed typo)

Last edited by Trilby (2012-07-01 01:34:43)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-07-01 01:28:05

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

Yeah, I set the variable in the config.

From the command line,

$ mplayer -dvd-device /dev/sr0 dvd://1
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.8.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12 
[mpeg2video @ 0x8bf0860]invalid mb type in I Frame at 33 6
[mpeg2video @ 0x8bf0860]Warning MVs not available
[mpeg2video @ 0x8bf0860]concealing 1080 DC, 1080 AC, 1080 MV errors
V:   0.1   1/  1 ??% ??% ??,?% 0 0 


Exiting... (End of file)

This is only part of what its output, but the rest seems unimportant.

Kopkins.

Offline

#4 2012-07-01 01:35:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,601
Website

Re: [SOLVED] Watching DVD's

And are you sure your dvd is sr0?  I've struggled with that exact error (or one very very similar) when I wasn't specifying the right device.

Last edited by Trilby (2012-07-01 01:35:52)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2012-07-01 01:45:39

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

It's not /dev/dvd,

libdvdread: Can't stat /dev/dvd
No such file or directory
libdvdread: Could not open /dev/dvd
Couldn't open DVD device: /dev/dvd (No such file or directory)
No stream found to handle url dvd://1
EOF

and /dev/cdrom gives the same output as /dev/sr0

I don't know what else it would be.

Thanks for the help,
Kopkins

Last edited by Kopkins (2012-07-01 01:48:00)

Offline

#6 2012-07-01 02:05:01

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Watching DVD's

cat /proc/sys/dev/cdrom/info


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2012-07-01 02:09:47

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		sr0
drive speed:		24
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		1
Can write DVD-R:	1
Can write DVD-RAM:	1
Can read MRW:		0
Can write MRW:		0
Can write RAM:		1

Offline

#8 2012-07-02 16:19:13

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

Anyone have any suggestions?

Offline

#9 2012-07-02 17:17:58

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,137

Re: [SOLVED] Watching DVD's

Well, for the /dev/dvd recognition, I had to place a new rule in /etc/udev/rules.d/82-cdrom.rules

# Custom CD-ROM symlinks
SUBSYSTEM=="block", KERNEL=="sr0", SYMLINK+="cdrom"
SUBSYSTEM=="block", KERNEL=="sr1", SYMLINK+="dvd dvdrw"

This will create a symlink which used to be done automagically but was dropped for some reason so you have to create your own rule to get /dev/cdrom or /dev/dvd.  In your case you just need one line for sr0 with cdrom dvd--I have a separate cdrom and dvd drive.
The other errors when you tried to play the dvd look more like some kind of copy protection which your codec can't read.  Does it do this with all your dvd's?
You might need codecs from AUR?

Last edited by bgc1954 (2012-07-02 17:53:28)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#10 2012-07-02 21:50:44

windscape
Member
Registered: 2010-04-30
Posts: 69

Re: [SOLVED] Watching DVD's

Kopkins wrote:

Anyone have any suggestions?

Hi,

What model video card do you have? It sounds like you might have an NVIDIA card model that supports VDPAU. For VDPAU to work, the packages required depend on whether you're using the NVIDIA proprietary drivers or the nouveau drivers. Also, mplayer is not detecting the audio codec on the DVD, which is usually AC3 (Dolby Digital). You might need to specify the audio track to play. See the man page for mplayer.

Offline

#11 2012-07-02 21:57:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,601
Website

Re: [SOLVED] Watching DVD's

I don't have nvidia nor did I have any audio issues, but when I failed to direct mplayer to the proper device it did spit out those same errors.  It confused the heck out of me why mplayer was looking for nvidia stuff ...


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2012-07-03 04:04:49

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

It definitely finds the disk. I don't have a nvidia card. I have integrated graphics on a laptop.
Still haven't gotten any disks to work.

Last edited by Kopkins (2012-07-03 04:14:11)

Offline

#13 2012-07-03 04:46:32

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,586
Website

Re: [SOLVED] Watching DVD's

can you manually play the vob files?

Offline

#14 2012-07-03 07:15:42

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Watching DVD's

I think you need the "gstreamer0.10" good, bad and ugly plugins. Especially the ugly if the DVD is encrypted (ie. "legit").

# pacman -S gstreamer0.10-good-plugins gstreamer0.10-bad-plugins gstreamer0.10-ugly-plugins

I can play DVDs just fine with VLC or SMplayer (VLC is better, IMO; better support for DVD menus).

If you don't know how, choose either Open Disc or Open Directory.


Have fun.

And don't forget to mark it as solved (by editing the first post).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#15 2012-07-03 15:28:13

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

I cannot play the vob files maually, even after installing the good, bad, and ugly gstreamer plugins.

Still can't play any DVD's with mplayer, vlc, etc.

Thanks,
Kopkins

Offline

#16 2012-07-03 15:29:45

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,286

Re: [SOLVED] Watching DVD's

Do you have the libdvdcss installed?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#17 2012-07-03 15:31:03

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: [SOLVED] Watching DVD's

Do the DVDs play fine in other Linuxes (use a USB key for testing if necessary)?

Offline

#18 2012-07-03 16:00:01

Grinch
Member
Registered: 2010-11-07
Posts: 265

Re: [SOLVED] Watching DVD's

That sounds weird, anyway since I've never actually played any dvd's on this machine (although I've used dvdbackup and handbrake alot to encode stuff to view my Tvix) I figured I should check it now that I read your problem and it (Jungle Book special edition) played just fine under VLC->open disc->/dev/sr0

Can you read the contents of the disc at all? Like in a file manager or from the terminal?

Offline

#19 2012-07-03 16:10:16

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

Yes, libdvdcss, libdvdread and libdvdnav.

I have played them before on my other computer (ubuntu). Just tried again and it works fine.

I can read all the files from the file manager, but cannot play them.

Last edited by Kopkins (2012-07-03 16:15:37)

Offline

#20 2012-07-03 16:16:41

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] Watching DVD's

Reset the region for the dvd drive and now everything works fine.

Offline

#21 2012-07-03 16:19:18

Grinch
Member
Registered: 2010-11-07
Posts: 265

Re: [SOLVED] Watching DVD's

Again, so weird. I assume the DVD structure is that of a normal DVD video disc, with VIDEO_TS, AUDIO_TS directories, not that it should really matter in this case as it seems to play fine under Ubuntu. Unless there could be some weird permission problem then I have absolutely no idea.

edit: ah, so you got it working.

Last edited by Grinch (2012-07-03 16:19:56)

Offline

#22 2012-07-07 19:49:03

Hantabaru
Member
Registered: 2009-02-25
Posts: 58

Re: [SOLVED] Watching DVD's

Kopkins wrote:

Reset the region for the dvd drive and now everything works fine.

For completeness: Can you explain how you did this?

I had the same problem and used the Regionset package in the AUR to set the region, which made the dvd player work.

Is this the way you did it or is there an alternative method?

Cheers :-)

Offline

#23 2012-07-07 21:29:59

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,286

Re: [SOLVED] Watching DVD's

I think there's a way to play DVDs without the region setting.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB