-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rec / ISO Rec mode (akin to On Air mode) #98
Comments
Hi, I'm glad you're liking it. 🙂 It should be possible to add, but there's no official library. It's all based on reverse engineering by Skaarhoj, and he sadly stopped publishing updates years ago. I added On Air myself in my copy by coaming through UDP packets with wireshark. Essentially you'd need to do the same. Sadly I'm limited on time at the moment, but if you find it I might be able to implement it, or show you where to look. |
Thank you for your swift response! |
You're on the right path I think, but you have to get more low level. Here you see what I added to parse raw streaming status data. https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/blob/master/libraries/ATEMmin/ATEMmin.cpp#L344-L361 Now that I'm thinking about it, maybe some recording commands can be found in Skaarhojs other ATEM libraries. He had different sizes with support different commands, so that you could run a smaller one on smaller hardware. Not sure if ISO recording is there. |
Thanks for the tips! As for the Skaarhojs repo i'm completely lost where to look due to the repo structure As a workaround I could try replacing streaming state with one of the streaming error states you've implemented. That way by not filling out stream key I could use on air button and mode to turn on the red light while not putting load on the switcher needlessly |
Maybe that could work. Else this might. https://github.com/nrkno/sofie-atem-connection/tree/master/src%2Fcommands%2FRecording It's the underlying library used by the Companion module. |
Hi there, I've snooped around the code examples and other Atem libraries but im not code savvy enough to get useful serial data out of it. Len=276
Or?
And what i think is an ongoing recording status packet (appears periodicaly) Len=144
I would be greatful if you could guide me through modyfing the code or getting useful info out of the packets |
I tried to replace "StRS" value in your streaming implementation with various 4 letter combinations from wireshark packets with no suceess. I figure it's not as straight forward as I suspected. |
Sorry for the late reply, but i took a quick look at it. I added the In this banch I have added these functions to the
It compiles, but I haven't tested it. Let me know if it works, and I'll merge it. |
I found a bug. See #99 |
FIxed that bug on my end and it seems to be working! It even picked up recording status midway through a recording, without needing to register a button press like with my "solution". |
Awesome 🙂 However, it'll probably be at least a few weeks before I get to adding it as an option. |
Alright, found weird behaviour. Sometimes when recording is stopped, tally will blink rapidly between two states and will stay on recording state despite recording being off. If left in that state for couple of minutes it changes back to idle state. Once it happens, tally becomes less responsive and blinking gets more common until restart. Warning: Flashing Lights |
Uncomment this line in the main program That will make it print debug information to the serial monitor. If you could send me a copy of that output it might help. |
Thanks for the instructions and help! |
It says it's private. You can also just upload a file here. |
My mistake, my account hit unlisted pastes limit and it went private automatically. It should be available now |
I expected to see output from these lines https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/blob/feature/recording-status-command/libraries/ATEMmin/ATEMmin.cpp#L367-L370 Did you cause the flickering and set the |
Found that the library checks needs the passed value to be |
Hi there!
For starters I would like to say that I find this project very impressive and I would like to thank you for your work Aron!
I've been using it for some time as a primary tally light system for my live streams.
Recently I have found myself in need of indicating ISO recording status by a light placed in front of the doors to the studio.
I'm not familiar with ATEMLib or creating new library entries but I haven't found anything that might be able to get the recording status in current library included in the repo.
I would love to see an ISO Rec mode akin to the On Air mode in which tally light lights up red when Atem is ISO recording.
If not in the official project, I would be greatful for tips in terms of modification of existing code to add that functionality!
Atem Switcher in question - Atem SDI Extreme ISO, Atem Mini Extreme ISO and Television Studio HD8 ISO
All should have identical signal logic
Thank you in advance
The text was updated successfully, but these errors were encountered: