LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-03-2018, 03:34 AM   #1
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
xine and libdvdcss


I'm using Slackware 14.2 64 bit

I use xine very infrequently. Probably used it last in about early 2017.

I've got a project I'm about to start to transfer some stored videos from a DVD HDD player to DVDs.

I transferred the first two videos to DVD and finalised them.

Tried to read them with xine but it failed and presented two message boxes

Quote:
The source can't be read. Maybe you don't have enough rights for this, or source doesn't contain data (e.g: not disc in drive). (/dev/sr0)
Quote:
- xine engine error-
There is no input plugin available to handle 'dvd:/'.
Maybe MRL syntax is wrong or file/stream source doesn't exist.
When xine is started from the command line I see these messages

Quote:
This is xine (X11 gui) - a free video player v0.99.9.
(c) 2000-2014 The xine Team.
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
vo_vdpau: vdpau API version : 1
vo_vdpau: vdpau implementation description : OpenGL/VAAPI backend for VDPAU
vo_vdpau: maximum video surface size for chroma type 4:2:2 is 4096x4096
vo_vdpau: maximum video surface size for chroma type 4:2:0 is 4096x4096
vo_vdpau: maximum output surface size is 8192x8192
vo_vdpau: Failed to check vdpau get/put bits native capability : VDP_STATUS_NO_IMPLEMENTATION
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Could not open /dev/sr0 with libdvdcss.
libdvdread: Can't open /dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Could not open /dev/sr0 with libdvdcss.
libdvdread: Can't open /dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD

I then tried MPlayer which played the DVD successfully. Though MPlayer doesn't have the right 'feel' for what I wanted to see.

Went back to xine and played around with it's configuration file - no success DVD still wouldn't play.

Started an instance of 14.1. That played the DVD successfully. These were the details from 14.1

Quote:
This is xine (X11 gui) - a free video player v0.99.7.
(c) 2000-2010 The xine Team.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
libdvdread: Using libdvdcss version 1.2.13 for DVD access

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 0x00000290
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000b00
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000b68a0
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0

*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in ../input/libdvdnav/nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in ../input/libdvdnav/nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***




-rw-r--r-- 1 root root 1914 Mar 27 2014 phonon-xine-4.4.4-i486-1
-rw-r--r-- 1 root root 968 Mar 27 2014 xineramaproto-1.2.1-noarch-1
-rw-r--r-- 1 root root 12043 Mar 27 2014 xine-lib-1.1.21-i686-2
-rw-r--r-- 1 root root 8130 Mar 27 2014 xine-ui-0.99.7-i686-1
-rw-r--r-- 1 root root 2937 Mar 29 2014 libdvdcss-1.2.13-i486-1_SBo




brw-rw---- 1 root cdrom 11, 1 Oct 2 22:25 /dev/sr1
brw-rw---- 1 root cdrom 11, 2 Oct 2 22:25 /dev/sr2
brw-rw---- 1 root cdrom 11, 0 Oct 2 22:27 /dev/sr0



lrwxrwxrwx 1 root root 3 Oct 2 22:27 /dev/dvd -> sr0


uid=1001(alex) gid=100(users) groups=100(users),7(lp),12(mail),15(man),16(dialout),17(audio),19(cdrom),20(games),21(slocate),27(my sql),33(sshd),50(ftp),83(plugdev),86(netdev),93(scanner),210(clamav),215(vboxusers),220(rdiff-backup),998(pico)

Went back to 14.2 and removed libdvdcss.

Success 14.2 now plays the DVD using xine. I get these messages on the command line

