same question another way

Marianna Smidth Buschle msb at qtec.com
Thu Sep 30 07:27:15 UTC 2021


> Can one stream a .ts filt over RTP as the ts file is being built? That my be resolution of my rtsp stutter
gst-launch-1.0 rtpbin name=rbin v4l2src ! 
video/x-raw,framerate=10/1,format=YUY2,width=1280,height=720 ! 
videoconvert ! x264enc key-int-max=30 speed-preset=1 tune=zerolatency ! 
video/x-h264,profile=high ! mpegtsmux name=mux ! rtpmp2tpay ! 
rbin.send_rtp_sink_0 rbin.send_rtp_src_0 ! udpsink port=5000 
host=224.1.1.30 auto-multicast=1 sync=0 rbin.send_rtcp_src_0 ! udpsink 
port=5001 host=224.1.1.30 sync=false async=false udpsrc port=5003 
address=224.1.1.30 ! rbin.recv_rtcp_sink_0 pulsesrc ! 
"audio/x-raw,format=S32LE,layout=interleaved,rate=44100,channels=2,channel-mask=(bitmask)0x3" 
!  audioconvert ! avenc_aac ! queue ! mux. -e -v --gst-debug=*:3

Using multicast, adjust IPs if you don't want multicast...

Add a tee and the filesink if you also want to save the file to disk at 
the same time


Plays in VLC with "vlc rtp://@224.1.1.30:5000"

-- 
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”



More information about the gstreamer-devel mailing list