Forum Discussion
Anonymous
9 years ago[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?
14 Replies
Replies have been turned off for this discussion
- whatthefangHonored GuestLol 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. - AnonymousHey, 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;
I used EasyMovieTexture since native video player was not part of Unity yet.
...
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) ;
} - whatthefangHonored GuestHi 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. - AnonymousForgot to mention that this has been resolved by upgrading to newer TBE plugin version.
- AnonymousI tried lowering the volume from 1 to 0.5 and then to 0.1. No change. I joined the Facebook group, waiting for confirmation.
Thanks! - nothingtokeepExplorerHey tomazvovk!
The official support group for the Spatial Workstation and the SDK is here: https://www.facebook.com/groups/1812020965695437/
Would you be able to follow through there? The issue you are facing is likely caused by distortion on the device. Turning the mix down before export or changing the volume of the TBSpatDecoder object should help.
-Varun - AnonymousHi, I tried with all available options under Audio Settings > DPS buffer size. I tried to disable Default Unity audio and this results in much better sound, no clicking until it reaches the part with gongs. The sound in this part "vibrates" and echoes and it's quite loud.
I am starting to suspect that something is wrong with the tbe file itself. Default one that comes with TBE plugin works great. - vrdavebOculus StaffIn Audio Settings, can you try setting DSP buffer size to "Default"? There is a known issue if you use "Best Latency".
- AnonymousYeah I used the default spheres from Easy Movie Texture and forgot to move each sphere to it's own layer, so they were both renderer twice per each eye. Sorry for that.
I replaced the spheres with the one I'm using in my real project (1224 polygons) and result is the same. I disabled the video and sound is still glitchy. I have a scene where a guy bangs on gongs and this is where it gets the worst.
I am using default Unity audio settings, same for TBE. - vrdavebOculus Staff> 09-29 18:55:16.071 15392 15420 D Unity : tris> min: 178802 max: 178802 avg: 178802
This is almost double the recommended number of polygons, which can lead to stalls and dropped frames. Given the low numer of draw calls, my guess is you're drawing a finely-tessellated sphere. Any chance you can use a cubemap projection or lower-res sphere?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 1 year ago
- 11 months ago
- 7 months ago
- 1 year ago