Video freezes on first frame
Hi there I'm develop a simple player for 360 video in Unity 2019.4.3, using last version of AVPro plugin/exoplayer on Oculus Quest And sometimes my files are freezing on first frame, sometimes not Videos in H256 codec 5760x2880 35mbps 30 minutes long with main profile and audio in wav 9ch ambisonics + 2 stereo, then i muxing it in MKV container with Facebook 360 encoder Downscaling video to 5120x2560 and 4096x2048 and changing codec to H264 not helps In Oculus gallery this files works fine! Logcat gives me some issues Somebody knows what could be wrong?925Views0likes0CommentsNativeVideoPlayer SetPlaybackSpeed crashes app
Hi. I'm building an app for the Oculus Quest and am basing it off of the Stereo180Video Sample Scene. However, when trying to set the playback speed of the video to anything other than 1, the video lags horribly for a few seconds and then the app crashes. I'm using NativeVideoPlayer.SetPlaybackSpeed(2f); to set the speed. In the Exoplayer docs it says that the video may be laggy if the app is running as a debug build instead of a release build. So, I've made sure to uncheck the "Development Build" checkbox in the Build Settings of Unity. I've also added a signing key to the android publishing settings. Is there anything else I need to do to make the app a release build? Does anyone know of anything else that may be causing this issue or how to debug it? Thanks!654Views0likes0CommentsHow To Use Multiple Android Surface's In Unity Using OVR
Im want to play multiple players (ExoPlayer) in my Unity VR app. Single player I am already done. But how can I create multiple players (Android Surface's actually). I know about this functions: OVR_Media_Surface_Init(); OVR_Media_Surface_SetEventBase(int eventBase); OVR_Media_Surface_GetObject(); OVR_Media_Surface_GetNativeTexture(); OVR_Media_Surface_SetTextureParms(int texWidth, int texHeight); But OVR_Media_Surface_GetObject return the same surface for all players.746Views1like0Comments