Several inputs with same name

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

facecast

  • Posts: 2
  • Joined: Wed Aug 14, 2019 10:45 am
  • Real Name: Vladimir Sokolov

Several inputs with same name

PostWed Aug 14, 2019 10:55 am

I need to capture video signal with ffmpeg on Ubuntu 16.04 server from 4 sources.
I'm using a couple DeckLink SDI Duo.
How can I separate several inputs with same name?

This is how it looks like:
Code: Select all
ffmpeg -f decklink -list_devices 1 -i dummy:
[decklink @ 0x557a1bc12ea0] Blackmagic DeckLink devices:
[decklink @ 0x557a1bc12ea0]     'DeckLink SDI (1)'
[decklink @ 0x557a1bc12ea0]     'DeckLink SDI (2)'
[decklink @ 0x557a1bc12ea0]     'DeckLink SDI (1)'
[decklink @ 0x557a1bc12ea0]     'DeckLink SDI (2)'
Offline

facecast

  • Posts: 2
  • Joined: Wed Aug 14, 2019 10:45 am
  • Real Name: Vladimir Sokolov

Re: Several inputs with same name

PostThu Aug 15, 2019 6:52 am

I found the answer to my question.
If you use
Code: Select all
ffmpeg -f decklink -sources
command, you can see id of each devices and capture signal with it:
Code: Select all
ffmpeg -f decklink -format_code Hi50 -i "DeckLink SDI (2)@46:00000000:002e0300" -f null /dev/null

This option is available in version 11 software.
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 443
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Several inputs with same name

PostThu Aug 15, 2019 7:37 am

Hi Vladimir,

If you are running a desktop, you can change the display label is via the Desktop Video Setup utility - click on the device -> About tab -> Product Notes -> Label: field

If you are running headless, you can use the Desktop Video SDK sample DeviceConfigure to set the label.
Code: Select all
./DeviceConfigure -d 0 -n "New device name"
The label is linked to the persistent ID for the device, so the label is persistent across reboots.

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 11 guests