Is h264_nvenc supported on ffmpeg?

I’m trying to use the h264_nvenc hardware encoder on Nvidia Orin NX via ffmpeg. The default build of ffmpeg that is installed by apt, only has support for nvdec. Looking for a build configuration, I found this resource which seemingly shows how to use nvenc via ffmpeg: https://docs.nvidia.com/video-technologies/video-codec-sdk/pdf/Using_FFmpeg_with_NVIDIA_GPU_Hardware_Acceleration.pdf

However, in another post it’s said that ffmpeg does not support nvenc: Jetson Orin 64 (dev) ffmpeg nvenc h264 codec issues

Can anyone clarify which is it? Is it somehow platform dependent?

My goal is to use the C api.

Hi,
No, on Jetpack platforms we support hardware decoding in ffmpeg, and hardware encoding is not supported. Please check the section in developer guide:

Accelerated Decode with ffmpeg — NVIDIA Jetson Linux Developer Guide 1 documentation

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