x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.16
Tags:
more ▼

asked Aug 09 '17 at 10:28 PM in Using UE4

avatar image

Adrien Grig
3 3 6

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

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!

more ▼

answered Aug 28 '18 at 07:37 AM

avatar image

PavelHuerta
16 1 3

(comments are locked)
10|2000 characters needed characters left

Hi,

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

more ▼

answered Aug 28 '18 at 07:43 AM

avatar image

Adrien Grig
3 3 6

(comments are locked)
10|2000 characters needed characters left

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.

more ▼

answered Aug 28 '18 at 07:53 AM

avatar image

PavelHuerta
16 1 3

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question