Skip to main content
September 28, 2016

[SOLVED] Easy Movie Texture + 3DCeption (2 Big Ears) sound clicks

I am trying to sync a 360 video with tbe spatial sound using Easy Movie Texture for video playback, and TwoBigEars for 3d sound. I've managed to do this part. The problem is, that there are click-like sounds during video playback. I tried to play the sound separately and there are no problems. Is it possible that video takes too much CPU?
This topic has been closed for replies.

14 replies

March 13, 2017
Forgot to mention that this has been resolved by upgrading to newer TBE plugin version.
New Participant
June 1, 2017
Hi tomazvovk said:


I am trying to sync a 360 video with tbe spatial sound using Easy Movie Texture for video playback, and TwoBigEars for 3d sound. I've managed to do this part. ~


I'm new to unity, how did you sync the audio and video? I'm using the inbuilt 5.6 video player but I hope the process is the same, also was there a reason you used EasyMovieTexture rather than the new built in movie player?

Many Thanks.
June 1, 2017
Hey, please check the included pdf documentation that comes with FB360 Rendering SDK. Basically what you need to do is to get current video time in miliseconds (from your video player) and pass it to the spatial decoder:
TBE.TBSpatDecoder Decoder;
...
void Awake() {
// Get the instance of TB Spat Decoder on the game object
Decoder = DecoderGameObject.GetComponent<TBE.TBSpatDecoder>();
}
...
void Update() {
// Get the elapsed time/playback position from the
// video player/decoder you are using.
// Make sure the value is in milliseconds !
float videoTime = VideoPlayer.getTimeMs() ;

// Pass the video time to TB Spat Decoder
// This will automatically force it to synchronise
// with the video ( since the syncMode in Awake() was changed
// to TB_SYNC_EXTERNAL)
Decoder.setExternalClockInMs(videoTime) ;
}
I used EasyMovieTexture since native video player was not part of Unity yet.
New Participant
June 1, 2017
Lol thanks, I did read the document, but hadn't a clue what to do with it, so i put that into a script and attach it to whatnow? yup total newb :)

thanks again.