[gst-devel] Streaming h264 video

Jyoti jyoti.d at allaboutif.com
Thu Jun 11 05:59:39 CEST 2009


the demuxer cannot be directly linked. it should be linked dynamically
through the "pad-added" signal.


On Wed, Jun 10, 2009 at 6:29 PM, Thabelo Mmbengeni <thabelo at gmail.com>wrote:

> Hi
>
> I tried running this command and it worked flawlessly
>
> gst-launch -v filesrc location=video.ogg ! oggdemux ! rtptheorapay !
> udpsink port=5000 host=127.0.0.1
>
>
> but my code is erronous
>
>       source = gst_element_factory_make ("filesrc", "file-source");
>       demuxer = gst_element_factory_make ("oggdemux", "dv-parser");
>       rtppay = gst_element_factory_make ("rtptheorapay",
> "video-rtp-pay-converter");
>       udpsink = gst_element_factory_make ("udpsink", "video-output");
>       rtpbin = gst_element_factory_make("gstrtpbin", "rtp-bin");
>
>       /* put all elements in a bin linkage*/
>
>       gst_bin_add_many (GST_BIN (pipeline), source, demuxer, rtppay,
> udpsink, NULL);
>       gst_element_link_many (source, demuxer, rtppay, udpsink, NULL);
>
> the error I get is
>
> Setting to PLAYING
> Running
> Error: Internal data stream error.
> Returned, stopping playback
> Deleting pipeline
>
>
> Please help
>
>
>
>
>
> On Wed, Jun 10, 2009 at 1:55 PM, Thabelo Mmbengeni <thabelo at gmail.com>wrote:
>
>> Ok thanks, I kind of have an Idea now.
>>
>> On Wed, Jun 10, 2009 at 1:17 PM, Jyoti <jyoti.d at allaboutif.com> wrote:
>>
>>> Yeah. Run the server pipeline in verbose mode i.e., with -v option. And
>>> copy the caps(full caps) of udpsink on the udpsrc.
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables unlimited
>>> royalty-free distribution of the report engine for externally facing
>>> server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> 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/20090611/0edc6618/attachment.htm>


More information about the gstreamer-devel mailing list