SteffeyDev / atemOSC

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

Recording control #132

Closed juliafrey closed 3 years ago

juliafrey commented 4 years ago

Are there atem osc addresses to capture video? Record and stop?

SteffeyDev commented 4 years ago

Do you mean using hyperdeck?

SteffeyDev commented 4 years ago

In 2.5.7 I added some hyper deck commands such as /atem/hyperdeck/<hyperdeck-id>/record and /atem/hyperdeck/<hyperdeck-id>/stop. The full list is available from the in-app list.

juliafrey commented 4 years ago

We aren't using hyperdecks, just capture through the atem software (where the processing palette and media player are).

SteffeyDev commented 4 years ago

Ah, no that is not included yet. I’ll tag this as a feature request.

SteffeyDev commented 4 years ago

Blackmagic Switchers SDK.pdf

@juliafrey I looked briefly, and couldn't find any way to capture video in the switcher manual. I've attached the manual, if you can find a function we can call in the manual to control the video, I will happily add to this project. Unfortunately, this app can only do what BlackMagic allows us to do. Let me know if you find anything.

randallpacker commented 4 years ago

@SteffeyDev Peter, I just looked at the documentation and on page 570 I see the Record function (as well as play, stop, etc...) . I have included a screenshot. Screenshot 2020-01-18 14 02 57

SteffeyDev commented 4 years ago

@randallpacker thats for hyperdeck, OP is asking for non-hyperdeck.

randallpacker commented 4 years ago

Thanks Peter for clarification.

SteffeyDev commented 3 years ago

It looks like they added support for this in the SDK over the past year! the latest 8.5 manual has a new section for recording to external devices. So, I'll look into implementing this in the near future.

rockgod407 commented 3 years ago

Hey!

On top of this, I was wondering if it is at all possible to add in the ability to send a string to Name the file being recorded on the ATEM Pro // Pro ISO's.

The macros in the ATEM Software Control don't allow us to create a macro to change the filename currently and would love to be able to automate my recording process by having cue lists from QLAB that name my recordings for me.

Screen Shot 2021-03-05 at 5 20 53 PM

Maybe in section 12 of the new 8.6 SDK?

Blackmagic Switchers SDK.pdf

Section12
SteffeyDev commented 3 years ago

Funny you should mention that, I was working on this feature this week and went ahead and added support for setting file name because I anticipated the request. Hoping to get this released this weekend!

rockgod407 commented 3 years ago

That would be phenomenal!! I have a week of virtual talent show recordings starting Monday that I would absolutely die to use this feature on. I just spent the past few hours trying to use AppleScript to automate the process and it's certainly very clunky. Can't wait to see what you have in store for us!!

SteffeyDev commented 3 years ago

Added in v4.1.0, just released. Didn't have the ability to test this feature, so not sure if it works. Give it a test and let me know!

rockgod407 commented 3 years ago

Awesome, Just tested but got this error "Recording not available"

Screen Shot 2021-03-05 at 10 15 39 PM

Edit: This was also on a drive that I use with this ATEM consistently. This looks super promising though!! Can't wait to squash this lil bug and get it rolling! I'll be available Sunday most of the day (EST) if you want to remotely use my ATEM Mini Pro ISO to demo it!

SteffeyDev commented 3 years ago

Can you turn on debug messages (button right), then disconnect and reconnect to switcher? Just want to confirm debug output is what I think it will be

SteffeyDev commented 3 years ago

Also, can you show me what ATEM software control shows for your drive?

rockgod407 commented 3 years ago

Yep! here you go:

Screen Shot 2021-03-05 at 11 20 18 PM

And then here's atem software control's panel for recording, and me manually hitting the record button to show that it will record to the drive from software control

Screen Shot 2021-03-05 at 11 17 43 PM Screen Shot 2021-03-05 at 11 17 34 PM
SteffeyDev commented 3 years ago

Ok, are you running 8.6? That error indicates that the SDK can't connect to the recording interface, which usually means that the switcher doesn't support it, which yours clearly does.

SteffeyDev commented 3 years ago

@randallpacker Do you have the ability to test this functionality out?

randallpacker commented 3 years ago

I just had a moment right now but I couldn't get the record function to work:

randallpacker commented 3 years ago

sorry, truncated message. Not quite sure how to construct the OSC message in VDMX. I used the same message: /atem/atem1/recording/start and got the same error message.

SteffeyDev commented 3 years ago

Ok, thanks for confirming

petrihiissa commented 3 years ago

Hi,

Would it be possible to get feedback messages from ATEM (Mini Pro) hardware recording (to external USB disk) buttons?

Now when pressing REC/STOP buttons AtemOSC Debug Message shows "[Debug] Switcher unknown event occurred: 1952672867" and no feedback messages are sent to OSCulator.

This would be really great to have, because it could be used to control "On Air" light that would turn on when recording is underway and turn off when recording is stopped (I'm not using ATEM hardware streamer but I always turn on recording before streaming session and turn off recording after streaming session, so this kind of "On Air" / "Recording Underway" light control would be very functional).

SteffeyDev commented 3 years ago

@randallpacker @rockgod407 I had the same issue you guys had, but then when I upgraded my ATEM Software Control from 8.5.3 to 8.6.4 the recording started working. The Atem SDK itself is bundled with ATEM Software Control, so make sure to update that if recording does not work.

SteffeyDev commented 3 years ago

@petrihiissa I'm going to add an /atem/recording/active feedback message in the next release, which will include a single boolean value indicating when the recording is active.

SteffeyDev commented 3 years ago

Released in 4.2.0, let me know if you guys continue to have issues with this