[ANSWERED] Sync multiple audio and video streams
-
Hi There.
I know this is a covered topic but I can't get any of the solutions to work or I don't understand them. I need to sync 3 UHD (HAP codec) to 5.1 audio stream in a loop of about 10 minutes. There is alwats a random offset that is created either at the end of the playback or directly at the triggered start of the playback. A help?
-
- Using editing software, combine all three movies into a single, triple-wide video file.
- Add the audio to the same video file.
- Import the video into Isadora.
- Place a Movie Player actor and set it to use your triple-wide video file.
- Use three instances of the Grid Chopper User Actor @mark created to cut your triple-wide video into thirds.
- Send each third to a different Projector actor (with each Projector actor being set to a different Stage with a different display). E.g. have one Movie Player actor that feeds:
- Grid Chopper User Actor 1 --> Left third --> Projector actor set to Stage 1 --> Stage 1 configured to use Display 2 in Stage Setup
- Grid Chopper User Actor 2 --> Middle third --> Projector actor set to Stage 2 --> Stage 2 configured to use Display 3 in Stage Setup
- Grid Chopper User Actor 3 --> Right third --> Projector actor set to Stage 3 --> Stage 3 configured to use Display 4 in Stage Setup
Best wishes,
Woland
-
Alternatively, you could use this User Actor I just made that should help you keep looping media files from drifting apart over time due to the little bit of random offset at the loop point.
clock_interval_trigger-2023-06-06-3.2.6.izz
It's based on the system clock so theoretically, it should be able to prevent drift even if you are looping the same media file on separate computers.
One thing to note is that the synch won't be frame-perfect, this User Actor is only designed to get them looping in as close synch as possible while also preventing them from drifting apart over time.
Best wishes,
Woland
-
Hi Woland,
Thanks for the help!
I thought the movie player could only read mono or stereo files, not surround files. How can I redirect the output audio streams from the movie player actor to correctly map the surround channels in the audio diffusion system?
Best Wishes,
k_lab
-
Ah, in that case, you can still use what I've built with the clock, just use the User Actor to start the Movie Player (without audio) and also to start a Sound Player (which will have your audio and do the multi-channel audio routing).
Locking the restart of both to a clock will prevent drift from increasing over time.
-
@woland Hi Woland, although your patch is very clever, it doesn't solve the sync problem that occurs at the start of the playbacks. At each trigger there is a tiny random delay between the movie and sound player. I cannot see any solution at the moment. Thanks for the help.
Best Wishes,
k_lab
-
Perhaps this might help? A different direction, but maybe useful.