getting gstreamer 1.0 to work with decklinksink

Mitchell Foley mitch at thefoley.net
Tue Dec 17 18:19:57 PST 2013


Also, not sure if it's useful, but here's the new output of gst-launch-1.0
-v videotestsrc ! decklinksink with the patch applied.

Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps =
"video/x-raw\,\ format\=\(string\)UYVY\,\ width\=\(int\)720\,\
height\=\(int\)486\,\ framerate\=\(fraction\)30000/1001\,\
interlace-mode\=\(string\)interleaved\,\
pixel-aspect-ratio\=\(fraction\)10/11\,\ colorimetry\=\(string\)bt601\,\
chroma-site\=\(string\)mpeg2"
New clock: GstSystemClock
/GstPipeline:pipeline0/GstDecklinkSink:decklinksink0.GstPad:videosink: caps
= "video/x-raw\,\ format\=\(string\)UYVY\,\ width\=\(int\)720\,\
height\=\(int\)486\,\ framerate\=\(fraction\)30000/1001\,\
interlace-mode\=\(string\)interleaved\,\
pixel-aspect-ratio\=\(fraction\)10/11\,\ colorimetry\=\(string\)bt601\,\
chroma-site\=\(string\)mpeg2"
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.059132622
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Thanks again for taking a look!

-Mitch



On Tue, Dec 17, 2013 at 9:13 PM, Mitchell Foley <mitch at thefoley.net> wrote:

> Thanks for the pointer to the patch. It no longer crashes on me.
> Unfortunately, it doesn't actually output anything either. So I think
> getting what's at head in git to compile is my best bet. Here's the result
> of the commands you asked me to run.
>
> mitch at darksteel:~$ pkg-config --libs --cflags orc-0.4
> -I/usr/local/include/orc-0.4  -L/usr/local/lib -lorc-0.4
> mitch at darksteel:~$ pkg-config --modversion orc-0.4
> 0.4.18
> mitch at darksteel:~$ which orcc
> /usr/local/bin/orcc
>
> The error in with git happens the same even if I have --disable-orc passed
> to the configure script.
>
> -Mitch
>
>
> On Tue, Dec 17, 2013 at 4:26 AM, Sebastian Dröge <
> sebastian at centricular.com> wrote:
>
>> On Mo, 2013-12-16 at 23:12 -0500, Mitchell Foley wrote:
>>
>> > [...]
>> > (gst-launch-1.0:11511): GStreamer-CRITICAL **:
>> > gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
>> >
>> >
>> > Program received signal SIGTRAP, Trace/breakpoint trap.
>> > 0x00007ffff75d33d9 in g_logv ()
>> > from /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> > (gdb) bt
>> > #0  0x00007ffff75d33d9 in g_logv ()
>> > from /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> > #1  0x00007ffff75d3522 in g_log ()
>> > from /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> > #2  0x00007ffff7b148b7 in gst_caps_intersect_full (caps1=0x6b8c00,
>> > caps2=0x0, mode=<optimized out>) at gstcaps.c:1636
>> > #3  0x00007ffff591772b in gst_decklink_sink_videosink_query
>> > (pad=0x7142c0, parent=0x718080, query=0x6b8b70) at
>> > gstdecklinksink.cpp:568
>> > [...]
>> > (gdb)
>>
>> This one is fixed now, will also be in the 1.2.2 release:
>>
>> http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=007807d149611059a96d567cca758f4093b487aa
>>
>> Please retest with that patch, and report any new remaining problems :)
>>
>> > I also attempted to build from git, but ran into problems compiling
>> > gst-plugins-base. The result of my autogen.sh is here, and the result
>> > of my make is here. If building from git would be better than just
>> > building 1.2.1, I'm happy to dig into my build issues further.
>>
>> What's the output of
>> pkg-config --libs --cflags orc-0.4
>> pkg-config --modversion orc-0.4
>> which orcc
>> ?
>>
>> --
>> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
>> Expertise, Straight from the Source
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131217/ada3085c/attachment-0001.html>


More information about the gstreamer-devel mailing list