SteffeyDev / atemOSC

Control ATEM video switchers over the network with OSC messages
http://www.atemosc.com
202 stars 32 forks source link

atemOSC 2.5.6 Cut and Auto not working #120

Closed edmunden closed 5 years ago

edmunden commented 5 years ago

Im using oslulator 3.3.0 .. the cut and auto function not working after I update from atem osc 2.5.4.. previous version was working fine. Thanks.

officialmattsnyder commented 5 years ago

I'm experiencing this too. Behavior is pretty intermittent with me.

Most common behavior is that a transition will execute and then "undo" itself 2-3 seconds later. Every once in a while the auto transition will just "freeze" at a 50/50 blend of the 2 sources. All this feels like the transitions are getting executed twice somehow.

I'm trying to narrow down exactly where the problem is coming from.

Hopefully that's helpful data

randallpacker commented 5 years ago

I believe the problem with controlling the ATEM transition bar is related to sending too much data. I would have crashes after quitting atemOSC, and very occasionally while in use, when sending steady streams of data to the transition bar. I was able to resolve this problem in MaxMSP by putting a speedlim object on the dataflow, with a maximum speed limit of 200ms between values. This seemed to have resolved the crashes. Perhaps there is a way to do something like that in Osculator?

bullypro commented 5 years ago

Anybody resolve this? I'm having the same issue. When I hit Cut, it will do the action but switch back instantly.

officialmattsnyder commented 5 years ago

I never actually "solved" it, but I was able to isolate the problem to OSCulator. So, I bypassed it and am now sending OSC commands directly to ATEM. Which actually winds up being a much more elegant solution.

bullypro commented 5 years ago

Thanks. I am very new to this and only know how to use OSCulator to send commands. Do you have any links to show me how I would bybass and send OSC commands directly to ATEM? or is it something you can easily explain? Thank you.

officialmattsnyder commented 5 years ago

What are you using to send data into osculator in the first place?

bullypro commented 5 years ago

I'm using a Behringer X-Touch Mini and Blackmagic ATEM Television Studio HD

using software OSCultor, atemOSC, ATEM Switcher Software

officialmattsnyder commented 5 years ago

Gotcha. With that set up you'll need to probably keep OSCulator as I don't think the xtouch is capable of sending OSC commands.

For what it's worth https://bitfocus.io/companion/ would be worth checking out. It's a much better solution with a lot more capability than what you're currently doing

randallpacker commented 5 years ago

I am using Max/MSP/Jitter to send commands directly to ATEM. I believe there is a sample Max Patch in the docs. Max is great for integrating MIDI, OSC, audio and video.

bullypro commented 5 years ago

I'll definitely check out Companion. Thank you.

Josedesosua commented 5 years ago

I'm using a Behringer X-Touch Mini and Blackmagic ATEM Television Studio HD

Software: OSCulator 3.3.0, atemOSC 2.5.6, ATEM Software Control 8.0

Precisely I am having the same problem as bullypro. Cut, Auto and FTB. Cut just works by keeping the key pressed, then returns to previous state. For Auto and FTB the effect is gradual. I have to keep pressing the key until the transition completes but then it goes back to previous state. Any help is appreciated.

SteffeyDev commented 5 years ago

I am fairly certain the reason you are seeing this behavior is because when you press a physical or midi button, it actually sends two signals: a 1 when the button is pressed, and a 0 when the button is released. atemOSC receives both of these signals and tries to process them both, ignoring the number that was sent. When I had this issue, the fix was to go into OSCulator and add a filter so that signals were only sent on the rising edge (0 -> 1), and then the button release signal (1 -> 0) would be ignored and not sent to atemOSC

SteffeyDev commented 5 years ago

If needed, I can probably give more specific guidance in how to fix this in OSCulator.

Josedesosua commented 5 years ago

Thanks Peter for this helpful input. I am fairly new to Osculator, so I would appreciate some help on how to add this filter.

Enviado desde mi iPhone

El 28 jun. 2019, a la(s) 12:30 p. m., Peter Steffey notifications@github.com<mailto:notifications@github.com> escribió:

