Hi All,
I want to use gstreamer to make a rtsp server.

how to set the command line?
Best Regards,
Yucheng
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
I want to use gstreamer to make a rtsp server.

how to set the command line?
Best Regards,
Yucheng
Hello,
You could check this guide:

You could find gstreamer examples.
I have not tried but your pipeline should be:
gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 !
'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' !
vpe num-input-buffers=8 ! queue ! ducatimpeg4enc ! queue ! mpeg4videoparse ! qtmux !
rtpgstpay ! udpsink host=xxx.xx.xx.xx
You should change the caps, encoder element, parser per your requirement.
BR
Margarita