Quantcast
Channel: Questions in topic: "assetbundle"
Viewing all articles
Browse latest Browse all 1593

AndroidVideoMedia: Error opening extractor: -10000

$
0
0
I have a 360 video player App that uses unity **VideoPlayer** in order to play 20 mintutes 4K videos (that makes a file size of about 4Go). The videos are dragged directly to the VideoPlayer component (without url) and are played using a script included in an asset bundle, which is built for Android platform whitout compression, and loaded to the main App using **AssetBundle.LoadFromFileAsync**. When I try to prepare the video using **VideoPlayer.Prepare** on **Oculus Go** (and other android devices), I get the following Android error (using adb logcat with the Oculus Go plugged to the PC), and the video doesn't play: **07-03 10:41:44.535 12064 12081 I Unity : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45) 07-03 10:41:44.535 12064 12081 I Unity : 07-03 10:41:44.649 12064 12102 W Unity : AndroidVideoMedia: Error opening extractor: -10000 07-03 10:41:44.649 12064 12102 W Unity : 07-03 10:41:44.649 12064 12102 W Unity : (Filename: Line: 471)** I have tried to part the videos into 4 pieces of 5mn by parts, wich gives 4 files of 5mn 4K videos, with about 800M0 to 1Go by video file. I've implemented a play logic that consists in: Preparing the first and the second video. Playing the first video. When the first video reaches the loop point, stop the video in order to free memory, and play the second video while preparing the next one. With this, the first and second videos are successfully prepared and played on Oculus Go, but the above Android error appears when preparing the third video. I use **Unity 2018.3.5f1**, and the encoding settings of my videos are the following: **3840 X 2160 - 30fps - H264 - 25M Bitrate (35M also fires the same error)** If anyone has ever encountered this problem and solved it, please let me know how you managed to solve the issue. Thanks in advance

Viewing all articles
Browse latest Browse all 1593

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>