Coder Social home page Coder Social logo

Comments (12)

krocheck avatar krocheck commented on July 25, 2024

@hjoelr I'll take a look. Yeah, it is a beefy module ... my fault mostly. There's going to have to be a number of changes around SuperSource handling in the upstream library we use due to the new 8K switcher having 2 of them. We're managing that implementation in a different branch, so I may be able to get this in the short term as-is.

from companion-module-bmd-atem.

hjoelr avatar hjoelr commented on July 25, 2024

@krocheck Wow, thanks for the quick response! I noticed that you're using this library for most of the communications to the ATEM. They already have a function in there called setSuperSourceBoxSettings that may make it pretty simple to add to this library as is. My JS/TypeScript knowledge is shallow, but if I'm reading it right it seems that you can't set just the source property but have to set all the others (enabled, x, y, size, cropped, etc.) at the same time. Right now all I need/want is to change just the source property but leave all the others as they are.

from companion-module-bmd-atem.

krocheck avatar krocheck commented on July 25, 2024

Yes, that is correct. All of that data is reported from the atem, it just has to be stored in the states array. Its one of my complaints for that library because technically speaking the atem protocol allows you to set flags for which variables are going to be updated, but atem-connection doesn't let you manipulate that such that every variable must be sent (even those not changing).

I think I got it close, but I won't be able to test. Will you be in a position to test in the next few days?

from companion-module-bmd-atem.

krocheck avatar krocheck commented on July 25, 2024

@hjoelr should be there for you in the current build. I'll mostly be curious that it behaves correctly in terms of not changing the other parameters of the boxes.

from companion-module-bmd-atem.

hjoelr avatar hjoelr commented on July 25, 2024

@krocheck Thank you for the quick turnaround and implementation! Very grateful for your help 😊. I'll see if I can give it a try in the next day or two. The ATEM is at a different location than where I'm at, so I have to go there to test it.

from companion-module-bmd-atem.

Julusian avatar Julusian commented on July 25, 2024

@krocheck The library should let you set just one of the box properties at a time (hence the Partial parameter type). It determines which properties to update based on what fields are set in the object parameter. If it is resetting the other properties at the same time then that is a bug

from companion-module-bmd-atem.

krocheck avatar krocheck commented on July 25, 2024

@Julusian I'll have to test. I feel like I experienced the opposite elsewhere but it was a ways back.

from companion-module-bmd-atem.

mint-dewit avatar mint-dewit commented on July 25, 2024

I feel like I experienced the opposite elsewhere but it was a ways back.

That is strange, it is something that is used in almost all high level commands actually. Next time you see it, it would be great if you could open an issue in the repository with a report of which commands you were using. Regarding the supersource command, I can confirm the Partial object will work as it is used in production by the Atem Compositor project.

I've tried to use Companion to set the supersource boxes on a production over the weekend but it resets all other parameters to 0 currently, probably because it is missing state info about the boxes. It should work more reliably if you use a Partial object instead.

from companion-module-bmd-atem.

krocheck avatar krocheck commented on July 25, 2024

Yeah, I need to get my atem over from the warehouse as per usual. Since this is all still alpha/beta I'll get it cleaned up. Is there polling we need to do to specifically? I was under the impression all of the commands report out state on connection, so I was expecting SuperSourceBoxPropertiesCommand to report those states? All things I can play with once a a unit is here.

from companion-module-bmd-atem.

mint-dewit avatar mint-dewit commented on July 25, 2024

Yup, should work the same. I'm just speculating as to why it might not work to be honest. I don't have a 2 M/E over here either, just happened to be using it for a production. (Routing the MV windows from streamdeck is awesome btw)

from companion-module-bmd-atem.

krocheck avatar krocheck commented on July 25, 2024

Yeah, I was fairly infuriated when I couldn't do MV window changes in macros. Some guys will put temporary changes on a latched button. Definitely my favorite contribution to the project. Happy others agree!

from companion-module-bmd-atem.

mint-dewit avatar mint-dewit commented on July 25, 2024

I've tried to use Companion to set the supersource boxes on a production over the weekend but it resets all other parameters to 0 currently

Come to think about this again, I have no idea on what version of the firmware that atem was. If it was on 8.0 I guess we wouldn't expect the current commands to function correctly.

from companion-module-bmd-atem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.