ATEM Sender

Questions about ATEM Switchers, Camera Converter and everything live!
  • Author
  • Message
Offline
User avatar

Sebastián Noó Bermúdez

  • Posts: 9
  • Joined: Mon Feb 01, 2016 3:05 pm
  • Location: La Plata, Buenos Aires, Argentina.

ATEM Sender

PostFri Apr 20, 2018 4:14 pm

I was writing a program to send video from directshow sources to the Atem media player, this is in its experimental stage. It is based on an earlier development of Ian Morrish, also uses ffmpeg code.
The idea is to be able to use videograph systems without the need to use any video input from the swhitcher.
I would greatly appreciate those who try it and send me their experiences to improve it.

[url]https://drive.google.com/open?id=1EOgHcN5WNtMZHM7Wpsjjy84VWGk_h5LV
[/url]

This program captures the video from any directshow source and sends each frame to a slot in the mediapool and takes advantage of the Atem switchers' functionality, which is that the images are reproduced in real time as they are updated.
As a result, we obtain an input source that can be used to put animated graphics or lower third advertising to the Atem without having to use one of the available video inputs.


Note: this program is in its beta version, works with Windows 10 and the achieved frame rate is subject to the capacity of the computer on which it runs and the capacity of the network in which it is connected to the Atem switch. There are no guarantees that it works with other versions of windows.

Best Regards.
Last edited by Sebastián Noó Bermúdez on Tue Apr 24, 2018 11:55 am, edited 1 time in total.
Sebastián Noó Bermúdez
CEO Audiovisuales
Sybila Producciones
Offline

Ian Morrish

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

Re: ATEM Sender

PostFri Apr 20, 2018 8:00 pm

Hi,
Installed it but get error
"Array variable has incorrect number of subscripts or subscript dimension range exceeded."

I do have a lot of devices installed...
Output from ffmpeg -list_devices true -f dshow -i dummy
[dshow @ 00000000027524a0] DirectShow video devices (some may be both video and audio devices)
[dshow @ 00000000027524a0] "Microsoft® LifeCam Studio(TM)"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\usb#vid_045e&pid_0772&mi_00#6&102c8981&2&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00000000027524a0] "MagicCamera Capture"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\root#image#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00000000027524a0] "Blackmagic WDM Capture (4)"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\decklink#avstream#6&2ab41826&0&0#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture4"
[dshow @ 00000000027524a0] "Blackmagic WDM Capture (7)"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\decklink#avstream#6&18383489&0&0#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture7"
[dshow @ 00000000027524a0] "Blackmagic WDM Capture (2)"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\decklink#avstream#5&23c6efb3&0&0#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture2"
[dshow @ 00000000027524a0] "Blackmagic WDM Capture"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\decklink#avstream#5&5b8a986&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture1"
[dshow @ 00000000027524a0] "Blackmagic WDM Capture (6)"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\decklink#avstream#6&871094&0&0#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture6"
[dshow @ 00000000027524a0] "Blackmagic WDM Capture (5)"
[dshow @ 00000000027524a0] Alternative name "@device_pnp_\\?\decklink#avstream#6&11f4d309&0&0#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\decklinkcapture5"
[dshow @ 00000000027524a0] "Decklink Video Capture (3)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{20722FC4-9EBC-47B9-80B4-6A2ED4D27ECF}"
[dshow @ 00000000027524a0] "Decklink Video Capture"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{44A8B5C7-13B6-4211-BD40-35B629D9E6DF}"
[dshow @ 00000000027524a0] "Decklink Video Capture (6)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{681439FF-EB76-45DD-BF51-80D7C60F5727}"
[dshow @ 00000000027524a0] "Decklink Video Capture (5)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{929CE8E6-96DB-4FE0-980A-83DAB2D2AF31}"
[dshow @ 00000000027524a0] "Wirecast Virtual Camera"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{9AB5CCFD-2B50-4AFD-A2EE-017D732E43A9}"
[dshow @ 00000000027524a0] "Decklink Video Capture (4)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{B3980D18-10D4-4045-9AF7-91EF330AEBF2}"
[dshow @ 00000000027524a0] "Decklink Video Capture (2)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{CE3FF814-04C1-4827-9F18-426203E9B1B3}"
[dshow @ 00000000027524a0] "Decklink Video Capture (7)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{DE5D8755-421A-43F2-8847-E5A9ACB44D04}"
[dshow @ 00000000027524a0] DirectShow audio devices
[dshow @ 00000000027524a0] "Line In (Blackmagic DeckLink Duo 2 (4) Audio)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{B6603936-F715-458A-80FD-D01BA140C97E}"
[dshow @ 00000000027524a0] "Decklink Audio Capture (2)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{1BCC3EF4-724F-4A45-B61D-8D4BBF32C5BF}"
[dshow @ 00000000027524a0] "Decklink Audio Capture (4)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{1EF51542-B849-4337-B7AE-C980C13F86BF}"
[dshow @ 00000000027524a0] "Decklink Audio Capture"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{AAA22F7E-5AA0-49D9-8C8D-B52B1AA92EB7}"
[dshow @ 00000000027524a0] "Decklink Audio Capture (6)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{B8E0C8A1-777D-4727-A542-6DF0DF1E1D1C}"
[dshow @ 00000000027524a0] "Decklink Audio Capture (3)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{BC90EE8C-F8DC-4776-8DCF-24929C13F9D2}"
[dshow @ 00000000027524a0] "Decklink Audio Capture (5)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{DE6DB48D-66EE-477A-BE4B-522B2253CD95}"
[dshow @ 00000000027524a0] "Decklink Audio Capture (7)"
[dshow @ 00000000027524a0] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{ED1441F5-A132-44E7-9027-14DB5674149B}"
[dshow @ 00000000027524a0] "FCA610 Mic 1/2 (Behringer FCA610 WDM)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{06EA75B7-9F5E-4ACD-B1F4-81F7B8E09050}"
[dshow @ 00000000027524a0] "Line In (Audiohub2x4)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{197182D7-D42E-49C1-ACBA-7C5D7F8B0636}"
[dshow @ 00000000027524a0] "Line In (Blackmagic DeckLink SDI 4K Audio)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{1FCC1F37-A616-4C42-8037-C91DC9C157DE}"
[dshow @ 00000000027524a0] "FCA610 Line 3/4 (Behringer FCA610 WDM)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{310B2463-7EFF-43D8-905A-3900E0EB2C70}"
[dshow @ 00000000027524a0] "Line In (Blackmagic DeckLink Duo 2 (3) Audio)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{33701D6D-E981-4016-9F04-C9442CF6EF5D}"
[dshow @ 00000000027524a0] "Desktop Microphone (Microsoft® LifeCam Studio(TM))"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{341C958D-41CD-4C1B-8351-039C4E1C1C93}"
[dshow @ 00000000027524a0] "FCA610 SPDIF (Behringer FCA610 WDM)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{6040A084-BD86-4367-8184-93CD54D451CF}"
[dshow @ 00000000027524a0] "Line In (Blackmagic DeckLink Duo 2 (1) Audio)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{74D19A09-0701-47B6-8D93-F40F2D4E1344}"
[dshow @ 00000000027524a0] "Line In (Blackmagic DeckLink Duo 2 (2) Audio)"
[dshow @ 00000000027524a0] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{7ECEF624-E807-49D5-B4D9-DCB16BDD5BD6}"
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com
Offline
User avatar

Sebastián Noó Bermúdez

  • Posts: 9
  • Joined: Mon Feb 01, 2016 3:05 pm
  • Location: La Plata, Buenos Aires, Argentina.

Re: ATEM Sender

PostMon Apr 23, 2018 2:41 pm

Thanks Ian Morrish for your contribution. I will review the code and upload the corrected version soon.
best regards
Sebastián Noó Bermúdez
CEO Audiovisuales
Sybila Producciones
Offline
User avatar

Sebastián Noó Bermúdez

  • Posts: 9
  • Joined: Mon Feb 01, 2016 3:05 pm
  • Location: La Plata, Buenos Aires, Argentina.

Re: ATEM Sender

PostTue Apr 24, 2018 11:50 am

Ian, I've uploaded a version that limits the capture of 15 devices until I can definitely solve the problem, so you can try testing it this way.

https://drive.google.com/open?id=1EOgHcN5WNtMZHM7Wpsjjy84VWGk_h5LV

Best regards.
Sebastián Noó Bermúdez
CEO Audiovisuales
Sybila Producciones

Return to Live Production

Who is online

Users browsing this forum: Bing [Bot], Roman Pytkin Pekarek and 25 guests