NvMMLiteVideoEncDoWork:NvMSEncConvertSurfaceFormat failed

When I was encoding videos using NvVideoEncoder, I encountered a problem:
NvMMLiteVideoEncDoWork:NvMSEncConvertSurfaceFormat failed
VENC: NvMMLiteVideoEncDoWork: 4283: BlockSide error 0x4
NvVideoEnc: BlockError
NvVideoEncTransferOutputBufferToBlock: DoWork failed line# 667
NvVideoEnc: NvVideoEncTransferOutputBufferToBlock TransferBufferToBlock failed Line=678
And then the program will encounter the following error:
[ERROR] (/home/nvidia/common/classes/NvV4l2ElementPlane.cpp:178) <sub_enc1> Output Plane:Error while DQing buffer: Invalid argument
I do not know how to handle it, Please Help me, thanks.

Hi,
It is uncertain what happens from the prints. We would need to replicate the issue and do debugging. Please help try to reproduce the issue by running the sample:

/usr/src/jetson_multimedia_api/samples/01_video_encode/

And share us the steps. So that we can set up and try.

If you don’t use latest Jetpack 4.6.4 or 5.1.1, we would suggest upgrade to latest release and check if the issue still exists.

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