<div dir="ltr">Thanks for the tip!<div><br></div><div>I built gstreamer from source using the packages here: <a href="http://gstreamer.freedesktop.org/src/">http://gstreamer.freedesktop.org/src/</a>, getting versions 1.2.1 for gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad, and gst-plugins-ugly. I also needed to build orc, for which I grabbed version 0.4.18. However, I'm still getting the same errors. I only have some experience with gdb, but I think I've got a backtrace here. Let me know if I should provide any more information or file a bug report.</div>
<div><br></div><div><div><font face="courier new, monospace">mitch@darksteel:~$ G_DEBUG=fatal_warnings gdb gst-launch-1.0</font></div><div><font face="courier new, monospace">GNU gdb (GDB) 7.6.1-ubuntu</font></div><div><font face="courier new, monospace">Copyright (C) 2013 Free Software Foundation, Inc.</font></div>
<div><font face="courier new, monospace">License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></font></div><div><font face="courier new, monospace">This is free software: you are free to change and redistribute it.</font></div>
<div><font face="courier new, monospace">There is NO WARRANTY, to the extent permitted by law. Type "show copying"</font></div><div><font face="courier new, monospace">and "show warranty" for details.</font></div>
<div><font face="courier new, monospace">This GDB was configured as "x86_64-linux-gnu".</font></div><div><font face="courier new, monospace">For bug reporting instructions, please see:</font></div><div><font face="courier new, monospace"><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...</font></div>
<div><font face="courier new, monospace">Reading symbols from /usr/local/bin/gst-launch-1.0...done.</font></div><div><font face="courier new, monospace">(gdb) set args videotestsrc ! decklinksink</font></div><div><font face="courier new, monospace">(gdb) run</font></div>
<div><font face="courier new, monospace">Starting program: /usr/local/bin/gst-launch-1.0 videotestsrc ! decklinksink</font></div><div><font face="courier new, monospace">[Thread debugging using libthread_db enabled]</font></div>
<div><font face="courier new, monospace">Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">(gst-launch-1.0:11511): GStreamer-CRITICAL **: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Program received signal SIGTRAP, Trace/breakpoint trap.</font></div><div><font face="courier new, monospace">0x00007ffff75d33d9 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0</font></div>
<div><font face="courier new, monospace">(gdb) bt</font></div><div><font face="courier new, monospace">#0 0x00007ffff75d33d9 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0</font></div><div><font face="courier new, monospace">#1 0x00007ffff75d3522 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0</font></div>
<div><font face="courier new, monospace">#2 0x00007ffff7b148b7 in gst_caps_intersect_full (caps1=0x6b8c00, caps2=0x0, mode=<optimized out>) at gstcaps.c:1636</font></div><div><font face="courier new, monospace">#3 0x00007ffff591772b in gst_decklink_sink_videosink_query (pad=0x7142c0, parent=0x718080, query=0x6b8b70) at gstdecklinksink.cpp:568</font></div>
<div><font face="courier new, monospace">#4 0x00007ffff7b3d07c in gst_pad_query (pad=pad@entry=0x7142c0, query=query@entry=0x6b8b70) at gstpad.c:3473</font></div><div><font face="courier new, monospace">#5 0x00007ffff7b6d314 in gst_pad_query_caps (pad=pad@entry=0x7142c0, filter=filter@entry=0x0) at gstutils.c:2764</font></div>
<div><font face="courier new, monospace">#6 0x00007ffff7b6df47 in gst_element_get_compatible_pad (element=element@entry=0x718080, pad=pad@entry=0x714090, caps=caps@entry=0x0) at gstutils.c:1057</font></div><div><font face="courier new, monospace">#7 0x00007ffff7b6eb2e in gst_element_link_pads_full (src=src@entry=0x7100c0, srcpadname=srcpadname@entry=0x0, dest=dest@entry=0x718080, destpadname=destpadname@entry=0x0, flags=flags@entry=GST_PAD_LINK_CHECK_DEFAULT)</font></div>
<div><font face="courier new, monospace"> at gstutils.c:1644</font></div><div><font face="courier new, monospace">#8 0x00007ffff7b6f12b in gst_element_link_pads (src=src@entry=0x7100c0, srcpadname=srcpadname@entry=0x0, dest=dest@entry=0x718080, destpadname=destpadname@entry=0x0) at gstutils.c:1803</font></div>
<div><font face="courier new, monospace">#9 0x00007ffff7b6f4f3 in gst_element_link_pads_filtered (src=src@entry=0x7100c0, srcpadname=0x0, dest=dest@entry=0x718080, destpadname=0x0, filter=0x0) at gstutils.c:1885</font></div>
<div><font face="courier new, monospace">#10 0x00007ffff7b854c6 in gst_parse_perform_link (graph=0x7fffffffdd00, link=0x7129c0) at ./grammar.y:580</font></div><div><font face="courier new, monospace">#11 priv_gst_parse_launch (str=str@entry=0x709ff0 "videotestsrc ! decklinksink ", error=error@entry=0x7fffffffdd88, ctx=ctx@entry=0x0, flags=flags@entry=GST_PARSE_FLAG_NONE) at ./grammar.y:1024</font></div>
<div><font face="courier new, monospace">#12 0x00007ffff7b7c32f in gst_parse_launch_full (pipeline_description=0x709ff0 "videotestsrc ! decklinksink ", context=context@entry=0x0, flags=flags@entry=GST_PARSE_FLAG_NONE, error=error@entry=0x7fffffffde68)</font></div>
<div><font face="courier new, monospace"> at gstparse.c:325</font></div><div><font face="courier new, monospace">#13 0x00007ffff7b7c5c5 in gst_parse_launchv_full (argv=argv@entry=0x709d60, context=context@entry=0x0, flags=flags@entry=GST_PARSE_FLAG_NONE, error=error@entry=0x7fffffffde68) at gstparse.c:262</font></div>
<div><font face="courier new, monospace">#14 0x00007ffff7b7c6cc in gst_parse_launchv (argv=argv@entry=0x709d60, error=error@entry=0x7fffffffde68) at gstparse.c:215</font></div><div><font face="courier new, monospace">#15 0x0000000000403360 in main (argc=4, argv=0x7fffffffe1f8) at gst-launch.c:963</font></div>
<div><font face="courier new, monospace">(gdb) </font></div></div><div><br></div><div>I also attempted to build from git, but ran into problems compiling gst-plugins-base. The result of my autogen.sh is <a href="https://gist.github.com/walkingeyerobot/7964420">here</a>, and the result of my make is <a href="https://gist.github.com/walkingeyerobot/7964439">here</a>. If building from git would be better than just building 1.2.1, I'm happy to dig into my build issues further.</div>
<div><br></div><div>Thanks for taking a look!</div><div><br></div><div>-Mitch</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 4:47 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On So, 2013-12-15 at 18:32 -0500, Mitchell Foley wrote:<br>
> Hello, I'm having problems getting gstreamer 1.0 to output anything to<br>
> decklinksink. I'd like to use 1.0 because I need to use the<br>
> device-number option as I have multiple cards.<br>
><br>
><br>
> This works fine:<br>
><br>
><br>
> gst-launch-0.10 videotestsrc ! decklinksink<br>
><br>
><br>
> But when I switch to 1.0, it fails with this:<br>
><br>
</div>> [...]<br>
<div class="im">> (gst-launch-1.0:18827): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed<br>
> WARNING: erroneous pipeline: could not link videotestsrc0 to<br>
> decklinksink0<br>
><br>
> Any suggestions?<br>
<br>
</div>Which version of 1.0 are you using? Best try with 1.2.0 or later, there<br>
were some fixes that made it work (at least for some people).<br>
<br>
If you still have these problems with that version, try setting<br>
G_DEBUG=fatal_warnings in the environment and get a backtrace of those<br>
criticals/warnings with a debugger.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</font></span><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>