Does Orin NX support 10-bit AV1 encoding?

I’m getting these errors, when I try:

NvMMLiteVideoEncDoWork:NvEncNvVicConvertSurfaceFormat failed
NvVideoEncTransferOutputBufferToBlock: DoWork failed line# 679 
NvVideoEnc: NvVideoEncTransferOutputBufferToBlock TransferBufferToBlock failed Line=690

It works fine for HEVC.

Hi,
For now, there is no software stacks for encoding YUV420 10-bit data to AV1 stream. We will evaluate to enable this in future Jetpack release.

1 Like

Ok many thanks, that’s a shame as the hardware can handle it (if it’s the same NVENC hardware engine used in the desktop GPUs).

Consider this a vote for this to be added!

Also, I think this command should fail…

v4l2_ioctl(m_video_encoder_fd, VIDIOC_S_FMT, &output_format)

…if you supply an output format that it cannot handle.

At the moment, everything appears to work until you actually start chucking 10-bit frames at it, then it gives these internal errors (and in my case rapidly ran out of memory because none of the function calls were returning a failure!) but these aren’t propagated to the caller.

So either fail when setting the output format, or when queuing a capture buffer or something.

1 Like

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