
Photo: libre-software.net. License: CC BY-SA 4.0
Install DVD support (libdvdcss) on Debian or Ubuntu
Last updated on October 10, 2022

DVD support through libdvdcss may also be needed by Handbrake (video encoding software)
In earlier Ubuntu releases, DVD support as well as many other media codecs were available through the Medibuntu repositories, unfortunately these have now been shut down.
Where do I find libdvdcss?
VideoLAN, the project behind VLC Media Player, hosts the last stable version of the libdvdcss library for debian-based Linux distributions. For RPM-based distributions such as CentOS, Red Hat, Fedora, SUSE, take a look at this DVD support how-to.
Installation Method 1: install libdvdcss2 through .deb packages
This is the easiest way to install DVD support, it doesn’t involve using the command line. Download the i386 (32-bit systems) or amd64 (64-bitsystems) version of the libdvdcss2 package from VideoLAN (the organization behind the VLC media player).
Open the downloaded file with the GDebi Package Installer, which is probably already installed on your system. Click install and you’re done already.
If you want to stick with the command line, install the downloaded .deb-package with the following command (use Tab ↹ to autocomplete the file name):
sudo dpkg -i libdvdcss2_version_arch_.deb
Newer versions of libdvdcss are only available as .tar.gz:
VideoLAN » Public » libdvdcss » last
(opens in a new window)
Installation Method 2 (recommended): libdvdcss2 repositories
VLC has its own help page on how to install libdvdcss through its repositories. Check it out here and follow the instructions to install repository and public key. Finally you may install DVD support through your system’s package manager (e.g. Synaptic) or with the following command lines:
sudo apt install libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg
You should now be able to play DVDs on Ubuntu, Linux Mint no-codecs flavors as well as other Debian-based Linux distros.
By Johannes Eva, October 2013 – October 2022
10 thoughts on “AVIF browser test page: AVIF support in Chrome, Firefox, Edge…”
Ezgif even does animated AVIFs:
https://ezgif.com/avif-maker
AVIF is now supported in official Firefox 93:
https://www.mozilla.org/en-US/firefox/93.0/releasenotes/
Could you make a similar page for a JPEG XL test?
Thank you for your interest – a JPEG XL test page would be useful, but I have no time left at the moment. Hopefully at some time in 2022 🙂
The following plugin, coupled with the functions.php code mentioned in the post, will allow AVIF images to be uploaded via the Media Library.
https://wordpress.org/plugins/blob-mimes/
Sadly your site need javascript enable for the test avif vs jpeg. If noscript bloc everything, this page say that AVIF is not supported and display JPEG fallback.
In JS dependences there is also google-analytics that is not fair play for a libre-software website :(.
Thank you for your article anyway.
Actually, AVIF/JPEG fallback using the element is pure HTML and does not need Javascript, even on this site. And you’re right, I really should switch from GA to Matomo, it’s a matter of time. Cheers!
Nice article. Love how you included a detailed tutorial for WordPress. I have created a UX optimized converter that support bulk conversion, without the need of uploading files. You can find it on: https://avif.io/
The next update will include a settings panel on which you can edit the quality, effort and exif data.
Feel free to add it to the converter list if you feel like it’s a great addition. Sincerely, Justin
MConverter can convert most image formats to AVIF: https://mconverter.eu/convert/to/avif/
Another nice thing is that it supports batch converting of multiple files at the same time. For the compression it uses a CRF of 10, so the converted images look basically identical.
No option for android
I found this it really helped me and it support batch conversion please add it to the list:
https://play.google.com/store/apps/details?id=ebusky.avif.image.viewer.converter.pdf