Could you review this gstreamer pipes?

H Jumogehn jumogehn at gmail.com
Mon Mar 20 08:29:17 UTC 2023


Hello,

I have tested these gstreamer pipes below:

**UDP Server :**

> gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 !
> 'video/x-raw(memory:NVMM)',format=UYVY,width=1920,height=1080,framerate=30/1
> ! tee name=t t. ! queue ! nvvidconv ! video/x-raw,format=BGRx !
> videoconvert ! video/x-raw, format=BGR ! fakesink t. ! queue ! nvvidconv !
> x264enc key-int-max=30 insert-vui=1 tune=zerolatency ! h264parse
> config-interval=1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=192.168.42.8
> port=5004


**UDP Client :**

> gst-launch-1.0 udpsrc port=5004 !
> application/x-rtp,media=video,encoding-name=MP2T,clock-rate=90000,payload=33
> ! rtpjitterbuffer latency=300 ! rtpmp2tdepay ! tsdemux ! h264parse !
> splitmuxsink location=./segment%05d.mp4 max-size-time=100000000000


The H/W configurations :
- Jetson Orin EVK + Nilecam camera (UDP server and camera runs on)
- Desktop PC with Nvidia 2080 dGPU (UDP client runs on)

On the server side, the 'fakesink' will be switched to 'appsink drop=1' and
the BGR images will be used with opencv apis.

What I'd like you to check is the gstreamer pipes above for server and
client both.
- Is it optimized already very well?
- Can I make it better to use more nvidia's H/W accelerators?
- Isn't there any unnecessary elements or configurations?

If you recommend me better pipes, It will be pretty much appreciated!

Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230320/ce2d08cb/attachment.htm>


More information about the gstreamer-devel mailing list