I am using GoPro Hero7 Black version to shoot 4K HEVC (H.265) video: https://i.stack.imgur.com/QcbBh.png
Below is the software and hardware configuration I am using:
- VLC 3.0.4
- Ubuntu 18.04 (Bionic Beaver), x86-64 bit
- Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
- https://www.intel.com/content/www/us/en/support/products/88345/graphics-drivers/graphics-for-6th-generation-intel-processors/intel-hd-graphics-530.html]Intel® HD Graphics 530[/url]
Code:
$ vainfo
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
$ VDPAU_DRIVER=va_gl vdpauinfo
HEVC_MAIN --- not supported ---
HEVC_MAIN_10 --- not supported ---
HEVC_MAIN_STILL --- not supported ---
HEVC_MAIN_12 --- not supported ---
HEVC_MAIN_444 --- not supported ---
From the specification, Intel HD Graphics 530 seems to be able to decode 4096x2304@60Hz video streams. However, `vdpauinfo` and `vainfo` do not seem to to agree with each other as far as HEVC decoding capability is concerned. The former says `HEVC_MAIN_*` is not supported while the later returns a valid entry point for `VAProfileHEVCMain` (if that means the capability is supported). The problem during play back in
I tried a few other players as well, here're the results:
- Mplayer, mplayer2, smplayer => There's no gray frames, but it lowers frame rate to an extent such that 30 seconds of video almost takes thrice the recording time to play back.
- mpv => This gives the best result so far. The video plays almost flawlessly, minor choppiness experienced for a brief while once or twice.
- ffplay => Stands still at the first frame.
- VLC => The worst result, the video is lagging, shows gray frames in between and unacceptably choppy.
My questions are:
- VLC media player doesn't seem to support hardware accelerated HEVC (H.265) decoding on Linux. Is my understanding correct?
- Is it possible to render smooth 4K HEVC video with my hardware configuration using any video player on Linux?
- If yes, is there any media player and driver combination on Ubuntu 18.04, 64 bit that can leverage the hardware decoding capability of the Intel HD Graphics 530 while rendering the video?
Bookmarks