evening all, im not managing to get DVD playback to work. I’ve installed libdvdcss2 from dvd repository. I have also installed libdvdnav4, libdvdread4 and libdvdplay0. Im using VLC to try to play. VLC outputs error as follows.
matt@linux-3o78:~> vlcVLC media player 2.2.4 Weatherwax (revision 2.2.4)
[00000000021360b8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
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
libdvdread: Could not open /dev/sr0 with libdvdcss.
libdvdread: Can't open /dev/sr0 for reading
[00007fdde0000e28] dvdread demux error: DVDRead cannot open source: /dev/sr0
[00007fdde80009b8] core input error: open of `dvd:///dev/sr0' failed
I’m stuck and cant seem to find much experience of others problems. Any help appreciated.
libdvdcss is not the only thing needed for multimedia to work, you need the restricted codecs, where did you get vlc from, do you have and have you done a full vendor change to the packman repo?
post your repo list
followed guide as on http://opensuse-guide.org/codecs.php, did vendor change packman, after which I had no working codecs in totem etc either. I’ve resorted to fluendo codecs for other formats which are now working.
VLC installed via zypper.
matt@linux-3o78:~> zypper info vlc
Loading repository data...
Reading installed packages...
Information for package vlc:
----------------------------
Repository: Packman Repository
Name: vlc
Version: 2.2.4-2.1
Arch: x86_64
Vendor: http://packman.links2linux.de
Installed: Yes
Status: up-to-date
Installed Size: 398.6 KiB
Summary: Video Lan Client multimedia player
Description:
VLC media player is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.
it’s not just vlc it’s a lot of packages
try this
first remove the adobe repo as packman carries a signed version of flash, adobe’s is signed but it’s repo is not signed so it may cause bugs, also adobe’s flash has a different name so you may end up with conflicts, adobe carries flash-plugin while packman flash-player they provide the same package
zypper rr 10
zypper rm flash-plugin
zypper in flash-player
i’ve got gnome flavour running,
tried with data dvd and loads fine. can access via disks to mount and nautilus to browse.
when trying an encrypted video dvd nothing loads and view of discs utility is this,
nothing interesting in dmesg as such, but on trying to stimulate something it has started working. I unplugged driver and replugged, then ejected disk and replaced and started to spin up properly. after which notification to launch VLC was displayed.
355.885813] usb 3-1: new high-speed USB device number 2 using xhci_hcd
356.089646] usb 4-1: USB disconnect, device number 2
371.789153] usb 4-1: new SuperSpeed USB device number 3 using xhci_hcd
371.811814] usb 4-1: New USB device found, idVendor=13fd, idProduct=3609
371.811821] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
371.811826] usb 4-1: Product: USB3.0 DEVICE
371.811829] usb 4-1: Manufacturer: Generic
371.811833] usb 4-1: SerialNumber: 41443030303030303030303030303030
371.814433] usb-storage 4-1:1.0: USB Mass Storage device detected
371.815018] scsi host5: usb-storage 4-1:1.0
372.815916] scsi 5:0:0:0: CD-ROM MATSHITA BD-CMB UJ130AS 1.01 PQ: 0 ANSI: 0
372.822379] sr 5:0:0:0: [sr0] scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
372.822535] sr 5:0:0:0: Attached scsi CD-ROM sr0
372.822591] sr 5:0:0:0: Attached scsi generic sg2 type 5
430.549791] sr 5:0:0:0: [sr0] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
430.549793] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
430.549794] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
430.549795] sr 5:0:0:0: [sr0] CDB: Read(10) 28 00 00 00 04 00 00 00 02 00
430.549796] blk_update_request: I/O error, dev sr0, sector 4096
430.551235] sr 5:0:0:0: [sr0] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
430.551237] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
430.551238] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
430.551239] sr 5:0:0:0: [sr0] CDB: Read(10) 28 00 00 00 04 00 00 00 02 00
430.551240] blk_update_request: I/O error, dev sr0, sector 4096
430.551241] Buffer I/O error on dev sr0, logical block 512, async page read
I had already changed from the packman repo and installed all required packages from the VLC repo (libdvdcss2, libdvdread etc). however this had no effect until I tried the drive, then unplugged/ejected etc and tried again.
I haven’t played a DVD in years I will try and find a DVD so I can test vlc but in the mean time see if your user is a member of the video group (and maybe cdrom)
me as a user I am not a member of those groups, it could be a permission issue
let me find a DVD and I’ll get back to you
your error seams to be libdvdcss2 related, although Linux uses DVD’s differently then windows maybe your DVD drive is set to a different region?
try reinstalling libdvdcss2
The legal alternative is to buy a DVD Player Linux application such as the one offered by the Fluendo folks in Spain.
I haven’t (yet) found out under which conditions openSUSE supports the ‘regionset’ CLI command (it’s not in any of the “normal” packages).
[HR][/HR]Yes, Open Source: “free” only in the sense of licensing; but, there are some things where the people who have studied law have managed to form legal text which is counter-productive for businesses such as the Music and Media industries – the Music and Media industries want to sell their products (Music and Video) to EVERYONE – they have overlooked the fact that not EVERYONE uses particular operating system software . . .
libdvdcss is legal in Europe and most of the world
from
Are libdvdcss and libaacs legal? libdvdcss libdvdcss is a library that can find and guess keys from a DVD in order to decrypt it.
This method is authorized by a French law decision CE 10e et 9e soussect., 16 juillet 2008, n° 301843 on interoperability.
NB: In the USA, you should check out the US Copyright Office decision that allows circumvention in some cases.
VideoLAN is NOT a US-based organization and is therefore outside US jurisdiction.
linux:~ # zypper info libdvdcss2
Loading repository data...
Reading installed packages...
Information for package libdvdcss2:
-----------------------------------
Repository: libdvdcss
Name: libdvdcss2
Version: **1.2.13-5.1**
Arch: x86_64
Vendor: VideoLAN Project (http://www.videolan.org)
Installed: No
Status: not installed
Installed Size: 132.7 KiB
Summary: A library designed for accessing encrypted DVDs
Description:
libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.
linux:~ #
*In Deutschland und weiteren Ländern ist es verboten, Programme zu schreiben oder zu vertreiben, die Kopierschutzmaßnahmen umgehen.
Würde ein deutsches Gericht CSS in letzter Instanz für eine „wirksame technische Maßnahme“ erklären (§ 95a Urheberrechtsgesetz, in der durch Artikel 1 des Gesetzes vom 10. September 2003 geänderten Fassung[6]), so wäre die Benutzung dieser Bibliothek in Deutschland nicht gestattet. So ein Gerichtsurteil gibt es zur Zeit nicht.
I haven’t extracted the all the German text but, the bottom line is, if a German lawyer takes a German citizen to court to “prove the case”, that German lawyer would almost certainly win [current legal situation in Germany].
[HR][/HR]Therefore, the advice to German citizens is: “No risk, no fun!” is OK but, please understand the risk, take your democratic choice and possibly consider consider purchasing a legal DVD Player application.
thanks for the suggestions, i’ve now changed over the VLC repo for all packages inc. libdvdcss2. things now seem to be working fine. with regard to the legality of dvd encryption/access, im certain the world has other priorities to address. I’ve had success with fluendo etc for their codec pack, but i want libdvdcss2 working so I can use handbrake to port my old dvd’s to more modern formats.
no don’t change all the packages to the vlc repo, only get the css package
the vlc packages work but as they don’t provide gstreamer support you’ll break something that uses gstreamer (like phonon on plasma 5 or firefox or a lot of other packages)
do NOT add the vlc repo only install the libdvdcss2 from there!
I’m not sure why packman doesn’t hoist libdvdcss maybe cos they’re in Germany and the German courts haven’t had a ruling regarding libdvdcss, packman gets it’s vlc packages from vlc but packman also has gstreamer and a ton of other multimedia packages that are interdependent mixing repo’s creates a real chance of borking your system.
I still find it funny that the windows version of vlc which includes libcvccss is hosted on tons of sites (a lot of them in the US) and nobody has a problem with it, but the Linux version is a scary thing
I use the OP’s setup, vlc, libdvdcss (from VideoLan) and fluendo codecs as well as handbrake for conversion… I use VLC from VideoLan and is used across multiple devices (android, iOS, osX and linux) with tvheadend to watch free to air tv