Hi Le Thi Hang,
To capture from all 4 inputs on the DeckLink Duo 2, you will need to configure each of the 2 Duo pairs to the
bmdProfileTwoSubDevicesHalfDuplex profile. Under this profile both connectors in the pair will operate independently and each can be enabled as an output or an input.
The DeckLink SDK manual section 2.4.11 has further information about Device Profiles, including a table of the devices and connectors of the DeckLink Duo 2 with different profiles.
You can modify the profile for the DeckLink Duo 2 with the Desktop Video Setup application under the Connectors tab. You need to set the connector mapping as:
- DeckLink Duo (1) = SDI 1
- DeckLink Duo (3) = SDI 2
- DeckLink Duo (2) = SDI 3
- DeckLink Duo (4) = SDI 4
You can also set the profile programmatically. Please have a look at the ActivateProfile sample in the Desktop Video SDK. The ActivateProfile sample also has prebuilt binaries for each OS, so will run without needing to recompile.
Whichever method you choose, you will need to set the profile for each connector pair.
Regards
Cameron