You are not logged in.

#1 2013-05-10 19:28:28

estex198
Member
Registered: 2009-02-17
Posts: 39

vlc crashes when attempting to play dvd

I am completely stumped as to whats going on....

/dev/sr0 is the device I'm telling vlc to use. Additionally, I'm in the optical, audio, and video user groups. I have installed libdvdread, libdvdnav, and libdvdcss. What else can I do?

I had mesa drivers installed at one point but then installed nvidia... Just throwin that out there. smile

Offline

#2 2013-05-10 20:05:55

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: vlc crashes when attempting to play dvd

There can be a problem with ffmpeg when using hardware acceleration.  There are versions of ffmpeg that fix this (1.1-3). There is a new update (1.2-2) to ffmpeg just pushed to extra. You might try a system update. However it is possible that the update is not on the mirrors yet.  Alternatively, try turning off hardware acceleration in vlc.

Note, to use hardware acceleration, you need mesa, libva-vdpau, and possibly the xf86 nvidia driver installed (not sure I got the names exactly right - I'm on a MAC atm).  Check the nvidia wiki for libva and hardware acceleration.  Also, you need to use OpenGL for the video output in vlc.

Offline

#3 2013-05-10 20:33:09

estex198
Member
Registered: 2009-02-17
Posts: 39

Re: vlc crashes when attempting to play dvd

Thanks for your reply, David. I have been ignoring mesa-libgl for every system update over the last several weeks since it has been conflicting with nvidia-libgl. I probably need to investigate this conflict further before doing anything else, but not before disabling hardware acceleration. I'll also check on those libs if necessary. Thanks again, David!

Offline

#4 2013-05-11 00:21:41

estex198
Member
Registered: 2009-02-17
Posts: 39

Re: vlc crashes when attempting to play dvd

So far with arch, manjaro (still arch, but what the hell...), crunchbang cannot play dvd. I am able to play dvd in linux mint 14 no problem. How frustrating..... One interesting thing to note is that I get the same readout when I run lsdvd and start vlc in the console then Media >> Open Disc.
Basically its a lot of lines that look like the following...

libdvdread: CHECK_VALUE failed in ifo_read.c:1664 ***
*** for c_adt->cell_adr_table[i].start_sector < c_adt->cell_adr_table[i].last_sector ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:914 ***
*** for pgc->program_map_offset != 0 ***

The dvd itself is good because it plays in the windows machine (ugh...)
Any tips ?

Update: just ran regionset (from AUR) and set it to 1 for US dvd's. Problem persists.....


Update: using linuxmint 14 live I am able to play disc. wtf.......

Last edited by estex198 (2013-05-11 05:30:04)

Offline

#5 2013-05-11 17:22:22

estex198
Member
Registered: 2009-02-17
Posts: 39

Re: vlc crashes when attempting to play dvd

Anyone? Anyone? Anyone? Bueller? Bueller? Bueller?

Offline

#6 2013-05-11 17:31:41

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: vlc crashes when attempting to play dvd

You do have libdvdcss installed?

https://wiki.archlinux.org/index.php/DVD_Playing

Offline

#7 2013-05-14 04:40:15

estex198
Member
Registered: 2009-02-17
Posts: 39

Re: vlc crashes when attempting to play dvd

So did you really even read the OP? Yes...

Offline

#8 2013-05-15 13:50:45

Agamemnon
Member
From: France
Registered: 2011-05-05
Posts: 42

Re: vlc crashes when attempting to play dvd

Try to install git version of libdvdcss, libdvdnav and libdvdread on AUR.

It fixed the same problem with some of my DVDs and vlc (Avengers for example).


Pc: Intel core i7, 8Gb RAM, Archlinux 64bits, Gnome 3
Laptop 1: Intel Core2Duo, 4Gb RAM, Archlinux 64bits, Gnome 3
Laptop 2: Intel P4 HT, 512Mb RAM, Archlinux 32 bits, Gnome 3 too

Offline

#9 2013-05-15 18:15:44

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: vlc crashes when attempting to play dvd

You could try using another media player - such as mplayer et al - in order to narrow down blame, also; is this new behaviour, in as far as did it work before an update, and if so; what was updated?

On a tangent - Manjaro != Arch Linux.

Offline

#10 2013-05-15 18:36:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,583

Re: vlc crashes when attempting to play dvd

opt1mus wrote:

On a tangent - Manjaro != Arch Linux.

As a moderator, my take on that was that he had tried it on all three; good data points.  I assumed we are focused on the Arch Linux installation.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2013-05-15 18:39:56

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: vlc crashes when attempting to play dvd

Absolutely, I read it as that too - I just couldn't ignore the throw-away comment that it's "still arch".

Offline

#12 2013-06-30 11:32:25

brewlius_cesar
Member
From: VA
Registered: 2013-06-07
Posts: 24

Re: vlc crashes when attempting to play dvd

I'm experiencing a similar issue, the output from vlc shows:

libdvdnav: Using dvdnav version 4.2.0
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdnav: DVD Title: Step_Brothers
libdvdnav: DVD Serial Number: 394fbda3
libdvdnav: DVD Title (Alternative): Step_Brothers
libdvdnav: Unable to find map file '/home/justin/.dvdnav/Step_Brothers.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000015c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000219eb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000219ff
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0031eab2
libdvdread: Elapsed time 3
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0032a37b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0032a3aa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0032a3ae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0032a3d4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0032a3d8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0032ef33
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0032ef47
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0032ef80
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0032ef84
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x003bfcf3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003bfcf7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003c54bc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003c54c0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x003c6566
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003c656a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x003e2f9d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003e2fa1
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 4
libdvdread: Can't seek to block 3953843
libdvdread: Invalid IFO for title 8 (VTS_08_0.IFO).
libdvdnav: ifoOpenVTSI failed
libdvdread: Can't seek to block 3953843
libdvdread: Invalid IFO for title 8 (VTS_08_0.IFO).
libdvdnav: ifoOpenVTSI failed
libdvdread: Can't seek to block 3271328
libdvdread: Can't seek to block 3271328
libdvdread: Can't seek to block 3318671
libdvdread: Can't seek to block 3318671
libdvdread: Invalid IFO for title 2 (VTS_02_0.BU).
libdvdread: Can't seek to block 3318689
libdvdread: Can't seek to block 3318689
libdvdread: Can't seek to block 3318722
libdvdread: Can't seek to block 3318722
libdvdread: Invalid IFO for title 3 (VTS_03_0.BU).
libdvdread: Can't seek to block 3318731
libdvdread: Can't seek to block 3318731
libdvdread: Can't seek to block 3338017
libdvdread: Can't seek to block 3338017
libdvdread: Invalid IFO for title 4 (VTS_04_0.BU).
libdvdread: Can't seek to block 3338026
libdvdread: Can't seek to block 3338026
libdvdread: Can't seek to block 3338075
libdvdread: Can't seek to block 3338075
libdvdread: Invalid IFO for title 5 (VTS_05_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3338084
libdvdread: Can't seek to block 3931342
libdvdread: Can't seek to block 3931342
libdvdread: Invalid IFO for title 6 (VTS_06_0.BU).
libdvdread: Can't seek to block 3931370
libdvdread: Can't seek to block 3931370
libdvdread: Can't seek to block 3953834
libdvdread: Can't seek to block 3953834
libdvdread: Invalid IFO for title 7 (VTS_07_0.BU).
libdvdread: Can't seek to block 3953843
libdvdread: Can't seek to block 3953843
libdvdread: Can't seek to block 3958099
libdvdread: Can't seek to block 3958099
libdvdread: Invalid IFO for title 8 (VTS_08_0.BU).
libdvdread: Can't seek to block 3958108
libdvdread: Can't seek to block 3958108
libdvdread: Can't seek to block 4075402
libdvdread: Can't seek to block 4075402
libdvdread: Invalid IFO for title 9 (VTS_09_0.BU).
libdvdread: Can't seek to block 3958108
libdvdread: Can't seek to block 3958108
libdvdread: Can't seek to block 4075402
libdvdread: Can't seek to block 4075402
libdvdread: Invalid IFO for title 9 (VTS_09_0.BU).
libdvdread: Can't seek to block 3958108
libdvdread: Can't seek to block 3958108
libdvdread: Can't seek to block 4075402
libdvdread: Can't seek to block 4075402
libdvdread: Invalid IFO for title 9 (VTS_09_0.BU).
libdvdread: Can't seek to block 4075412
libdvdread: Can't seek to block 4075412
libdvdread: Can't seek to block 4091717
libdvdread: Can't seek to block 4091717
libdvdread: Invalid IFO for title 10 (VTS_10_0.BU).
libdvdread: Can't seek to block 4075412
libdvdread: Can't seek to block 4075412
libdvdread: Can't seek to block 4091717
libdvdread: Can't seek to block 4091717
libdvdread: Invalid IFO for title 10 (VTS_10_0.BU).
libdvdread: Can't seek to block 3271328
libdvdread: Invalid IFO for title 2 (VTS_02_0.IFO).
libdvdnav: ifoOpenVTSI failed
vlc: vm.c:1544: process_command: Assertion `0' failed.
Aborted (core dumped)

I've reinstalled libdvdread, libdvdcss, and libdvdnav. I also set the region code on the drive to 1 (same as the discs I'm trying to play) even though this drive has worked fine before on another build (Ubuntu).

Last edited by brewlius_cesar (2013-06-30 11:33:38)

Offline

#13 2013-07-01 01:51:01

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: vlc crashes when attempting to play dvd

See if other people on the Internet have trouble playing that particular DVD. Although CSS is cracked, some discs try to do petty things like introducing bad sectors that will surprise libdvdcss but not the licensed players. This is why my DVD of The Dark Knight had certain chapters where the menu couldn't seek to them. You had to pick a different chapter and rewind / fastforward.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#14 2013-07-01 22:08:20

brewlius_cesar
Member
From: VA
Registered: 2013-06-07
Posts: 24

Re: vlc crashes when attempting to play dvd

I've tried a couple of dvd's...all had the same result.

Offline

#15 2013-07-11 02:36:23

wrench
Member
Registered: 2013-07-11
Posts: 1

Re: vlc crashes when attempting to play dvd

I had the same issue.  I don't know which was the silver bullet (I'm guessing it was number 2 and 4) but I fixed mine after doing the following: 1) reinstalling libdvdread and libdvdnav, 2) adding myself to the group "optical" as stated in the OP, 3) adding dev=/dev/sr0 to my ~/.config/vlc/vlcrc file, and then 4) logging out and logging back in.  After that my dvd played just fine.  Hope this helps someone out there.

Offline

Board footer

Powered by FluxBB