If needed, I can probably give more specific guidance in how to fix this in OSCulator.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/danielbuechele/atemOSC/issues/120?email_source=notifications&email_token=AMO56TDMRBDUAIM6ZIADUOTP4Y4APA5CNFSM4HAVRT6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2RRKA#issuecomment-506796200, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMO56TACL3AXZNO53JPJV3TP4Y4APANCNFSM4HAVRT6A.

bullypro commented 5 years ago

If needed, I can probably give more specific guidance in how to fix this in OSCulator.

Yes, that would be very helpful. Thank you!

SteffeyDev commented 5 years ago

Ok. Settings button (top right corner), OSC routes tab, double-click on the route for /atem/transition/auto to bring up the OSC Template Editor, then at the bottom change "Send When" to "value crosses 0.5 upwards". Do the same with /atem/transition/ftp and /atem/transition/cut. This should trigger the transition only on button press, not release. If you want to trigger on only release instead, you can select "value crosses 0.5 downwards". Obviously some of the other options there may work as well.

SteffeyDev commented 5 years ago

If you don't have a route for those paths you may have to create them first. Let me know if you still can't figure it out.

bullypro commented 5 years ago

SteffeyDev this worked for me!!!! Thank you so much!

Josedesosua commented 5 years ago

If you don't have a route for those paths you may have to create them first. Let me know if you still can't figure it out.

Still can't figure it out. Here's the FTB, assigned to Note 12. When adding "value crosses 0.5 upwards", now the button does not respond at all. I might be missing something here. Here's a screenshot of my settings. Bullypro, can you offer some insight?

Screen Shot 2019-06-29 at 9 30 53 AM Screen Shot 2019-06-29 at 9 31 09 AM
SteffeyDev commented 5 years ago

I would recommend experimenting with all the different “Send When” options to see if any of them work.

SteffeyDev commented 5 years ago

Also, instead of , you could try just putting 1 (float)

bullypro commented 5 years ago

Bullypro, can you offer some insight?

Let me look at my screen and I'll let you know if anything is different. I won't be in front of it till tonight. I do notice a little bit of difference in that in my top message window, if I hit FTB for example, It will show FTB in the top and bottom windows. But not sure that matters any, it's just the way I labeled it. I used this YouTube video to set up everything on my end. Maybe this will help answer anything you did differently from what I did. https://www.youtube.com/watch?v=ooaOz5Uytxs

Josedesosua commented 5 years ago

Ok. Settings button (top right corner), OSC routes tab, double-click on the route for /atem/transition/auto to bring up the OSC Template Editor, then at the bottom change "Send When" to "value crosses 0.5 upwards". Do the same with /atem/transition/ftp and /atem/transition/cut. This should trigger the transition only on button press, not release. If you want to trigger on only release instead, you can select "value crosses 0.5 downwards". Obviously some of the other options there may work as well.

Success! I just created a new file in Osculator and started from scratch. This time it worked! Thank you so much for your help.

Josedesosua commented 5 years ago

Bullypro, can you offer some insight?

Let me look at my screen and I'll let you know if anything is different. I won't be in front of it till tonight. I do notice a little bit of difference in that in my top message window, if I hit FTB for example, It will show FTB in the top and bottom windows. But not sure that matters any, it's just the way I labeled it. I used this YouTube video to set up everything on my end. Maybe this will help answer anything you did differently from what I did. https://www.youtube.com/watch?v=ooaOz5Uytxs

It was indeed different. So I created a new file from scratch and this time it worked! Thanks.

SteffeyDev commented 5 years ago

Glad you guys fixed your problems! I’m going to close this as the issue seems to not be with atemOSC, but I have a feeling this thread will be useful in the future.

tedzstonz2000 commented 3 years ago

I am fairly certain the reason you are seeing this behavior is because when you press a physical or midi button, it actually sends two signals: a 1 when the button is pressed, and a 0 when the button is released. atemOSC receives both of these signals and tries to process them both, ignoring the number that was sent. When I had this issue, the fix was to go into OSCulator and add a filter so that signals were only sent on the rising edge (0 -> 1), and then the button release signal (1 -> 0) would be ignored and not sent to atemOSC

can you please send a screen shot of where u put a filter - totally new this as well same issue as everyone else -

tedzstonz2000 commented 3 years ago

can you please send a screen shot of where u put a filter - totally new this as well same issue as everyone else -