2018-10-12, 02:35
Hi all,
After reading several posts about limited hevc 4k 10bit support for Linux systems I've been playing around to see if I can get hardware accelerated playback for hevc 4k 10bit by compiling ffmpeg with Nvidia NVDECODE support. After I configured an externalplayer with the file below I see some improvements and playback seems to be hardware accelerated (with this the cpu load comes down from 2.0-2-4 to 0.8-1.0)
I'm wondering: Isnt it as simple as to use a compiled ffmpeg version, during the official kodi-build, with a ffmpeg version that include nvidia support?
Info:
https://developer.nvidia.com/ffmpeg
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
https://gist.github.com/Brainiarc7/3f7695ac2a0905b05c5b
After reading several posts about limited hevc 4k 10bit support for Linux systems I've been playing around to see if I can get hardware accelerated playback for hevc 4k 10bit by compiling ffmpeg with Nvidia NVDECODE support. After I configured an externalplayer with the file below I see some improvements and playback seems to be hardware accelerated (with this the cpu load comes down from 2.0-2-4 to 0.8-1.0)
Code:
<playercorefactory>
<players>
<player name="TestPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>/home/drempel/bin/ffplay</filename>
<args>-vcodec hevc_cuvid "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule name="local-videos" audio="false" video="true" internetstream="false" filetypes=".*" player="TestPlayer" />
</rules>
</playercorefactory>
Info:
https://developer.nvidia.com/ffmpeg
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
https://gist.github.com/Brainiarc7/3f7695ac2a0905b05c5b