Sample 00_video_decode decode success but render failed

I build and run Sample 00_video_decode in Jetson_Multimedia_API_R35.6.0_aarch64 on Jetson AGX platform(Jetpack5.1.4).

The build is done well and I got video_decode, but it render failed when I run the video_decode.

My input arguments are “./video_decode H264 -o out.jpg output.h264”

The output.h264 is my input h264 local file stream.

I’ve checked the code follow, the nvdec worked well.

I play the YUV output file with yuvplayer, which show the correct video on the screen.

but when run the video_decode, the egl render got some error, and no video show in the screen.

The errors are:

nvbufsurface: Failed to create EGLImage.
[ERROR] (NvEglRenderer.cpp:386) Could not get EglImage from fd. Not rendering

Does anyone run the 00_video_decode sample well and get the render show in the screen?

Sorry, please ignore this, I rebuild 00_video_decode and run video_deocode then it work well and the video show in the screen.

The reason is I do not connet a real display.

1 Like

Welcome to the NVIDIA developer forums.

Thanks for updating your issue!