Kodi Community Forum
Req NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: VideoPlayer Development (https://forum.kodi.tv/forumdisplay.php?fid=240)
+---- Thread: Req NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? (/showthread.php?tid=325329)

Pages: 1 2 3


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - Klojum - 2019-05-10

(2019-05-10, 13:43)RockerC Wrote: Any news on NVDEC (formerly CUVID decode) hardware accelerated decoding support in Kodi on Linux?

AFAICT, the current sentiments towards Nvidia's latest graphics driver jamboree in Linux have not changed.

Moreover, the shrunken number of developers in Team Kodi in the last 1.5 years gives us really no luxury of taking up additional work.
Sadly we cannot just open up a can of fresh Kodi developers and put them to work just like that. It is what it is.

I use an Nvidia graphics card myself in Ubuntu Linux, so I feel your pain.


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - RockerC - 2019-10-28

FYI; FFmpeg 4.2 (codename "Ada") was released on August 5th in 2019 and among other things added; Support for HEVC 4:4:4 content in nvdec and cuviddec

Interestingly, in off-topic but in somewhat related news (not for this thread); FFmpeg 4.2 version also added; Support decoding of HEVC 4:4:4 content in vdpau 

Still no news about NVDEC NVDECODE (FFmpeg cuviddec) support in Kodi?


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - Klojum - 2019-10-28

(2019-10-28, 14:36)RockerC Wrote: FFmpeg 4.2 (codename "Ada") was released on August 5th in 2019 and among other things added; Support for HEVC 4:4:4 content in nvdec and cuviddec
Interestingly, in off-topic but in somewhat related news (not for this thread); FFmpeg 4.2 version also added; Support decoding of HEVC 4:4:4 content in vdpau 
There have been some changes in the last couple of months which is encouraging. I would like a proper Nvidia video support in a Linux desktop environment, such as Ubuntu which I use as my daily driver in an "office pc". Hopefully one of the LTS 20.04 distros will provide some more possibilities there. AMD probably will be in a next PC setup for me.

In LibreELEC, the chunk of Nvidia users is getting slimmer each time. The uncertain future of Nvidia support isn't helping. It's mostly about the cheaper Raspberry Pi and Android-type box solutions running LibreELEC. I'm not using a full-blown Nvidia HTPC at this time, and I doubt I will do that again. Intel has gained the best seat there.


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - AGLyons - 2019-10-28

Ok, with regards to Libreelec. I think we can safely say Nvidia is on its way out. I'm running an old desktop with an Nvidia 1050.

I can swap the display cards out but the question is to what?

I've tried an AMD RX550 card but got nothing but headaches. No acceleration at all on anything.

Any suggestions?


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - RockerC - 2019-10-28

(2019-10-28, 15:46)AGLyons Wrote: Ok, with regards to Libreelec. I think we can safely say Nvidia is on its way out. I'm running an old desktop with an Nvidia 1050.

I can swap the display cards out but the question is to what?

I've tried an AMD RX550 card but got nothing but headaches. No acceleration at all on anything.

Any suggestions?
No offence but please start a new thread for that question any other off-topic discussions so not to threadjack this thread to discuss other solutions.


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - pgk831 - 2020-01-05

(2018-03-01, 10:15)samsonluk Wrote: For Kodi in my NAS with AMD Turion II Neo N54L, it is definitely required.

Hi, Also have same machine. Please tell me how can i install this codec for ubuntu 18.04. Which Nvidia driver need and how can i compile the ffmpeg codec? NVDEC Thank you


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - RockerC - 2020-10-07

(2019-10-28, 15:18)Klojum Wrote: In LibreELEC, the chunk of Nvidia users is getting slimmer each time. The uncertain future of Nvidia support isn't helping. It's mostly about the cheaper Raspberry Pi and Android-type box solutions running LibreELEC. I'm not using a full-blown Nvidia HTPC at this time, and I doubt I will do that again. Intel has gained the best seat there.

@Klojum NVDEC support in Kodi's FFmpeg might be of more interest to developers now that Nvidia launched this new budget NVIDIA Jetson Nano 2GB single-board computer devkit for only $54 (or $59 with a Wi-Fi USB dongle)?

https://forum.kodi.tv/showthread.php?tid=357522

https://developer.nvidia.com/embedded/jetson-nano-2gb-developer-kit

Biggest difference the NVIDIA Jetson Nano and a Raspberry Pi 4 is the more powerful Nvidia GPU in the Jetson Nano and game emulation with RetroPlayer is another reason for wanting it instead.

https://www.cnx-software.com/2020/10/06/nvidia-jetson-nano-2gb-developer-kit/

A similar but beefier and slightly more costly NVIDIA Jetson Nano Developer kit with a 4GB RAM SBC that also has DisplayPort, more USB 3.0 ports, an M.2 Key E socket, PoE support, plus one additional CSI camera connector was introduced in March 2019 for $99 US:

https://forum.kodi.tv/showthread.php?tid=342261


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - RockerC - 2020-10-07

Nvidia Jetson L4T board support package documentation for multimedia (including V4L2 API for encoding, decoding, scaling, and other media functions)
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fmultimedia.html%23

Kodi fork for Nvidia Jetson Nano with OpenGL ES (GLES) GPU hardware acceleration and NVDEC video decoding on its Nvidia type Tegra SoC
https://github.com/aliubimov/xbmc/tree/feature/tegra-support

FFmpeg for NVIDIA's L4T Multimedia API
https://github.com/jocover/jetson-ffmpeg https://developer.nvidia.com/nvidia-video-codec-sdk

NVIDIAVideo Codec SDK
https://developer.nvidia.com/nvidia-video-codec-sdk

Nvidia V4L2 Video Decoder (V4L2 NV Extensions API)
https://docs.nvidia.com/jetson/l4t-multimedia/group__V4L2Dec.html

Script for compiling FFmpeg with Nvidia NVENC (Nvidia hardware accelerated video encoding) support enabled: 
https://github.com/yachtcloud/ffmpeg-nvenc

Docker container with Kodi build for aarch64 architecture (ARM64) with support of NVIDIA Linux For Tegra.
https://hub.docker.com/r/aliubimov/kodi-tegra

Nvidia' official getting started guide for Jetson Nano 2GB:
https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-2gb-devkit

Guide for running Linux OS on Nvidia Jetson Nano from an USB drive / USB disk or SSD via the USB 3.0 port
https://www.jetsonhacks.com/2019/09/17/jetson-nano-run-from-usb-drive/


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - RockerC - 2020-10-21

What are the reasons today for not building Kodi's FFmpeg with NVIDIA NVDEC and CUDA support enabled?

https://forum.kodi.tv/showthread.php?tid=327755
 
Noticed that Kodi 19.x "Matrix" Alpha 1 has already been upgraded to use FFmpeg 4.3.1 (FFmpeg 4.3):

https://github.com/xbmc/xbmc/pull/18166

https://github.com/xbmc/FFmpeg/

Not that FFmpeg version should matter as FFmpeg 4.0 could be built with nvdec support?
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.3.1:/Changelog
https://trac.ffmpeg.org/wiki/HWAccelIntro


RE: NVDEC (NVDECODE API) support in Kodi to decode 4K/8K 10-bit/12-bit HDR on Linux? - RockerC - 2021-06-02

Any news about enabling NVDEC support in ffmpeg builds for Kodi/XBMC?

Noticed that FFmpeg 4.4 release now also mention "NVDEC AV1 hwaccel"

https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/refs/heads/release/4.4:/Changelog

By the way, FFmpeg 4.4 mention VDPAU accelerated 10-bit and 12-bit decoding as well

"VDPAU accelerated HEVC 10/12bit decoding"

"VDPAU accelerated VP9 10/12bit decoding"