- Posts: 6
- Joined: Fri May 24, 2019 8:07 pm
- Real Name: Askar Mamutov
Hello everyone!
So I've built some FFmpeg(3.2.14) on CentOS(7.4.1708) with DeckLink and Intel Quick Sync Video(QSV) support and we have two DeckLink Duo cards connected to the machine. The question is how to identify those cards inputs in ffmpeg commands, since they have same names, i.e.
And here's the output in dmesg log:
And a list of blackmagic devices inside /dev:
Any way to rename inputs to give them unique names for FFmpeg?
So I've built some FFmpeg(3.2.14) on CentOS(7.4.1708) with DeckLink and Intel Quick Sync Video(QSV) support and we have two DeckLink Duo cards connected to the machine. The question is how to identify those cards inputs in ffmpeg commands, since they have same names, i.e.
- Code: Select all
ffmpeg -f decklink -list_devices 1 -i dummy
[decklink @ 0xb94d40] Blackmagic DeckLink devices:
[decklink @ 0xb94d40] 'DeckLink Duo (1)'
[decklink @ 0xb94d40] 'DeckLink Duo (2)'
[decklink @ 0xb94d40] 'DeckLink Duo (3)'
[decklink @ 0xb94d40] 'DeckLink Duo (4)'
[decklink @ 0xb94d40] 'DeckLink Duo (1)'
[decklink @ 0xb94d40] 'DeckLink Duo (2)'
[decklink @ 0xb94d40] 'DeckLink Duo (3)'
[decklink @ 0xb94d40] 'DeckLink Duo (4)'
And here's the output in dmesg log:
- Code: Select all
[root@localhost ~]# dmesg | grep DeckLink
[ 2.307671] BlackmagicIO: Enabled device "DeckLink Duo 2 (1)" x4/5 Gbps (d5c4efb0,510100) FW Date: 06-12 10:35
[ 2.308538] BlackmagicIO: DeckLink Duo 2 (1) as blackmagic!io0 [0000:01:00.0]
[ 2.308629] BlackmagicIO: Enabled device "DeckLink Duo 2 (3)" x4/5 Gbps (d5c4efb2,510101) FW Date: 06-12 10:35
[ 2.309434] BlackmagicIO: DeckLink Duo 2 (3) as blackmagic!io1 [0000:01:00.0]
[ 2.309525] BlackmagicIO: Enabled device "DeckLink Duo 2 (2)" x4/5 Gbps (d5c4efb1,510102) FW Date: 06-12 10:35
[ 2.310305] BlackmagicIO: DeckLink Duo 2 (2) as blackmagic!io2 [0000:01:00.0]
[ 2.310401] BlackmagicIO: Enabled device "DeckLink Duo 2 (4)" x4/5 Gbps (d5c4efb3,510103) FW Date: 06-12 10:35
[ 2.311164] BlackmagicIO: DeckLink Duo 2 (4) as blackmagic!io3 [0000:01:00.0]
[ 2.311416] BlackmagicIO: Enabled device "DeckLink Duo 2 (1)" x4/5 Gbps (b72ef1b0,510200) FW Date: 06-12 10:35
[ 2.312142] BlackmagicIO: DeckLink Duo 2 (1) as blackmagic!io4 [0000:02:00.0]
[ 2.319744] BlackmagicIO: Enabled device "DeckLink Duo 2 (3)" x4/5 Gbps (b72ef1b2,510201) FW Date: 06-12 10:35
[ 2.320336] BlackmagicIO: DeckLink Duo 2 (3) as blackmagic!io5 [0000:02:00.0]
[ 2.324171] BlackmagicIO: Enabled device "DeckLink Duo 2 (2)" x4/5 Gbps (b72ef1b1,510202) FW Date: 06-12 10:35
[ 2.324920] BlackmagicIO: DeckLink Duo 2 (2) as blackmagic!io6 [0000:02:00.0]
[ 2.325026] BlackmagicIO: Enabled device "DeckLink Duo 2 (4)" x4/5 Gbps (b72ef1b3,510203) FW Date: 06-12 10:35
[ 2.325747] BlackmagicIO: DeckLink Duo 2 (4) as blackmagic!io7 [0000:02:00.0]
And a list of blackmagic devices inside /dev:
- Code: Select all
[root@localhost ~]# ls -l /dev/blackmagic/*
crw-rw-rw-. 1 root root 10, 58 May 24 19:02 /dev/blackmagic/io0
crw-rw-rw-. 1 root root 10, 57 May 24 19:02 /dev/blackmagic/io1
crw-rw-rw-. 1 root root 10, 56 May 24 19:02 /dev/blackmagic/io2
crw-rw-rw-. 1 root root 10, 55 May 24 19:02 /dev/blackmagic/io3
crw-rw-rw-. 1 root root 10, 54 May 24 19:02 /dev/blackmagic/io4
crw-rw-rw-. 1 root root 10, 53 May 24 19:02 /dev/blackmagic/io5
crw-rw-rw-. 1 root root 10, 52 May 24 19:02 /dev/blackmagic/io6
crw-rw-rw-. 1 root root 10, 51 May 24 19:02 /dev/blackmagic/io7
Any way to rename inputs to give them unique names for FFmpeg?