This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
gst-launch-0.10 -v gstrtpbin name=rtpbin \ |
| 4 |
v4l2src device=$1 ! queue ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=280 ! dsph264enc ! rtph264pay ! rtpbin.send_rtp_sink_0 \ |
| 5 |
rtpbin.send_rtp_src_0 ! udpsink port=5000 host=$2 ts-offset=0 name=vrtpsink \ |
| 6 |
rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=$2 sync=false async=false name=vrtcpsink \ |
| 7 |
udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0 |