V4L2 Encoder IOCTL Implementation

Hello everyone,

I would like to know if the NVIDIA specific V4L2 controls for H264/5 encoding listed here are implemented in an open source code or if it is proprietary?

So far by looking into the kernel code I think that those calls might be implemented in these binaries:

nvhost_nvenc050.fw
nvhost_nvenc061.fw
nvhost_nvenc070.fw

But I would like some confirmation from the NVIDIA team.

Thanks in advance.

Best regards,
Jimena Salas

Hi,
All public code is in

/usr/src/jetson_multimedia_api/samples/common/classes/

For video encoding it uses NvVideoEncoder class. If you prefer not to use the class, you can take a look at:

/usr/src/jetson_multimedia_api/samples/unittest_samples/encoder_unit_sample/

And low level code is not public. It is built in libtegrav4l2.so and libnvmmlite_video.so.

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