Regarding a Customed 00_video_decode, Error while DQing event: Invalid argument

Hello,

When inputting h264 continuously, the first image buffer is decoded properly, and the second error occurs.


Do I have a chance?
What am I supposed to do?

Thank you.

Hi,
Please compare the custom code to reference sample 00_video_decode. One guess is you don’t feed complete frames.

1 Like

Hello,

What is complete frame?

Does this mean that the frame format is not complete?

Thank you.

Hi,
Please check the wiki page to know about H264 stream:


You may check read_decoder_input_nalu() in 00_video_decode. It reads h264 stream, gets complete NALs(SLICE, or SLICE_IDR) and feeds to decoder.