HOWTO: Play/load HEVC (h.265) mkv files in gstreamer apps

Share your own howto's etc. Not for support questions!

HOWTO: Play/load HEVC (h.265) mkv files in gstreamer apps

Postby stevepusser » 2016-09-30 20:50

This newer codec requires a newer package that's not in Debian or the vanilla Ubuntu repositories. I ported over the libde265-gstreamer* packages from a PPA. The codec is still rather uncommon, but is the future (probably).

For example, Totem (Videos) for the GNOME desktop can play h.264 mkv files with stock Jessie packages, but for HEVC requires libde265-gstreamer1.0, as does the backported gnome-subtitles I have in the repo below. The stock Jessie gnome-subtitles would use libde265-gstreamer0.10.

These packages live in my Jessie multimedia-backports repository:

Code: Select all
deb http://download.opensuse.org/repositories/home:/stevepassert/Debian_8.0/ /


See the linked thread for directions on how to add the repository key.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8220
Joined: 2009-10-06 05:53

Re: HOWTO: Play/load HEVC (h.265) mkv files in gstreamer app

Postby debiman » 2016-10-02 21:20

erm.
HEVC is pretty effing common if you ask me.

anyhow, it depends a lot on hardware.
only newer graphic chips / gpus are able to handle it.
software rendering is possible, but requires a fast cpu.
(in other words, if your cpu is that fast, chances are it is also new enough that some other component supports hardware hevc decoding - or, otoh, if your gpu isn't up to it, chances are that your cpu isn't, either).

not critcizing, just additonal info.
User avatar
debiman
 
Posts: 969
Joined: 2013-03-12 07:18

Re: HOWTO: Play/load HEVC (h.265) mkv files in gstreamer app

Postby stevepusser » 2016-10-02 21:34

Well, my 2012 vintage lower end laptop can handle 1080p hevc videos with this hardware:

Code: Select all
System:    Host: stevesmachine Kernel: 4.7.0-0.bpo.1-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.2
CPU:       Single core AMD A6-4400M APU with Radeon HD Graphics (-HT-) cache: 1024 KB
           clock speeds: max: 2700 MHz 1: 1700 MHz 2: 2400 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7520G]
           Display Server: X.Org 1.16.4 driver: fglrx Resolution: 1366x768@60.07hz
           GLX Renderer: AMD Radeon HD 7520G GLX Version: 4.5.13416 - CPC 15.201.1151


It uses some more CPU for playback than h.264, but not grotesquely more.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8220
Joined: 2009-10-06 05:53


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable