[gst-devel] How to implement the pipeline in programming?
liangzhihong1984
liangzhihong1984 at 126.com
Tue Jan 6 14:51:27 CET 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090106/2ebd3119/attachment.htm>
More information about the gstreamer-devel
mailing list