I use gst_parse_launch in my C++ app, and grab frames from appsink.
The pipeline I use is the following:
rtspsrc location=<my_rtsp_source> latency=5000 protocols=tcp ! rtph264depay ! h264parse ! nvv4l2decoder cudadec-memtype=0 ! nvvideoconvert ! video/x-raw(memory:NVMM),format=NV12 ! appsink drop=true max-buffers=5
It works as expected with DeepStream 4. However, with DeepStream 5 when I try to change pipeline’s state to
PLAYING in my C++ app,
appsink element hangs in
READY forever. If I change
filesrc everything works fine both in DS4 and DS5. If I use
avdec_h264 instead of
nvv4l2decoder, again everything runs smoothly.
Tested on T4 and GTX1070, using deepstream images from NGC.