Decklink problem

John Smith lalavatricevivedipiuconcalfort at barmes.org
Fri Nov 11 03:52:35 PST 2011


Hello,
I am in trouble with QtGstreamer 0.10.1.
I have a BlackMagick Intensity Pro PCIex card
(http://www.blackmagic-design.com/products/intensity) linked with gstreamer
through decklink module:

# gst-inspect-0.10 decklinksrc
Plugin Details:
  Name:			decklink
  Description:		Template decklink
  Filename:		/usr/local/lib/gstreamer-0.10/libgstdecklink.so
  Version:		0.10.0
  License:		LGPL
  Source module:	my-plugin-package
  Binary package:	GStreamer
  Origin URL:		http://gstreamer.net/

  decklinksrc: Decklink Source

  1 features:
  +-- 1 elements
  
Gstreamer is fully functional and when i launch this:
gst-launch-0.10 -v decklinksrc input=2 input-mode=12 ! xvimagesink  
it show video without problems.

Using a code like this: http://pastebin.com/VWa8g1V9 i have no problems.

But, when I compile the example player project (found in qt-gstreamer dir)
with appropriate changes that should allows decklink integration the line 
"m_pipeline =
QGst::ElementFactory::make("decklinksrc","source").dynamicCast<QGst::Pipeline>()"
return a null pipeline.
Full souce here: http://www.barmes.org/testProject.zip

if (!m_pipeline) {        
        m_pipeline =
QGst::ElementFactory::make("decklinksrc","source").dynamicCast<QGst::Pipeline>();
        if (m_pipeline) {
            watchPipeline(m_pipeline);
            QGst::BusPtr bus = m_pipeline->bus();
            bus->addSignalWatch();
            QGlib::connect(bus, "message", this, &Player::onBusMessage);
        } else {
            qCritical() << "Failed to create the pipeline
"<<m_pipeline.isNull();
        }
    }
    if (m_pipeline) {
        m_pipeline->setProperty("input-mode", 12);
        m_pipeline->setProperty("input", 2);
    }
    
I tried also to replace the videotestsrc found on
qt-gstreamer-0.10.1/tests/manual/videowidgettest.cpp with decklinksrc but:
# ./videowidgettest 
decklink_init() called
_base_init() called
_class_init() called
_init() called
ASSERT: "targetClass" in file
/root/qt-gstreamer-0.10.1/src/QGst/Ui/../../QGlib/refpointer.h, line 410
Aborted

Code here: http://pastebin.com/XntQXd7y


I hope someone can help me.

Thanks.






More information about the gstreamer-devel mailing list