I have separated a video clip from its audio. How to make sure they play in sync?

Video playing on an object (a kiosk, say). I have an FMOD emmiter on it that is playing the audio for the video. I want both to Start() as simultaneously as possible from first frame. Code?

You can access callbacks from events like FMOD_STUDIO_EVENT_CALLBACK_STARTING and FMOD_STUDIO_EVENT_CALLBACK_STARTED:
https://www.fmod.org/docs/content/generated/FMOD_STUDIO_EVENT_CALLBACK_TYPE.html

Event.GetTimelinePosition may also help with timing the event and/or video.
https://www.fmod.org/docs/content/generated/FMOD_Studio_EventInstance_GetTimelinePosition.html

1 Like