- Posts: 4
- Joined: Tue Jun 30, 2015 12:36 pm
Hello everyone,
I'm new at using the Decklink SDK and I have a question for you. How can I select the HDMI video input instead of the SDI one to capture frames with the Decklink SDK?
Let me give you some context.
I've installed successfully the Decklink Mini-Recorder card on an Ubuntu 14.04(LTS) machine. I tried the Capture.cpp sample code provided with the SDK and I didn't manage to capture any frame with it. See the following output:
I tried all the 14 input video mode and still no luck. I then installed the GUI tools provided and MediaExpress. I still couldn't capture any frame even within MediaExpress. I then used the GUI tool called "Blackmagic Desktop Video Utility" to explicitly switch from the SDI input to the HDMI one (see screenshot below). As soon as I did that, I was able to capture frames with MediaExpress and the Capture.cpp sample code. See the following output:
My question is: How can I select the HDMI video input instead of the SDI one to capture frames with the Decklink SDK? Is there any command line tool that can allow me to configure the Mini-Recorder card such way?
Thank you for the time you've spent reading and/or answering me.
Best regards,
Jonathan.
Here is the output of the DeviceList sample code:
I'm new at using the Decklink SDK and I have a question for you. How can I select the HDMI video input instead of the SDI one to capture frames with the Decklink SDK?
Let me give you some context.
I've installed successfully the Decklink Mini-Recorder card on an Ubuntu 14.04(LTS) machine. I tried the Capture.cpp sample code provided with the SDK and I didn't manage to capture any frame with it. See the following output:
- Code: Select all
administrator@support:~/Linux/Samples/Capture$ ./Capture -d 0 -m -1
Capturing with the following configuration:
- Capture device: DeckLink Mini Recorder
- Video mode: Format Detection
- Pixel format: 8 bit YUV (4:2:2)
- Audio channels: 2
- Audio sample depth: 16 bit
Frame received (#0) - No input signal detected
Frame received (#1) - No input signal detected
Frame received (#2) - No input signal detected
Frame received (#3) - No input signal detected
Frame received (#4) - No input signal detected
Frame received (#5) - No input signal detected
Frame received (#6) - No input signal detected
Frame received (#7) - No input signal detected
Frame received (#8) - No input signal detected
Frame received (#9) - No input signal detected
I tried all the 14 input video mode and still no luck. I then installed the GUI tools provided and MediaExpress. I still couldn't capture any frame even within MediaExpress. I then used the GUI tool called "Blackmagic Desktop Video Utility" to explicitly switch from the SDI input to the HDMI one (see screenshot below). As soon as I did that, I was able to capture frames with MediaExpress and the Capture.cpp sample code. See the following output:
- Code: Select all
administrator@support:~/Linux/Samples/Capture$ ./Capture -d 0 -m -1
Capturing with the following configuration:
- Capture device: DeckLink Mini Recorder
- Video mode: Format Detection
- Pixel format: 8 bit YUV (4:2:2)
- Audio channels: 2
- Audio sample depth: 16 bit
Frame received (#0) - No input signal detected
Video format changed to 720p50
Frame received (#1) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#2) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#3) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#4) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#5) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#6) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#7) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#8) [No timecode] - Valid Frame - Size: 1843200 bytes
Frame received (#9) [No timecode] - Valid Frame - Size: 1843200 bytes
I'll need to run the video acquisition code on a server with no graphical environment. I wont be able to use the
"Blackmagic Desktop Video Utility" GUI tool.
My question is: How can I select the HDMI video input instead of the SDI one to capture frames with the Decklink SDK? Is there any command line tool that can allow me to configure the Mini-Recorder card such way?
Thank you for the time you've spent reading and/or answering me.
Best regards,
Jonathan.
Here is the output of the DeviceList sample code:
- Code: Select all
administrator@support:~/Linux/Samples/bin/x86_64$ ./DeviceList
=============== DeckLink Mini Recorder ===============
Attribute list:
Serial port present ? No
Device Persistent ID: 9b24792e
Device Topological ID: 430300
Number of sub-devices: 1
Sub-device index: 0
Number of audio channels: 16
Input mode detection supported ? Yes
Full duplex operation supported ? No
Internal keying supported ? No
External keying supported ? No
HD-mode keying supported ? Yes
Could not obtain the IDeckLinkOutput interface - result = 80000004
Supported video input display modes and pixel formats:
NTSC 720 x 486 29.97 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
PAL 720 x 576 25 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080p23.98 1920 x 1080 23.976 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080p24 1920 x 1080 24 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080p25 1920 x 1080 25 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080p29.97 1920 x 1080 29.97 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080p30 1920 x 1080 30 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080i50 1920 x 1080 25 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080i59.94 1920 x 1080 29.97 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
1080i60 1920 x 1080 30 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
720p50 1280 x 720 50 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
720p59.94 1280 x 720 59.9401 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
720p60 1280 x 720 60 FPS 8-bit YUV 10-bit YUV ------ ------ ------ ------ ------ ------ ------
Supported video output connections:
Supported video input connections:
SDI, HDMI