ffmpeg + 2 quad HDMI recorders

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

bockor

  • Posts: 8
  • Joined: Thu Mar 05, 2020 11:09 am
  • Real Name: bernard willaert

ffmpeg + 2 quad HDMI recorders

PostWed May 24, 2023 8:49 am

We have 2 quad HDMI recorders in the same PC - Ubuntu 22.04
How can ffmpeg differentiate between input 1 of one board or the other for capturing ?
Capturing an image with a single board: eg:
ffmpeg -f decklink -i 'DeckLink Quad HDMI Recorder (1)' -y -frames:v 1 output.jpg

But DeckLink Quad HDMI Recorder (1) is the same for both boards:

ffmpeg -sources decklink

89:c577d090:00000000 [DeckLink Quad HDMI Recorder (1)]
89:c577d091:00000000 [DeckLink Quad HDMI Recorder (2)]
89:c577d092:00000000 [DeckLink Quad HDMI Recorder (3)]
89:c577d093:00000000 [DeckLink Quad HDMI Recorder (4)]
89:4b1031d0:00000000 [DeckLink Quad HDMI Recorder (1)]
89:4b1031d1:00000000 [DeckLink Quad HDMI Recorder (2)]
89:4b1031d2:00000000 [DeckLink Quad HDMI Recorder (3)]
89:4b1031d3:00000000 [DeckLink Quad HDMI Recorder (4)]

ls -all /dev/blackmagic/
total 0
drwxr-xr-x 2 root root 200 Mai 24 10:03 .
drwxr-xr-x 21 root root 4500 Mai 24 10:03 ..
crw-rw-rw- 1 root root 10, 122 Mai 24 10:03 io0
crw-rw-rw- 1 root root 10, 121 Mai 24 10:03 io1
crw-rw-rw- 1 root root 10, 120 Mai 24 10:03 io2
crw-rw-rw- 1 root root 10, 119 Mai 24 10:03 io3
crw-rw-rw- 1 root root 10, 118 Mai 24 10:03 io4
crw-rw-rw- 1 root root 10, 117 Mai 24 10:03 io5
crw-rw-rw- 1 root root 10, 116 Mai 24 10:03 io6
crw-rw-rw- 1 root root 10, 115 Mai 24 10:03 io7
Offline

codedeltajames

  • Posts: 296
  • Joined: Mon Mar 02, 2020 11:30 am
  • Location: UK
  • Real Name: James Goodwin

Re: ffmpeg + 2 quad HDMI recorders

PostWed May 24, 2023 2:50 pm

Can you rename the devices in the Desktop Video set up application. This used to show the custom names in FFMPEG and allow them to be selected.
Offline

bockor

  • Posts: 8
  • Joined: Thu Mar 05, 2020 11:09 am
  • Real Name: bernard willaert

Re: ffmpeg + 2 quad HDMI recorders

PostThu May 25, 2023 7:12 am

codedeltajames wrote:Can you rename the devices in the Desktop Video set up application. This used to show the custom names in FFMPEG and allow them to be selected.


Changing the labels in the Desktop Video app is exactly what we were looking for.
Thank you James !

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 43 guests