01_video_encode failed with the resolution of 5472x3684

Hi,
I’m testing the code of jetson_multimedia_api/01_video_encode and it passed when I encode a yuv file in 3840x2160.
But when I change the input yuv file with the resolution of 5472x3684, it fails with the following logs:

NvMMLiteNvMediaCreate:3683: NvMediaIEPCreate failed
NVMEDIA_ENC: 3934: Failed to create NvMedia encoder
VENC: NvMMLiteVideoEncDoWork: 4192: BlockSide error 0x4
NvVideoEnc: BlockError
NvVideoEncTransferCaptureBufferToBlock: DoWork failed line# 644
NvVideoEncTransferCaptureBufferToBlock: DoWork failed line# 644
NvVideoEncTransferCaptureBufferToBlock: DoWork failed line# 644
NvVideoEncTransferCaptureBufferToBlock: DoWork failed line# 644
NvVideoEncTransferCaptureBufferToBlock: DoWork failed line# 644
NvVideoEncTransferCaptureBufferToBlock: DoWork failed line# 644

[ERROR] (NvV4l2ElementPlane.cpp:256) Output Plane:Error while Qing buffer: Invalid argument
Error while queueing buffer at output plane
Encoder is in error
[ERROR] (NvV4l2ElementPlane.cpp:178) Capture Plane:Error while DQing buffer: Invalid argument
Error while dequeing buffer from output plane

Hi,
Please check the capability in module data sheet:
Log in | NVIDIA Developer

We support up to 4K in hardware encoding. So it fails if the resolution > 4K.

1 Like

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