How to install H.265 / HEVC codec on Ubuntu Linux v17 +
11,310
gstreamer1.0-libav supports video/x-h265 (HEVC) in Ubuntu 17.10 and later in Totem media player.
H.265 is the successor to H.264 which gstreamer1.0-libav also supports in Ubuntu 17.10 and later. To install it open the terminal and type:
sudo apt install gstreamer1.0-libav
Related videos on Youtube
Author by
Jamie Hutber
Updated on September 18, 2022Comments
-
Jamie Hutber almost 2 years
I would like to be able to play HEVC files in Ubuntu v18 but I know since version 17 the following plugin is not installable:
hutber@hutber ~ $ sudo apt-get install vlc-plugin-libde265 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package vlc-plugin-libde265
Is it possible to get these files working in 18 without having to use the chrome app to play them?
-
Jamie Hutber over 5 yearsThanks Karel... One question, which player would I use to use this codec?
-
Jamie Hutber over 5 yearsForgive me Karel, but I do already have VLC installed. But can't find anywhere to set the player to use
gstreamer
. -
Jamie Hutber over 5 yearsI have updated the question with images of my settings
-
doug over 5 yearsgstreamer1.0-libav only is used by gtreamer apps like totem. Vlc & mpv support hevc thru ffmpeg libraries and will play out of the box.
-
Admin over 5 years@doug - You should consider posting your comment as an answer saying that with most and best players (vlc, mpv, smplayer, gnome-mpv) that package is not needed. First of all, the basic question is whether that codec is needed or not; and second the OP seem to prefer VLC.
-
Admin over 5 yearsuninstalling the package, mpv, smplayer, vlc and kaffeine can still play HEVC samples from x265.com/hevc-video-files
-
Jamie Hutber over 5 yearsVLC certainly doesn't support it out of the box :p I'm on version 4 and still the video does not play. The video comes up, but it will only display 1 frame and then not move. I know that it is not my hardware as it works perfectly when in Potplayer on windows
-
Jamie Hutber over 5 yearsHumm ok, the trial videos work given on that page... But I am using gopro hero6 and the files are certainly HEVC and 1080 240fps
-
Jamie Hutber over 5 yearsOh, it seems if I pass the following to VLC it works a lot better:
--avcodec-threads=12 --avcodec-hw=none --rate=0.90