Syncing audio and video
Hi I'm having an issue with audio/video syncing.
I have a sequencer in my level that is animating the scene and I have sound cues that are spatialized. The sequencer animations are made to be on time with the sound cues but sometimes (not every time) they are a bit out of sync - like a few ms.
I think that when I reload the level they are synced so my guess is that in someway the engine takes a bit of time to load the visual or sound cues before or after starting the sequence. Maybe once the level is loaded after the first time everything is cached so that could explain why everything is synced after the first load but I'm not sure and I'm pretty new to unreal so I don't quite understand how the engine works.
Is there a way to start the sequence and sound cues at the exact same time after the level is loaded? Something like a "is level loaded" in the blueprint that would prevent anything to start before everything is ready to be played? Any other idea of what could go wrong or how to fix it?
Thanks a lot in advance
asked Aug 09 '17 at 10:28 PM in Using UE4
I have the same problem with iOS app. And seems no answer to this. I really need understand how to sync audio with shots. In PC and MacOS apps works fine, but on devices is not working well. If you find a solution please share it! Thanks in advance!
answered Aug 28 '18 at 07:37 AM
What I did is adding a delay at the beginning of the level and play the sound cues and visuals through the sequencer (I think they added this possibility a bit after my original post - you add the actor to the sequencer, to which you can attach a sound cue if I remember correctly).
It is still going out of sync sometimes during the level - in that case I have to pause the game and resume (to stop and resume the sequencer) to sync it again. A pretty bad workaround but it can help
answered Aug 28 '18 at 07:43 AM
Hi Adrien, Thank you so much for you quick reply. My problem is I have a master sequence with many shots where I make a video compositing with audio. In PC and MacOS works fine but iOS always play first the audio and have to wait around 3 seconds to stream the level before to play the shots. Both, audio and shots are in sequencer. I create a button on my widget interface for level stream and play the master sequence and have added a delay for 3 seconds trying to see if that works without success. Hope it are clear for you. Thanks in advance.
Follow this question
Once you sign in you will be able to subscribe for any updates here