applest / node-applest-atem

A module to control Blackmagic Design ATEM Switchers
88 stars 30 forks source link

uploadFromPNGFile not working with ATEM Mini Pro? #27

Open sj-unit72 opened 4 years ago

sj-unit72 commented 4 years ago

The connection to the ATEM Mini Pro is working fine. Changing inputs etc works as expected but when I try to use the uploadFromPNGFile method, it doesn't seem to be working.

When I manually add an image in the media pool and run the code, it only removes the image I manually uploaded but the one I uploaded with code does not appear. Path is correct and I'm not getting any errors.

nmcdaines commented 3 years ago

Hi @sj-unit72, I am not sure if this repo is maintained as it's last commit was 3 years ago. I stumbled across this library: https://github.com/nrkno/tv-automation-atem-connection

It has the ability to upload stills to the ATEM mini. Note that you have to convert the PNG image to an rgba buffer before uploading.

https://nrkno.github.io/tv-automation-atem-connection/classes/atem.html#uploadstill

sj-unit72 commented 3 years ago

Thanks for the link @nmcdaines !