SHARE
TWEET

Untitled

a guest Jun 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A/V 640x480 WITHOUT MULAW ENC
  2.  
  3.  
  4. LAPTOP-Client
  5.  
  6. gst-launch gstrtpbin name=rtpbin udpsrc multicast-group=224.1.1.1 auto-multicast=true caps='application/x-rtp,media=(string)audio, clock-rate=(int)44100, width=16, height=16, encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, channel-positions=(int)2, payload=(int)96' port=5002 ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtpL16depay ! audioconvert ! alsasink udpsrc multicast-group=224.1.1.1 auto-multicast=true caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0LAM6tAUB7YCIAAAAMAgAAAHkeMGVA\\=\\,aM48gA\\=\\=\", payload=(int)96, ssrc=(guint)1424740448, clock-base=(guint)34599423, seqnum-base=(guint)25159' port=6002 ! rtpbin.recv_rtp_sink_2 rtpbin. ! rtph264depay ! ffdec_h264 ! xvimagesink
  7.  
  8. BBxM/SIMULATOR-CLIENT
  9.  
  10. gst-launch gstrtpbin name=rtpbin udpsrc multicast-group=224.1.1.1 auto-multicast=true caps='application/x-rtp,media=(string)audio, clock-rate=(int)44100, width=16, height=16, encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, channel-positions=(int)2, payload=(int)96' port=5002 ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtpL16depay ! audioconvert ! alsasink udpsrc multicast-group=224.1.1.1 auto-multicast=true caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0LAM6tAUB7YCIAAAAMAgAAAHkeMGVA\\=\\,aM48gA\\=\\=\", payload=(int)96, ssrc=(guint)1424740448, clock-base=(guint)34599423, seqnum-base=(guint)25159' port=6002 ! rtpbin.recv_rtp_sink_2 rtpbin. ! rtph264depay ! dmaidec_h264 ! omapsink rotation=0 -v
  11.  
  12. Server
  13.  
  14. gst-launch-0.10 gstrtpbin name=rtpbin filesrc location= geekbrief_640x480.mp4 ! queue ! qtdemux name=dmux dmux. ! queue ! mad ! audioconvert ! audio/x-raw-int,channels=2,depth=16,width=16,rate=44100 ! rtpL16pay  ! udpsink auto-multicast=true host=224.1.1.1 port=5002 dmux. ! queue ! rtph264pay ! udpsink auto-multicast=true host=224.1.1.1 port=6002 -v
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top