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.
Gstreamer plugin installation
Decklink plugin is not installed on your computer by default, so you have to do it manually.
- Download the plugin:
svn checkout http://gforge.unl.edu/svn/gst-decklink
- Download the Gstreamer development tools
sudo aptitude install libgstreamer0.10-dev libgstreamer0.10-dev # Go to the driver directory and compile {code:none} ./configure make sudo make install
- Make the changes permanent
sudo cp \-v /usr/local/lib/gstreamer-0.10/libgstdecklink.\* /usr/lib/gstreamer-0.10/
- Delete the Gstreamer registry and run the gstreamer inspector to force a reload
sudo rm ~/.gstreamer-0.10/registry.*.bin gst-inspect0.10
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:
dpkg -i <name_of_driver_package.deb> modprobe blackmagic
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]
Check if the driver and the card are loaded and ready
Run on a terminal:
lspci | grep Blackmagic lsmod | grep blackmagic ls dev/blackmagic/*
You will receive messages like:
02:00.0 Multimedia video controller: Blackmagic Design Device a11b
blackmagic 2082944 1
/dev/blackmagic/card0
UDEV rules
You may want to change the UDEV rules on:
/etc/udev/rules.d/20-blackmagic.rules
Input configuration
Posible inputs can be listed using:
gst-inspect0.10 decklinksrc
Depending on the card in use and the input select you should be able to select:
Input
Depending on your card conectivity you should be able to choose between:
- sdi
- hdmi
- opticalsdi
- component
- composite
- svideo
Example input = sdi
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