Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A/V 640x480 WITHOUT MULAW ENC
- LAPTOP-Client
- 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
- BBxM/SIMULATOR-CLIENT
- 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
- Server
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement