NVIDIA FFMPEG distribution no nvenc

Did I missed something or why does the distribution NVIDIA compiled of FFMPEG for the Jetson Linux has no NVENC encoder support?
I though the version of packages they distribute are configured for best supporting and utilizing the Jetson platform?

Or is there maybe a better solution than NVENC for hardware accelerated HEVC to AV1 transcoding?

Hi,
We enable hardware decoding in ffmpeg. Please check

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

For using hardware encoding, please consider use jetson_multimedia_api. The samples are in

/usr/src/jetson_multimedia_api/

Document:

Jetson Linux API Reference: Main Page | NVIDIA Docs

Hi, thanks for the quick response.

  • So ffmpeg doesn’t support hardware encoding?
  • Why no NVENC?
  • The docs don’t list AV1 for hardware decoding, but it’s listed in the DataSheet for the Orin NX. So my question is there a reason why the NVIDIA FFMPEG don’t support AV1? If not, i probably rather compile ffmpeg on my own with more flags to support hardware decode and encode via NVENC…

But coding it my self also sound fun but i’m very interested in why the ffmpeg build is that outdated as it would be a simple option to show off the capabilities of Jetson media capabilities i guess…

Hi,
We have the hardware functions fully supported in jetson_multimedia_api. So would suggest use it if you would like to use hardware encoding. Or may consider use gstreamer.

Thanks for the response. Does NVIDIA or you have an example gstreamer pipeline for converting h264 4k mp4 into av1 mkv as the one i created which is partly based on the documentation from NVIDIA is almost double the size of the original file. (also it should be best optimized for the Jetson Orin NX hardware.

gst-launch-1.0 filesrc location=input.mp4 ! qtdemux name=demux \                                             
    demux.video_0 ! h264parse ! nvv4l2decoder ! nvv4l2av1enc qp-range="35,35:35,35:35,35" ! queue ! mux. \
    demux.audio_0 ! aacparse ! queue ! mux. \
    matroskamux name=mux ! filesink location=output2.mkv -e

Hi,
Please remove setting qp-range and set desired bitrate to nvv4l2av1enc plugin.

1 Like

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