Quote:
This is xine (X11 gui) - a free video player v0.99.9.
(c) 2000-2014 The xine Team.
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
vo_vdpau: vdpau API version : 1
vo_vdpau: vdpau implementation description : OpenGL/VAAPI backend for VDPAU
vo_vdpau: maximum video surface size for chroma type 4:2:2 is 4096x4096
vo_vdpau: maximum video surface size for chroma type 4:2:0 is 4096x4096
vo_vdpau: maximum output surface size is 8192x8192
vo_vdpau: Failed to check vdpau get/put bits native capability : VDP_STATUS_NO_IMPLEMENTATION
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
*** Zero check failed in src/ifo_read.c:563
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: DVD Title: DVD_VIDEO_RECORDER
libdvdnav: DVD Serial Number: 4d428895DVD_UDF
libdvdnav: DVD Title (Alternative): DVD_VIDEO_RECORDER
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: Language 'en' not found, using 'ja' instead
libdvdnav: Menu Languages available: ja
libdvdnav: Language 'en' not found, using 'ja' instead
libdvdnav: Menu Languages available: ja

*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***


I can't remember why I installed libdvdcss. It was a long long time ago - pre 2014. I don't think I have any packages installed from SlackBuilds.org that have a requirement for libdvdcss.

Time will tell whether I need libdvdcss or not. I'm sure if it does eventually cause me a problem it will be at the most inconvenient time.

So for me at the present time the problem is solved. If someone wants to advise me as to what the problem was and how to allow libdvdcss to interact successfully with xine, I will put a bit of time into testing a solution.
 
Old 10-03-2018, 02:37 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Been down this road recently enough.

Did you make a data cd? If not, you can't mount it to a dir, and point xine or any such thing at it. Then the exchange would be

mount /dev/sr0 /<somewhere>
xine /<somewhere>/<some_file>
 
Old 10-04-2018, 12:44 AM   #3
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by business_kid View Post
Did you make a data cd?
Nope, it was a video DVD that played perfectly once I removed libdvdcss from my system.

The same DVD also plays perfectly on my DVD/HDD player.
 
Old 10-04-2018, 10:42 AM   #4
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
As version 1.2.6 of xine-lib running in 14.2 was a bit old, 2014-07-06, I elected to install the latest version of xine-lib. This latest version is used in Slackware current.

So on my 14.2 I've upgraded

xine-lib from 1.2.6 to 1.2.9
xinu-ui from 0.99.9 to 0.99.10

tested xine - it successfully played a DVD

reinstalled libdvdcss, version 1.4.0, from SlackBuilds. Don't know why I need this, though at some stage in the distant past I must have needed libdvdcss for some reason.

tested xine - it successfully played a DVD

Problem solved.
 
Old 10-04-2018, 11:09 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by aikempshall View Post
I can't remember why I installed libdvdcss. It was a long long time ago - pre 2014.
If it was from 2014, it would've been built for -current at the time or 14.1 since 14.2 hadn't been released yet (it wasn't until 2016). I suppose when installing it to 14.2, it could've been broken as it might've relied on other versions of programs that were no longer there (or had been upgraded). Then when xine tried using it, it caused issues (and maybe mplayer didn't even try to use it or was able to proceed even if libdvdcss was broken).

But this is all conjecture. I'm glad you got the problem resolved
 
Old 10-04-2018, 11:28 AM   #6
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
libdvdcss is required only if you want to play encrypted commercial DVDs, and is supposed to prevent copying them, or playing them on unauthorised devices.
 
  


Reply



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
libdvdcss installed and DVD video still scrambled in xine statguy Slackware 14 12-31-2008 06:49 AM
Removed Totem and installed (Xine, Kaffeine,Xinetd,Xine-ui & libdvdcss) Balarabay1 SUSE / openSUSE 2 03-19-2006 08:31 PM
How do I downgrade from a libdvdcss-1.2.9 rpm to libdvdcss-1.2.6 compiled from source LiquidSlumber Linux - Software 2 02-17-2006 11:18 PM
xine + libdvdcss +playing dvd's +suse 9.2 department27 Linux - Newbie 3 03-15-2005 04:20 PM
xine and libdvdcss Belegdol Linux - Software 2 04-23-2004 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration