Issue with Selecting media player

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

Gimenez

  • Posts: 1
  • Joined: Thu Apr 05, 2018 7:19 pm
  • Real Name: Matheus Gimenez

Issue with Selecting media player

PostThu Apr 05, 2018 7:24 pm

Hey guys, so i'm using the API SDK to develop a control program to ATEM Switcher.
I was able to upload a .tga file and get it to media player 1 key. The problem is that i need to make hat image overlay the image from the camera. I'm able to do it thru ATEM Control, but if i pass an index bigger than 9 to the function "IBMDSwitcherDownstreamKey::SetInputCut(int index)" the program doesnt change to media player. (If less than 9, the program works fine transitionig in cameras and black screen)

Does anyone know how to proceed? Appreciate the attention!
Offline

Ian Morrish

  • Posts: 208
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: Issue with Selecting media player

PostFri Apr 06, 2018 9:31 am

Don't know what SDK version you are looking at but the value should be a valid BMDSwitcherInputId which for MP1 or MP2 the key values are 3011 or 3021

5.2.17.2 IBMDSwitcherDownstreamKey::SetInputCut method The SetInputCut method sets the cut input source.
Syntax HRESULT SetInputCut (BMDSwitcherInputId inputId)
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com

Return to Software Developers

Who is online

Users browsing this forum: Bing [Bot] and 2 guests