2

I installed Ubuntu 22.04 and typed the following in the command terminal:

sudo apt install ubuntu-restricted-extras && sudo apt install vlc

I accepted the t&cs and it seemed to install OK (no error messages). Unfortunately I cannot play DVDs with either "videos" or vlc. With vlc, I get the following error message on the video screen when trying to play the film Bohemian Rhapsody:

Your input can't be opened:

VLC is unable to open the MRL 'file:///media/chris/BOHEMIAN_RHAPSODY/VIDEO_TS/VTS_01_0.VOB'. Check the log for details.
Bruni
  • 11,099

4 Answers4

3

Have you installes libdvd-pkg

sudo apt install libdvd-pkg

And then

sudo dpkg-reconfigure libdvd-pkg
Bruni
  • 11,099
1

I have 2 systems that I upgraded from ubuntu server 20.04/10 to 22.04 and 1 system with a clean install of ubuntu server 22.04 that all had the same problem. It manifested itself by not running my bash scripts containing vlc commands to grab rtsp:// streams from several security camera's scheduled by crontab. Unfortunately, none of these suggestions worked, as neither did multiple other fixes found by searching for hours.

I remembered seeing a reference in one post https://forum.videolan.org/viewtopic.php?f=13&t=158071&p=520527 about the ubuntu vlc debs package not supporting rtsp:// but the snap package did. I fully removed and purged the debs vlc:

sudo apt remove --purge vlc libdvd-pkg libdvdcss2 {any other packages installed to support vlc}

and installed snap vlc:

sudo snap install vlc

with joyful success.

For me this was a case of support specifically for rtsp:// but maybe it will work for other problems too. I've used ubuntu debs vlc for years. Why are they now not supporting rtsp:// streams? Huh! Pushing the snap package I suppose.

Tim C.
  • 21
0

Ensure libdvdcss2 is installed as well as previous recommendations.

0

I solved the issue by getting VLC from repository ppa:videolan/master-daily instead of default one:

  1. sudo add-apt-repository ppa:videolan/master-daily
  2. sudo apt-get update
  3. sudo apt install vlc

There may be a better way fixing the bug that occurred with upgrading from 20.04 to 22.04, but at least it worked, while re-installation and dpkg-reconfigure didn't...