how to use nvdecode module in Jetson tx2

Hi, I’ve got tx2 with JetPack 4.2. Now, I want to use hardware decode for video.

I find that there is a module called nvdecode, which seems to complete such jobs.

Is there any material to get started ? Many thanks !

Hi,
Please check gstreamer and tegra_multimedia_api documents:
[url]Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation
[url]https://developer.nvidia.com/embedded/dlc/l4t-multimedia-api-reference-32-1[/url]

Thanks for your quick reply. I’ve got another question. Can tegra_multimedia_api capture RTSP video streaming ? If can, what should I do?

Thanks in advance.

Hi,
tegra_multimedia_api is low level APIs and you have to integrate into your usecase. For rtsp, you may check live555 http://www.live555.com/

For a quick solution, you may use gstreamer:
[url]https://devtalk.nvidia.com/default/topic/1018689/jetson-tx2/vlc-playing-gstreamer-flow/post/5187270/#5187270[/url]
[url]https://devtalk.nvidia.com/default/topic/1014789/jetson-tx1/-the-cpu-usage-cannot-down-use-cuda-decode-/post/5188538/#5188538[/url]
[url]https://devtalk.nvidia.com/default/topic/1043770/jetson-tx2/problems-minimizing-latency-and-maximizing-quality-for-rtsp-and-mpeg-ts-/post/5295828/#5295828[/url]

Got it. I’ve got the solution with gstreamer. Many thanks!