How to use hw encoder directly?

Hi, all.
I want to use jetson’s hw encoder directly.
But I can’t find related source code.

Where I get gstreamer 0.1 or 1.0 source code about omx_nv~~~?

Actually, I want to use HW encoder on the ffmpeg.

Plz, help me.

The only official API for the video codec is GStreamer. Internally it’s implemented on top of OMX but there’s no documentation of it.

You can find the GST sources from the current release page:
https://developer.nvidia.com/linux-tegra-r213