rtsp-server streaming MJPEJ

paoloo paolo.fontanelli.88 at gmail.com
Thu Apr 9 13:04:54 UTC 2020


Hi all,

I developed a python script that create a RTSP Server with Gi library and
expose a RTSP Stream on a determinate port, e.g. 127.0.0.1:8554/test

I tested it with h264 encoding and it works, here the server-side pipeline

ppsrc name=source
caps=video/x-raw,format=BGR,width=640,height=480,framerate=30/1 '
'! videoconvert ! x264enc speed-preset=ultrafast tune=zerolatency ' \
'! rtph264pay config-interval=1 name=pay0 pt=96

Note that library manage the RTSP part (ip address, port etc).

Here the command I'm using from terminal to see the video with this
pipeline:
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! rtph264depay !
h264parse ! avdec_h264 ! videoconvert ! videoscale ! autovideosink

Now, I want to modify pipeline and command to use MJPEG instead of H264, but
I'm stuck at this point.
Do you have any suggestions about this?

Thanks
Paolo



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list