


Studio Operators Sequencer Video Recording Camera Tracking Unreal
Hi Eric,
Thanks for your quick response, like I mentioned in my post, I know of the new playlist module. But I am/was looking for a way to replay a recorded live scene with the exact same camera changes/switches, without having to re-create them using the playlist module (or start with that). As we switch live, we have no exact idea which camera/shot will be used etc.
@Aximmetry, I've come up with a solution that works, but would like to hear your thoughts. Also for other users that face the same issue.
This is what I've done:
@Aximmetry... Although this is working in our case (fixed camera's), and you only have to set up the initial sync, I'm wondering if this can be done better?
Still learning Aximmetry, and happy that it's working, but the process is quite frustrating because of the lack of documentation and the endless possibilities.
Hi,
Sadly, there is no ready-made solution for this. However, we have similar items on our request list, so we will consider adding it in future releases.
Alternatively, you could make your own save and load logic in the Flow Editor. Like, you could use the JSON Exporter and JSON File modules to load and save. And the System Params module to get the master timecode for timing.
Also, I am not exactly sure why the Y-position change happens, so note that your solution might not work in the long run.
Warmest regards,
Hi Eifert,
Thanks for your reply.
The Y-position is changing because we are using 2 fixed PTZ's. So I think it is expected behavior. Please see the attached images.
Also, could you explain more about the JSON part and the system Param Timecode part, and how I would set this up?
Hi,
Ahh, now I understand, the PTZ cameras explain why your Y-position is constant.
To save camera switches, at first, you should set the Timecode Master to be one of your input videos:
This timecode will be read by the System Params' Master Timecode pin. And it will be used both for recording camera switches and playing them back:
Note, in the next major Aximmetry release, you will be able to generate a timecode master within the Flow Editor using one of the "... To Timecode" modules.
Then you can use the following logic to save and replay. It will save the timecode as a key at every camera change, and the ID of the camera will be the key's value.
This way of saving things is far from an ideal solution, but it should work for simple things.
Note, the replay uses the External Control Mode, which you need to turn on for the replay to work: https://aximmetry.com/learn/virtual-production-workflow/preparation-of-the-production-environment-phase-i/green-screen-production/virtual-camera-workflow/cameras-control-board/#external-control-mode
Warmest regards,
Thanks, for the extensive example, appreciated! I'm going to try to implement this today.
Hi Eifert,
I understand the logic for 95% here, as you are combining the time code with the currently selected cam, and on-change, writing that to a JSON. The saving part works perfectly, as it adds a line to the JSON every time I switch camera's.
But on replaying via the sequencer, it still displays the Master Time code of the incoming live signal, not from the recorded video. That's why I think that part isn't working yet.
Some extra info:
- PTZ 1 (cam 4) is sending time code and is set to Time code Master
- I've set the External Control Mode ofc (had to do the same with my FBX workaround)
- I've also tried using the restart trigger for the sequencer, but no effect here.
- There is a default? cam0 line in the JSON, I think when loading the project?
Any idea why the playback part (loading logic) is failing?
Hi,
What you are experiencing is actually a bug in the compound. Which will be fixed in the next major version.
You can easily work around this bug by making sure no other input is set to Master Timecode. And add a Sequence Video module to the Sequencer. Then set this Sequence Video's video file to the recorded input video you used as the master timecode while recording. And set the Sequence Video to Timecode Master:
There are going to be actually several Timecode improvements in the next major Aximmetry version.
And you should press the reset right after pressing recording. Otherwise, the initial state of the Selected Camera won't be recorded.
Sadly, there is no Transmit module that sends out that the recording started. You could use a playlist to start recording and triggering reset in sequential order: https://aximmetry.com/learn/virtual-production-workflow/preparation-of-the-production-environment-phase-i/scripting-in-aximmetry/sequencing/playlists/
Warmest regards,
Yes, that trick indeed fixed that I am now seeing the time code of the source file. And when I play/pause in the sequencer, I see the correct time code.
However, still no switching of camera's. Looking at the JSON I should have passed a switch moment. Not sure why nothing is happening though. When I peek on the Collection of the JSON file (or JSON out) I don't see any info, feels like that is the issue.
Hi,
Yes, the problem will be with the JSON file module. Note, you have to give the file name with its extension, like Y:\test.json. Cause without an extension like this Y:\test, it will only work at exporting with the JSON Exporter module, but it won't work at importing with the JSON file module as that module requires file extension.
Warmest regards,
Ah,
You are totally correct, as I saw the output file I didn't think about this again. I'll try this and report back.
Thanks.
Hi Eifert,
It's indeed working now. However, it has one interesting behavior in the current setup.
That is, that every time you play back the video from sequencer, it's re-writing to the original JSON file and changing the timings. As the current logic is "write on change".
I think I'll have to implement some logic like"If in Playback mode, don't write to the JSON".
But apart from that and the time code bugs (with working workaround), it's working as intended.
Hi,
Ahh yes, I forgot to say that. The easiest way to separate import and export is to have an if module before the JSON Exporter module's Export pin.
Note, you can connect the Trigger data type pin to the If module (vector), and the trigger data will be automatically converted to vector and back to trigger without loss of information.
Warmest regards,
Hi,
Have you tried the new playlist module?
It's very easy to use and you can program your camera switches once and recall them as many times as you want.
I've been using it for something very similar to what you suggests.
Best,
Eric