View Source

{pop-away:metadata | comments | children | labels}

Blackmagic cards are an option to capture high definition contents, both camera and laptop sources. Depending on the card installed and the input type you should be able to configure it following these instructions.

h4. Gstreamer plugin installation

Decklink plugin is not installed on your computer by default, so you have to do it manually.
# Download the plugin:

{{Use _anonymous_ as user and leave the password blank}}
{code:none}
svn checkout http://gforge.unl.edu/svn/gst-decklink
{code}
# Download the Gstreamer development tools
{code:none}
sudo aptitude install libgstreamer0.10-dev libgstreamer0.10-dev
# Go to the driver directory and compile
{code:none}
./configure
make
sudo make install
{code}
# Make the changes permanent
{code:none}
sudo cp \-v /usr/local/lib/gstreamer-0.10/libgstdecklink.\* /usr/lib/gstreamer-0.10/
{code}
# Delete the Gstreamer registry and run the gstreamer inspector to force a reload
{code:none}
sudo rm ~/.gstreamer-0.10/registry.*.bin
gst-inspect0.10
{code}

h4. Driver installation

Blackmagic has partial support for Linux. To install their driver you should download the latest one on:
[[http://blackmagic-design.com/support/]]

Choose Linux, your card series and your Model and press Search. Download the latest Desktop Video for Linux.
To install it:

{code:none}
dpkg -i <name_of_driver_package.deb>
modprobe blackmagic
{code}

There is a full guide on how to install the driver and other information on:
[[http://blackmagic-design.com/media/3397979/Blackmagic_Desktop_Video_Linux_9.2.txt]]


h5. Check if the driver and the card are loaded and ready

Run on a terminal:

{code:none}
lspci | grep Blackmagic
lsmod | grep blackmagic
ls dev/blackmagic/*
{code}

You will receive messages like:
_02:00.0 Multimedia video controller: Blackmagic Design Device a11b_
_blackmagic 2082944 1_
/dev/blackmagic/card0

h5. UDEV rules
You may want to change the UDEV rules on:
/etc/udev/rules.d/20-blackmagic.rules

h4. Input configuration

Posible inputs can be listed using:
{code:none}
gst-inspect0.10 decklinksrc
{code}

Depending on the card in use and the input select you should be able to select:

h5. Input

Depending on your card conectivity you should be able to choose between:

* sdi
* hdmi
* opticalsdi
* component
* composite
* svideo

Example input = sdi

h5. Input mode

Choose a number depending on format and framerate:

* 1-2: ntsc
* 3: pal
* 4-6: 720p
* 7-11,15-17:1080p
* 12-14: 1080i
* 18-20: 2k