[gst-devel] Regarding combining of client and server scripts into one pipeline

sumit kumar sumit.git at gmail.com
Thu Feb 25 17:46:11 CET 2010


Hello,

I am trying to combine two separate pipelines ( client and server) into one,
but have not succeeded till now. The pipelines I got from the link
http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html
are:

*server:*
gst-launch gstrtpbin name=rtpbin \
        v4l2src ! ffmpegcolorspace ! ffenc_h263 ! rtph263ppay !
rtpbin.send_rtp_sink_0
\
                  rtpbin.send_rtp_src_0 ! udpsink port=5000
\
                  rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=falseasync
=false    \
                  udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0
\
        audiotestsrc ! amrnbenc ! rtpamrpay ! rtpbin.send_rtp_sink_1
\
                  rtpbin.send_rtp_src_1 ! udpsink port=5002
\
                  rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=falseasync
=false    \
                  udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1

*client:*
*

gst-launch -v gstrtpbin name=rtpbin                                          \
    udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998"
\
            port=5000 ! rtpbin.recv_rtp_sink_0                                \
        rtpbin. ! rtph263pdepay ! ffdec_h263 ! xvimagesink                    \
     udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0                               \
     rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false        \
    udpsrc caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)AMR,encoding-params=(string)1,octet-align=(string)1"
\
            port=5002 ! rtpbin.recv_rtp_sink_1                                \
        rtpbin. ! rtpamrdepay ! amrnbdec ! alsasink                           \
     udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                               \
     rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false

The things I tried are:

1. Change the session no so each of the sessions is unique.

2. Change the port numbers accordingly.

The thing I want to achieve is picture in picture with one loopback
video and other video streamed from another PC. For this I have to use
videomixer and videobox

But to use them, entire pipeline should be one. Is this possible?



Regards,

Sumit

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100225/23690148/attachment.htm>


More information about the gstreamer-devel mailing list