FFmpeg hardware acceleration on Jetson TX2i

I’m compiling FFmpeg from source so that I can enable hardware accelerated decoding and encoding on the Jetson TX2i boards while also enabling a few other libraries that are also needed.

What do I need to do have installed, and what flags do I need to pass to ffmpeg’s ./configure script to enable hwaccel?

Hi,
Please refer to the posts:
Jetson TX2 and FFmpeg - Can't initialize nvrm channel - #5 by DaneLLL
Hardware accelerated video playback with L4T ffmpeg - #7 by DaneLLL

Thank you for the quick response, @DaneLLL.

Does this enable both hardware accelerated decoding and encoding, or only decoding?

Hi,
It enables only decoding. There is a community contribution that enables encoding and decoding. Please check Jetson Nano FAQ

Q: Is hardware acceleration enabled in ffmpeg?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.