[gst-devel] Streaming h264 video

Thabelo Mmbengeni thabelo at gmail.com
Wed Jun 10 14:59:37 CEST 2009


I tried running this command and it worked flawlessly

gst-launch -v filesrc location=video.ogg ! oggdemux ! rtptheorapay ! udpsink
port=5000 host=

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",
      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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090610/34db51be/attachment.htm>

More information about the gstreamer-devel mailing list