<div dir="ltr"><div><div><div>Have you tried testing the pipeline with gst-launch? That is a quick and easy way to work out most of the details. Here is one of my pipelines for receiving video in MP2T from a UDP source and displaying it. You may need to add caps. That means doing a gst_element_link_filtered (or something like that).<br>
<br>gst-launch udpsrc port=$1 !  mpegtsdemux ! video/x-h264 ! ffdec_h264 ! xvimagesink<br><br></div>You might also want to examine the core file and see where it crashed. That can give some great guidance. If needed, post the stack trace.<br>
<br></div>gdb path-to-binary core.1234<br></div>bt<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 2:52 PM, "Simon Krütt" <span dir="ltr"><<a href="mailto:the_simi@web.de" target="_blank">the_simi@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>Hey!</div>

<div> </div>

<div>can someone help me please to link my demuxer to another element.</div>

<div>so far I tried to link the pads like this:</div>

<div> </div>

<div>
<div> gst_bin_add_many (GST_BIN (pipeline), videosrc, demux, queue, videoenc, rtppayload,<br>
       NULL);</div>

<div>  sinkpad = gst_element_get_request_pad ( queue, "queue_sink");<br>
  srcpad = gst_element_get_static_pad (demux, "src");<br>
  if (gst_pad_link (srcpad, sinkpad) != GST_PAD_LINK_OK)<br>
    g_error ("Failed to link video queue to demux");<br>
  gst_object_unref (srcpad);<br>
 </div>

<div> </div>

<div>and I'm getting this error:</div>

<div> </div>

<div>
<div>(mp4test:32152): GStreamer-CRITICAL **: gst_pad_link_full: assertion `GST_IS_PAD (srcpad)' failed</div>

<div>** (mp4test:32152): ERROR **: Failed to link video queue to demux<br>
Trace/breakpoint trap (core dumped)</div>

<div> </div>

<div>Best regards,</div><span class="HOEnZb"><font color="#888888">

<div> </div>

<div>Simon</div>

<div> </div>
</font></span></div>
</div>

<div> </div>

<div> </div></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>