Appsink join pipeline block the pipeline

Please provide complete information as applicable to your setup.

Hardware Platform Jetson Orin nano
DeepStream Version 6.3
TensorRT Version 8.5.2.2

I set up my pipeline as this:
nvstreammux->nvinfer->tee->queue->nvmultistreamtiler->nvvideoconvert->nvosd->nvsink
->queue->nvosd->appsink
But when i only add appsink element to the pipeline, and link like this:
nvstreammux->nvinfer->nvmultistreamtiler->nvvideoconvert->nvosd->nvsink.

i have four rtsp sources, run the app and it block at first frame.
Is there any question?

  1. what is nvsink? what did you do in appsink?
  2. do you mean “nvstreammux->nvinfer->nvmultistreamtiler->nvvideoconvert->nvosd->nvsink” works well?
  3. can “nvstreammux->nvinfer->nvmultistreamtiler->nvvideoconvert->nvosd->appsink” work well?

我测试了一下,在GStreamer原生管道中 add appsink也会导致阻塞在第一帧,新手,第一次用GStreamer和Deepstream,可能是我本身对于GstAppSink Element的使用有问题,感谢回复,我先关闭这个问题,再研究一段时间看看

ok, please refer to this appsink sample(/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-appsrc-test/) in DeepStream SDK. please use English.

I run the deepstream-appsrc-test example on my orin nano.
The console keeps outputting debugging information, but the graphics window playback card stops playing at the first frame.
Is there any question ?

could you share the whole log? here is my test log log.txt (1.6 KB). it worked well. please refer to readme for how to run.

next pic is app-src-test start run


And then , is the app run over.

But when i connect to display the file. The display block at there:

And the control continue output logs

from the second screenshot, the app worked well. what do you mean about “connect to display the file”?

Oh, it means play the video, and the video stop playing, but logs normal.

Like this.
Please see the attached video.

(Attachment f7770998fec3129cd3191bb51217e5e0.mp4 is missing)

example
@fanzh

I do not think this will help at all but anyways, can you set sync=0?

also does this work?
gst-launch-1.0 uridecodebin3 uri=file:///....mp4 ! nvvideoconvert ! fpsdisplaysink sync=0

OK. I’ll test it.
I need to save a frame image with an identification frame, if the playback is stuck, is the image I saved correct?

I test it. The video can be played normally, but the screen will freeze and tear, and the screen will occasionally blur but will quickly skip over

can you try gst-launch-1.0 uridecodebin uri=///opt/nvidia/deepstream/deepstream/samples/streams//sample_720p.mp4 ! nv3dsink? this application is using nv3dsink for display.

OK. Anyway, thanks for the reply, I’ll find other resolution.

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