Just you have chosen a good mоvie to watch, you are seated comfortably in an armchair with pack of popcorn, clicked on your favorite media player VideoLAN and… bang! Error!
VLC does not support the audio or video format “hevc”. Unfortunately there is no way for you to fix this.
The error message above is not really correct. There is a way to fix it! All you need is libde265 – an open source implementation of the h.265 video codec. The easiest way to install it on your computer is to add the corresponding PPA that contains Ubuntu packages of the libde265 library, plugins for the GStreamer framework, VLC and required dependencies. Just open the terminal (Ctrl + Alt + T) and type the following commands:
This will add the PPA repository:
sudo apt-add-repository ppa:strukturag/libde265
sudo apt-get update
…and this will install VLC plugin:
sudo apt-get install vlc-plugin-libde265
The solution described above to open mkv file with H.265 HEVC codec is working perfectly for me on Ubuntu 14.04. If you have troubles with it, you can try to disable the Universe repository and add the PPA djcj/vlc-stable in order to install the latest stable VLC version.
In a terminal run this command
Then open Synaptic as Administrator:
Go to Settings -> Repositories and uncheck the Universe repo.
Restart your player and enjoy the movie!