[gst-devel] How to implement the pipeline in programming?

Jack Foster jack.foster11 at gmail.com
Tue Jan 6 15:20:12 CET 2009


lol.  I asked this exact question not five days ago.

Check this answer from Wim:
I added some C examples in CVS here:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

Look at client-PCMA.c and server-alsasrc-PCMA.c

Cheers!
Jack.

On Tue, Jan 6, 2009 at 8:51 AM, liangzhihong1984
<liangzhihong1984 at 126.com>wrote:

>
>  Hi, everyone.
>  I just got a pipeline like this:
>
>
> gst-launch -v gstrtpbin name=*rtpbin* filesrc location=h264.ts ! \
>
>                  queue2 max-size-buffers=65535 ! \
>
>                  h264parse ! \
>
>                  rtpmp2tpay ! \
>
>                  queue2 max-size-buffers=65535 ! \
>
>                  identity sync=true silent=true sleep-time=300 ! \
>
>                  *rtpbin*.send_rtp_sink_0 \
>
>                  *rtpbin*.send_rtp_src_0 ! udpsink host=192.168.1.2
> port=5000 \
>
>                  *rtpbin*.send_rtcp_src_0 ! udpsink host=192.168.1.2
> port=5001 sync=false async=false \
>
>                  udpsrc port=5002 ! *rtpbin*.recv_rtcp_sink_0
>
>
>
> Now, I want to do the same work with programming language, such as C or
> C++.
>
> But I've no idea about how to do that, especially how to handle these
> rtpbin related
>
> stuffs, like "send_rtp_src_0" and "send_rtcp_src_0".
>
> How to create and link these elements?
>
> Can anybody give me some help.
>
> Thank you in advance.
>
>
>
>
>
>
>
> Best Regards,
>
> Leon Liang
>
>
>  ------------------------------
> 《大话西游外传》贺岁新作,送豪宅、送你5000元压岁钱<http://allyes.nie.163.com/main/adfclick?db=afanie&bid=1698,833,77&cid=148,4,1&sid=1804&show=ignore&url=http://xyw.16%0A3.com/2008/heka/>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090106/365dfe72/attachment.htm>


More information about the gstreamer-devel mailing list