Encoding and streaming video+audio to UDP

apple282151 pingwangapple at 163.com
Tue Sep 16 06:12:12 PDT 2014


Hi,I am now using the commond to transmit video + audio stream,but I donnot
need the RTCP,how can I transmit the stream without RTCP ? thanks very
much.the commond is :gst-launch gstrtpbin name=rtpbin latency=0 v4l2src
device=/dev/video0 ! typefind ! ffmpegcolorspace ! videoscale !
video/x-raw-yuv, width=640, height=480 ! videorate ! video/x-raw-yuv,
framerate=30/1 ! x264enc pass=qual quantizer=20 tune=zerolatency !
rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
port=5502 host=127.0.0.1 rtpbin.send_rtcp_src_0 ! udpsink port=5510
host=127.0.0.1 sync=false async=false udpsrc port=5510 !
rtpbin.recv_rtcp_sink_0 autoaudiosrc samplesperbuffer=1000 ! alawenc !
rtppcmapay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink
port=5504 host=127.0.0.1 rtpbin.send_rtcp_src_1 ! udpsink port=5512
host=127.0.0.1 sync=false async=false udpsrc port=5512 !
rtpbin.recv_rtcp_sink_1



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Encoding-and-streaming-video-audio-to-UDP-tp4668052p4668738.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list