<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="2" face="Arial, Helvetica, sans-serif">Hi,<br>
<br>
I need to encode & stream multiple videos simultanesously
using different ip address. Both encoding & streaming become
success for single video. the command which was used for achieving
the task as follows:<br>
<br>
SENDER :<br>
-----------------<br>
<br>
IP=192.168.2.136<br>
VIDEO_SRC="mfw_v4lsrc capture-mode=5"<br>
VIDEO_ENC="vpuenc codec=h263 ! rtph263ppay "<br>
STREAM_VIDEO="$VIDEO_SRC ! $VIDEO_ENC ! rtpbin.send_rtp_sink_0
rtpbin.send_rtp_src_0 ! queue ! udpsink host=$IP port=5000
rtpbin.send_rtcp_src_0 ! udpsink host=$IP port=5001 sync=false
async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0"<br>
STREAM_AV="$STREAM_VIDEO"<br>
gst-launch -v gstrtpbin name=rtpbin $STREAM_AV<br>
<br>
<br>
RECEIVER :<br>
-------------------<br>
<br>
VIDEO_CAPS="\"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998\""<br>
VIDEO_DEC_SINK="rtph263pdepay ! ffdec_h263 ! autovideosink"<br>
PLAYBACK_VIDEO="udpsrc caps=$VIDEO_CAPS port=5000 !
rtpbin.recv_rtp_sink_0 rtpbin. ! $VIDEO_DEC_SINK udpsrc port=5001
! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink
port=5005 sync=false async=false"<br>
PLAYBACK_AV="$PLAYBACK_VIDEO"<br>
gst-launch -v gstrtpbin name=rtpbin $PLAYBACK_AV<br>
<br>
<br>
<br>
Encl : log of Multi-streaming<br>
<br>
<br>
<br>
Regards,<br>
Haji</font>
</body>
</html>