Geeting green color display while running the deepstream6.2 on h265 camera

ok checking

1-: gst-launch-1.0 uridecodebin uri=rtsp://xx ! nvvideoconvert ! autovideosink -: this command giving green screen.

2-: gst-launch-1.0 rtspsrc location=rtsp:// latency=0 drop-on-latency=true rtsp-keep-alive=true protocols=tcp ! rtph265depay ! h265parse ! nvv4l2decoder ! nveglglessink -: this command is giving black screen and giving this error -: cuGraphicsGLRegisterBuffer failed with error(219) gst_eglglessink_cuda_init texture = 1

Thanks for update, could you help to provide more logs to narrow down this issue? Thanks! you can compress the logs by zip.

  1. we need to get the log to analysize. please share the 1.log by this command: export GST_DEBUG=6 &&gst-launch-1.0 uridecodebin uri=rtsp://xx ! nvvideoconvert ! autovideosink >1.log 2>1.log
  2. we need to compare working log and not-working log. please share 2.log and 3.log by the these commands:
    export GST_DEBUG=6 &&gst-launch-1.0 rtspsrc location=rtsp:// latency=0 drop-on-latency=true rtsp-keep-alive=true protocols=tcp ! rtph265depay ! h265parse ! nvv4l2decoder ! nvvideoconvert ! nveglglessink sync=false >2.log 2>2.log
    export GST_DEBUG=6 &&gst-launch-1.0 rtspsrc location=rtsp:// latency=0 drop-on-latency=true rtsp-keep-alive=true protocols=tcp ! rtph265depay ! h265parse ! nvv4l2decoder ! nveglglessink >3.log 2>3.log

1-: Log for xport GST_DEBUG=6 &&gst-launch-1.0 uridecodebin uri=rtsp://xx ! nvvideoconvert ! autovideosink >1.log 2>1.log
1log.zip (41.2 MB)

2-: Sorry, my mistake 3rd one is also working , I forgot to add _NV_PRIME_RENDER_OFFLOAD, so it is not showing anything but i am sharing both 2 and 3 log
2log.zip (10.3 MB)

3log.zip (5.9 MB)

Both Working
export GST_DEBUG=6 &&gst-launch-1.0 rtspsrc location=rtsp:// latency=0 drop-on-latency=true rtsp-keep-alive=true protocols=tcp ! rtph265depay ! h265parse ! nvv4l2decoder ! nvvideoconvert ! nveglglessink sync=false >2.log 2>2.lo

export GST_DEBUG=6 &&gst-launch-1.0 rtspsrc location=rtsp:// latency=0 drop-on-latency=true rtsp-keep-alive=true protocols=tcp ! rtph265depay ! h265parse ! nvv4l2decoder ! nveglglessink >3.log 2>3.log

Not working (Showing green screen)-:

export GST_DEBUG=6 &&gst-launch-1.0 uridecodebin uri=rtsp://xx ! nvvideoconvert ! autovideosink >1.log 2>1.log

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

0:00:03.461249343 e[331m3116376e[00m 0x7f4120003520 e[33;01mLOG e[00m e[00m videodecoder gstvideodecoder.c:2960:gst_video_decoder_finish_frame:e[00m finish frame 0x55fe00139ad0
gstelement.c:2153:gst_element_message_full_with_details:e[00m posting message: Could not initialise Xv output

  1. about 1.log, there are decoding outputs, but xvimagesink failed to initialize. so the outputs can’t be shown.
    noticing both nveglglessink and xvimagesink failed to initialize when using uridecodebin. are the three tests in the same shell window of host?
    did you enable _NV_PRIME_RENDER_OFFLOAD for all tests?
  2. please test outputing to file by this command, please share test.264 if its size is not zero.
    gst-launch-1.0 uridecodebin uri=rtsp://10.19.227.166/media/video1 ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=I420’ ! nvv4l2h264enc bitrate=1000000 ! filesink location=test.264
  3. can you see the otuput video by this comamnd? is there " **cuGraphicsGLRegisterBuffer failed with error(219)" error? it is used to decode local h264 file by uridecodebin.
    gst-launch-1.0 uridecodebin uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4 ! nveglglessink
  4. can you see the otuput video by this comamnd? is there " **cuGraphicsGLRegisterBuffer failed with error(219)" error? it is used to decode local h265 file by uridecodebin.
    gst-launch-1.0 uridecodebin uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h265.mp4 ! nveglglessink

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