Author Topic: [ SOLVED ] Vlc won't play DVDs.  (Read 2329 times)

Locator

  • Vectorian
  • ****
  • Posts: 876
[ SOLVED ] Vlc won't play DVDs.
« on: May 28, 2020, 08:16:14 pm »
every time I try to play one, the following message pops up: "Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr1'. Check the log for details." - and I don't know where the log files are located. I've tried with different DVDs, and the end result is exactly the same each time.
« Last Edit: May 31, 2020, 11:11:42 pm by Locator »

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #1 on: May 29, 2020, 03:56:44 am »
Optical drives are named in sequence,
/dev/sr0 is the first one found,
/dev/sr1 is the next

If you have two DVD drives, try moving the disc to the other one.

If not, change the setting in VLC from "sr1" to "sr0"

Locator

  • Vectorian
  • ****
  • Posts: 876
Re: Vlc won't play DVDs.
« Reply #2 on: May 29, 2020, 12:06:47 pm »
I have tried both sr0 and sr1 - both with the same result. And I still don't know where the log file is that  they refer to.

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #3 on: May 29, 2020, 08:00:13 pm »
I remember the VLC build was troublesome in the late days of VL.
Try some of the packages from here:
http://www.slackware.com/~alien/slackbuilds/vlc/pkg/

Locator

  • Vectorian
  • ****
  • Posts: 876
Re: Vlc won't play DVDs.
« Reply #4 on: May 29, 2020, 08:07:01 pm »
I just tried that, and got an error message that read:

"Failed to execute command "/usr/bin/vlc --started-from-file %U".

Failed to execute child process "/usr/bin/vlc" (No such file or directory)".
« Last Edit: May 29, 2020, 08:28:30 pm by Locator »

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #5 on: May 30, 2020, 04:38:22 am »
That sounds like a 32-bit pkg on a 64-bit system. Try again with one from here:
http://www.slackware.com/~alien/slackbuilds/vlc/pkg64/

I'd say start with the 14.2 version and work your way backwards if it doesn't work.

Locator

  • Vectorian
  • ****
  • Posts: 876
Re: Vlc won't play DVDs.
« Reply #6 on: May 30, 2020, 10:14:29 am »
I tried that, and now VLC won't even try to start. The error message that I get (when I try to run it in terminal mode) is:

"root:# vlc
vlc: error while loading shared libraries: libidn.so.12: cannot open shared object file: No such file or directory"

So what do I nee to do to correct that error?
« Last Edit: May 30, 2020, 12:29:00 pm by Locator »

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #7 on: May 31, 2020, 05:12:56 am »
The underlying system libraries are not compatible with the application. If you tried all those packages without any luck, move on to something else. Try using smplayer instead.

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #8 on: May 31, 2020, 06:16:18 am »
FWIW though, on my test system the 14.0 version works fine. Launches without errors and plays DVDs out of the box.

Did you try this one? http://www.slackware.com/~alien/slackbuilds/vlc/pkg64/14.0/vlc-2.1.4-x86_64-1alien.txz

Locator

  • Vectorian
  • ****
  • Posts: 876
Re: Vlc won't play DVDs.
« Reply #9 on: May 31, 2020, 08:18:37 am »
FWIW though, on my test system the 14.0 version works fine. Launches without errors and plays DVDs out of the box.

Did you try this one? http://www.slackware.com/~alien/slackbuilds/vlc/pkg64/14.0/vlc-2.1.4-x86_64-1alien.txz

I even tried that - same result. How should I go about correcting the problem (short of re-installing the operating system "from scratch")?

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #10 on: May 31, 2020, 10:27:14 am »
To help search for clues, post the output of these commands:
cat /etc/vector-version
grep vlc /var/log/pkgtools
ls -al /usr/lib64/libidn.so*

Locator

  • Vectorian
  • ****
  • Posts: 876
Re: Vlc won't play DVDs.
« Reply #11 on: May 31, 2020, 02:36:21 pm »
Code: [Select]
[code]doctor:$ cat /etc/vector-version
647.2 STD FINAL built on Aug-03-2017
vector:/~
doctor:$ grep vlc /var/log/pkgtools
2020-05-26 19:30:18 Installed new: vlconfig2-7.1_2-x86_64-1vl72.txz
2020-05-26 22:09:13 Installed new: vlc-2.2.4-x86_64-1vl72.txz
2020-05-28 20:53:05 Removed: vlc-2.2.4-x86_64-1vl72-upgraded-2020-05-28,20:53:02
2020-05-28 20:53:05 Upgraded: vlc-2.2.4-x86_64-1vl72 to vlc-2.2.4-x86_64-1vl72.txz
2020-05-29 23:10:27 Removed: vlc-2.2.4-x86_64-1vl72
2020-05-29 23:37:40 Installed new: vlc-2.2.4-x86_64-1vl72.txz
2020-05-30 15:18:32 Removed: vlc-2.2.4-x86_64-1vl72-upgraded-2020-05-29,23:39:02
vector:/~
doctor:$ ls -al /usr/lib64/libidn.so*
lrwxrwxrwx 1 root root     16 May 26 15:26 /usr/lib64/libidn.so -> libidn.so.11.6.8*
lrwxrwxrwx 1 root root     16 May 26 15:26 /usr/lib64/libidn.so.11 -> libidn.so.11.6.8*
-rwxr-xr-x 1 root root 206664 May 26  2014 /usr/lib64/libidn.so.11.6.8*
[/code]

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #12 on: May 31, 2020, 02:47:58 pm »
Okay, I do not see that you installed vlc-2.1.4-x86_64-1alien.txz from my link above.

Locator

  • Vectorian
  • ****
  • Posts: 876
Re: Vlc won't play DVDs.
« Reply #13 on: May 31, 2020, 04:06:17 pm »
I just now tried to install vlc-2.1.4-x86-alain.txz, as suggested, then I ran those three commands again - and it DIDN'T show up in the. results. So it seems that for some reason my system won't let it install. (I am using VLocity64).

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4508
Re: Vlc won't play DVDs.
« Reply #14 on: May 31, 2020, 07:27:09 pm »
..
Not sure what commands you used, so let's back up a few steps..

Let's say your download went to ~/Downloads/vlc-2.1.4-x86_64-1alien.txz
Open a terminal and change to the Downloads directory:
Code: [Select]
cd ~/Downloadsbecome root:
Code: [Select]
su
<enter root password>
install the package:
Code: [Select]
installpkg vlc-2.1.4-x86_64-1alien.txz