gstreamer pipeline optimazation

Hi,

i am writing this pipeline for axis camera :

gst-launch-1.0 --gst-debug=3 rtspsrc location=rtsp://root:root@192.168.1.90/axis-media/media.amp?resolution=1280x960 drop-on-latency=0 latency=100 ! queue max-size-buffers=200 max-size-time=1000000000 max-size-bytes=10485760 min-threshold-time=10 ! rtph264depay ! h264parse ! omxh264dec ! nvvidconv flip-method=2

I have not deeper knowledge about gstreamer so i would like to know if there are some other parametrization that i can use to improve the pipeline.

regardess

Hi francesco,
Your pipeline looks incomplete. Please share full pipeline and what issue you are facing and want to improve.

hi,

the complete pipeline. I use it on my c++ application.

gst-launch-1.0 rtspsrc location=rtsp://root:root@192.168.1.90/axis-media/media.amp?resolution=1280x960 drop-on-latency=0 latency=100 ! queue max-size-buffers=200 max-size-time=1000000000 max-size-bytes=10485760 min-threshold-time=10 ! rtph264depay ! h264parse ! omxh264dec ! nvvidconv flip-method=2 ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)720, format=(string)NV12 ! appsink name=mysink

I would like to know if there is some trick to decrese the load on gpu / cpu, and the latency.

thanks

Hi francesco,
You can try https://elinux.org/Jetson/Performance

Besides, if you want to get buffers in appsink, you should configure video/x-raw

gst-launch-1.0 rtspsrc location=rtsp://root:root@192.168.1.90/axis-media/media.amp?resolution=1280x960 drop-on-latency=0 latency=100 ! queue max-size-buffers=200 max-size-time=1000000000 max-size-bytes=10485760 min-threshold-time=10 ! rtph264depay ! h264parse ! omxh264dec ! nvvidconv flip-method=2 ! <b>video/x-raw</b>, width=(int)1920, height=(int)720, format=(string)NV12 ! appsink name=mysink

thanks