Search Unity

[Released] AVPro Video - complete video playback solution

Discussion in 'Assets and Asset Store' started by AndrewRH, Feb 12, 2016.

  1. SteenPetersen

    SteenPetersen

    Joined:
    Mar 13, 2016
    Posts:
    104
    It is, its the Sphere360-OES shader
     
  2. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Hmm..strange..
    So am I understanding correctly that even with the demo scenes and sample media, you've never been able to see a video playing back on an Android device using AVPro Video?
     
  3. SteenPetersen

    SteenPetersen

    Joined:
    Mar 13, 2016
    Posts:
    104
    correct, on my oculus quest I have never been able to see media - farthest I have gotten is be able to hear the sound.
     
  4. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    That's very strange...All of our demo scenes should run. Well on VR there are actually only a few scenes that are supported because IMGUI rendering doesn't display in VR.

    Is there any errors in the ADB LOG CAT?
     
  5. ssuniljust4u

    ssuniljust4u

    Joined:
    Jun 27, 2016
    Posts:
    3
    Thanks Andrew!! this solution works for me.
     
  6. SteenPetersen

    SteenPetersen

    Joined:
    Mar 13, 2016
    Posts:
    104
    Not entirely sure how to read the logcat but here is some of the dat it pumped out which is related to something with unity.

    C:\adb>adb logcat *:E
    --------- beginning of system
    06-10 15:40:13.256 1110 1166 E BatteryStatsService: no controller energy info supplied
    06-10 15:40:13.272 1110 1166 E BatteryStatsService: no controller energy info supplied
    --------- beginning of main
    06-10 15:40:16.420 705 9923 E [CT] : CONSTELLATION: R: : Reset Sensor Fusion. Time since last IMU sample: 2.47213
    06-10 15:40:17.276 705 9923 E [CT] : TorsoModel: failed to update: hmd and/or controller in singular position
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.cts.priv.ctsshim
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.headsetsfx
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.providers.calendar
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.providers.media
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.shutdown
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.documentsui
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.externalstorage
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.inputmethod.pacific
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.quicksearchbox
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.providers.downloads
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.defcontainer
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.pacprocessor
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.os.music
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.certinstaller
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: org.codeaurora.bluetooth
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: android
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.qualcomm.wfd.service
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.mtp
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.backupconfirm
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.location.geocoder
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.os.vrbrowserlauncher
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.provision
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.statementservice
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.providers.settings
    06-10 15:40:20.164 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.sharedstoragebackup
    06-10 15:40:20.166 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.inputdevices
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: android.ext.shared
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.onetimeinitializer
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.keychain
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.gallery3d
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: android.ext.services
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.vrcast
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.svox.pico
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.proxyhandler
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.managedprovisioning
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.wifiindoze
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.storagemanager
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.settings
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.cts.ctsshim
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.vpndialogs
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.shell
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.wallpaperbackup
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.providers.userdictionary
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.externalstorage
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.oculus.preloader
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.location.fused
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.deskclock
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: oculus.platform
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.bluetooth
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.qualcomm.timeservice
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.providers.contacts
    06-10 15:40:20.167 9625 9641 E LibraryModule: Failed to load meta-data for: com.android.captiveportallogin
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: Writing exception to parcel
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: java.lang.SecurityException: Component access not allowed.
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at com.oculus.content.PermissionChecks.throwAccessException(PermissionChecks.java:91)
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at com.oculus.content.AbstractContentProvider.enforcePermissions(AbstractContentProvider.java:209)
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at com.oculus.content.AbstractContentProvider.ensureInitializedAndEnforcePermissions(AbstractContentProvider.java:215)
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at com.oculus.content.AbstractContentProvider.query(AbstractContentProvider.java:366)
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:240)
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
    06-10 15:40:21.485 1725 3430 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:565)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: Failed to query FB auth token from Horizon
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: java.lang.SecurityException: Component access not allowed.
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.os.Parcel.readException(Parcel.java:1692)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.content.ContentResolver.query(ContentResolver.java:534)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.content.ContentResolver.query(ContentResolver.java:475)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.oculus.fbconnecthelper.FbConnectHelper.queryFbAuthTokenFromHorizon(FbConnectHelper.java:76)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.oculus.fbconnecthelper.FbConnectHelper.getFbAuthToken(FbConnectHelper.java:113)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.oculus.analytics.SimpleUploader.getAccessToken(SimpleUploader.java:44)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.facebook.analytics2.uploader.okhttp3.OkHttp3AnalyticsUploader.createRequest(OkHttp3AnalyticsUploader.java:119)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.facebook.analytics2.uploader.okhttp3.OkHttp3AnalyticsUploader.upload(OkHttp3AnalyticsUploader.java:89)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.PrivacyControlledUploader.upload(PrivacyControlledUploader.java:36)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.UploadProcessor.uploadNext(UploadProcessor.java:49)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.UploadJobHandler.doMaybeUploadNext(UploadJobHandler.java:206)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.UploadJobHandler.handleMessage(UploadJobHandler.java:89)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.os.Handler.dispatchMessage(Handler.java:102)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.os.Looper.loop(Looper.java:154)
    06-10 15:40:21.486 1827 10012 E FbConnectHelper: at android.os.HandlerThread.run(HandlerThread.java:61)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: Writing exception to parcel
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: java.lang.SecurityException: Component access not allowed.
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at com.oculus.content.PermissionChecks.throwAccessException(PermissionChecks.java:91)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at com.oculus.content.AbstractContentProvider.enforcePermissions(AbstractContentProvider.java:209)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at com.oculus.content.AbstractContentProvider.ensureInitializedAndEnforcePermissions(AbstractContentProvider.java:215)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at com.oculus.content.AbstractContentProvider.query(AbstractContentProvider.java:366)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:240)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
    06-10 15:40:21.680 1725 1758 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:565)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: Failed to query FB auth token from Horizon
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: java.lang.SecurityException: Component access not allowed.
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.os.Parcel.readException(Parcel.java:1692)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.content.ContentResolver.query(ContentResolver.java:534)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.content.ContentResolver.query(ContentResolver.java:475)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.oculus.fbconnecthelper.FbConnectHelper.queryFbAuthTokenFromHorizon(FbConnectHelper.java:76)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.oculus.fbconnecthelper.FbConnectHelper.getFbAuthToken(FbConnectHelper.java:113)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.oculus.analytics.SimpleUploader.getAccessToken(SimpleUploader.java:44)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.facebook.analytics2.uploader.okhttp3.OkHttp3AnalyticsUploader.createRequest(OkHttp3AnalyticsUploader.java:119)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.facebook.analytics2.uploader.okhttp3.OkHttp3AnalyticsUploader.upload(OkHttp3AnalyticsUploader.java:89)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.PrivacyControlledUploader.upload(PrivacyControlledUploader.java:36)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.UploadProcessor.uploadNext(UploadProcessor.java:49)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.UploadJobHandler.doMaybeUploadNext(UploadJobHandler.java:206)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at com.facebook.analytics2.logger.UploadJobHandler.handleMessage(UploadJobHandler.java:89)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.os.Handler.dispatchMessage(Handler.java:102)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.os.Looper.loop(Looper.java:154)
    06-10 15:40:21.681 1827 10012 E FbConnectHelper: at android.os.HandlerThread.run(HandlerThread.java:61)
    06-10 15:40:24.374 9625 9625 E NuxPreferencesModule: Trying to unregister nonexistent Receiver. This should be harmless.
    06-10 15:40:24.420 9272 9272 E NuxPreferencesModule: Trying to unregister nonexistent Receiver. This should be harmless.
    06-10 15:40:24.431 9625 9649 E NuxPreferencesModule: Trying to unregister nonexistent Receiver. This should be harmless.
    06-10 15:40:24.437 9272 9296 E NuxPreferencesModule: Trying to unregister nonexistent Receiver. This should be harmless.
    06-10 15:40:24.918 1827 2551 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:24.918 1725 1935 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:25.059 1725 1725 E OVRMediaServiceManager: Not initialized
    06-10 15:40:25.229 1725 2862 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:25.276 10019 10033 E Unity : Unable to find libAudioPluginOculusSpatializer
    06-10 15:40:25.346 544 2873 E voice_extn: voice_extn_compress_voip_out_get_parameters: COMPRESS_VOIP_ENABLED is not defined
    06-10 15:40:25.863 10019 10033 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
    06-10 15:40:25.934 10019 10058 E Unity : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range
    06-10 15:40:25.934 10019 10058 E Unity :
    06-10 15:40:25.934 10019 10058 E Unity : (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 348)
    06-10 15:40:25.934 10019 10058 E Unity :
    06-10 15:40:26.007 1725 1725 E OVRMediaServiceManager: Not initialized
    06-10 15:40:26.116 544 1237 E voice_extn: voice_extn_compress_voip_out_get_parameters: COMPRESS_VOIP_ENABLED is not defined
    06-10 15:40:27.866 1110 1247 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
    06-10 15:40:31.041 10019 10033 E ExtMediaPlayer-JNI: QCMediaPlayer could not be located....
    06-10 15:40:31.041 10019 10033 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
    06-10 15:40:31.041 10019 10033 E ExtMediaPlayer-JNI: QCMediaPlayer could not be located....
    06-10 15:40:31.041 10019 10033 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
    06-10 15:40:31.123 10019 10033 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
    06-10 15:40:31.484 690 1743 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
    06-10 15:40:31.491 690 690 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
    06-10 15:40:31.492 690 690 E OMX-VDEC-1080P: Extension: OMX.google.android.index.configureVideoTunnelMode not implemented
    06-10 15:40:31.492 690 690 E OMX-VDEC-1080P: Extension: OMX.google.android.index.useAndroidNativeBuffer is supported
    06-10 15:40:31.497 690 1318 E OMX-VDEC-1080P: Does not handle dataspace request
    06-10 15:40:31.497 690 1318 E OMXNodeInstance: getConfig(2b20062:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
    06-10 15:40:31.552 690 908 E OMX-VDEC-1080P: Does not handle dataspace request
    06-10 15:40:31.552 690 908 E OMXNodeInstance: getConfig(2b20062:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
    06-10 15:40:31.610 690 1844 E OMX-VDEC-1080P: Does not handle dataspace request
    06-10 15:40:31.610 690 1844 E OMXNodeInstance: getConfig(2b20062:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
    06-10 15:40:33.948 1725 3431 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:33.951 10019 10086 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:34.052 1725 1725 E OVRMediaServiceManager: Not initialized
    06-10 15:40:34.087 10019 10031 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:34.090 10019 10030 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:34.091 1725 1935 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:34.091 10019 10031 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:34.109 544 1237 E voice_extn: voice_extn_compress_voip_out_get_parameters: COMPRESS_VOIP_ENABLED is not defined
    06-10 15:40:34.199 1725 1758 E ExternalPlatformLocal: isLivestreamingEnabledForApp for com.steen.thesis
    06-10 15:40:34.207 1725 1725 E OVRMediaServiceManager: Not initialized
    06-10 15:40:35.275 1725 3431 E ExternalPlatformLocal: isLivestreamingEnabledForApp for com.oculus.vrshell
    06-10 15:40:35.484 1110 1192 E InputDispatcher: channel '12c14ea com.steen.thesis/com.unity3d.player.UnityPlayerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    06-10 15:40:35.879 10099 10099 E ACRA : Skipping ANR Detector for process: com.oculus.vrshell.home:explore
    06-10 15:40:35.951 10099 10099 E AndroidModule: Android PackageManager returned version code: 151900446, apk version code is: 1
    06-10 15:40:36.106 10099 10119 E mobileconfig: No OTA resource found
    06-10 15:40:36.287 10099 10165 E libjingle: [000:023] [10165] (webrtcvoiceengine.cc:1065): webrtc: stereo playout is not supported
    06-10 15:40:36.287 10099 10165 E libjingle: [000:023] [10165] (webrtcvoiceengine.cc:1065): webrtc: recording in stereo is not supported
    06-10 15:40:36.287 10099 10165 E libjingle: [000:023] [10165] (voe_base_impl.cc:371): Init: Failed to set agc to enabled: 0
    06-10 15:40:36.288 10099 10165 E libjingle: [000:023] [10165] (voe_audio_processing_impl.cc:955): SetTypingDetectionStatus: not supported
    06-10 15:40:36.288 10099 10165 E libjingle: [000:023] [10165] (webrtcvoiceengine.cc:1065): webrtc: recording in stereo is not supported
    06-10 15:40:36.288 10099 10165 E libjingle: [000:023] [10165] (webrtcvoiceengine.cc:1065): webrtc: stereo playout is not supported
    06-10 15:40:36.940 10099 10123 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
    06-10 15:40:37.199 1725 2069 E LibraryDBCacheManager: content://com.oculus.horizon.cache/library_cache
    06-10 15:40:38.507 1110 1247 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
    06-10 15:40:42.569 1110 1166 E BatteryStatsService: no controller energy info supplied
    06-10 15:40:42.587 1110 1166 E BatteryStatsService: no controller energy info supplied
    06-10 15:40:42.599 1110 1166 E BatteryStatsService: power: Missing API
    06-10 15:40:52.111 1725 2862 E Parcel : Reading a NULL string not supported here.
    06-10 15:40:52.226 544 2873 E voice : voice_extn_compress_voip_set_parameters: COMPRESS_VOIP_ENABLED is not defined
    06-10 15:40:52.255 1397 1418 E ExtMediaPlayer-JNI: QCMediaPlayer could not be located....
    06-10 15:40:52.255 1397 1418 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
    06-10 15:40:52.255 1397 1418 E ExtMediaPlayer-JNI: QCMediaPlayer could not be located....
    06-10 15:40:52.255 1397 1418 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
    06-10 15:40:52.323 544 544 E voice_extn: voice_extn_compress_voip_get_parameters: COMPRESS_VOIP_ENABLED is not defined
    06-10 15:40:52.325 1725 1725 E PlatformPluginManager: Client list not empty on teardown. This will cause init to fail. Forcing clear.
    06-10 15:40:52.334 690 1743 E OMXNodeInstance: setConfig(2b20063:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
    06-10 15:40:52.335 690 5019 E OMXNodeInstance: setConfig(2b20063:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
    06-10 15:40:52.358 544 595 E voice_extn: voice_extn_compress_voip_out_get_parameters: COMPRESS_VOIP_ENABLED is not defined
    06-10 15:41:45.495 1110 1166 E BatteryStatsService: no controller energy info supplied
    06-10 15:41:45.505 1110 1166 E BatteryStatsService: no controller energy info supplied
    06-10 15:41:45.506 1110 1166 E BatteryStatsService: power: Missing API
    06-10 15:42:46.981 1110 1166 E BatteryStatsService: no controller energy info supplied
    06-10 15:42:46.994 1110 1166 E BatteryStatsService: no controller energy info supplied
     
  7. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    I just tried the latest HLS.JS on Windows, with AVPro Video 1.9.16 and Unity 2019.1.2, and it worked well. I did make some modifications to our JS so I've attached it here. Haven't tried on Android yet....
     

    Attached Files:

  8. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Hmm..I can't tell much from the log...

    Does anyone else out there have a Quest? We haven't tested on the Quest, but I can't think of any reason why it wouldn't work...
     
  9. SteenPetersen

    SteenPetersen

    Joined:
    Mar 13, 2016
    Posts:
    104
    I did a reinstall of the trial version of AVpro and did a build to check if I had done anything wrong along the way. Same issue, playing the music but no image.
     
  10. bhermer

    bhermer

    Joined:
    Jun 24, 2013
    Posts:
    28
    Hi,

    This may have been asked before, but this thread is getting harder and harder to search :)

    Android & windows (android Exo, Windows directshow or media foundation)

    I am looking for an accurate way to sync two players together on a pause. Imagine a master and slave, when I pause the master, I send the slave the pause command and the ms I paused at. Currently using Seek or SeekFast I generally get a hit with a drift anywhere from 50ms to 300ms. I don't care f this sync takes 1 or even 2 seconds, the frame accuracy is much more important.

    The videos are exactly the same file, so I would have thought if it was keyframe seeking it would be the same?
     
  11. busyxiang

    busyxiang

    Joined:
    Jun 7, 2016
    Posts:
    6
    Hi, is it possible to have FishEye as Layout Mapping and able to control the angle of the FishEye as well? Can you also please do tell is there any difference if the video is mapped with EquiRectangular or FishEye.
     
  12. VTOLEE

    VTOLEE

    Joined:
    Oct 13, 2014
    Posts:
    4
    hi, is it possible to load video using multithreading? i need to load several 4k videos on runtime and it causes frame drop badly while the loading is running
     
  13. indie_mike

    indie_mike

    Joined:
    Nov 7, 2016
    Posts:
    29
    Hey Andrew,

    I just updated our project to the latest Unity (2019.1.6f1) and updated AVPro (1.9.16), but now im getting the error on the Samsung Galaxy Tab S3 as follows:

    Ive tried the solution on here: https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/50 but still having the issue.

    I have deleted the previous files from AVpro and re imported everything but still no change.
    Ive made an empty scene in our current project, used the AVPro's 360 sphere prefab with media player API and OES path / shader and tried to play a 360 video from streaming assets without success.
    I then made a new empty project, imported everything the same way, made the same scene and it worked.

    Any ideas what it could be?
     
    Last edited: Jun 12, 2019
    WooZooHo likes this.
  14. busyxiang

    busyxiang

    Joined:
    Jun 7, 2016
    Posts:
    6
    Hi, I would also like to know is it possible to disable the stereo packing temporary because I have UIs that control the video playback that popup when the video is paused and it is very hard to focus on the UI because of the stereo effects. I am developing the application for Oculus GO and using 360 Sphere Video.
     
    Last edited: Jun 12, 2019
  15. zyotest

    zyotest

    Joined:
    Jun 12, 2019
    Posts:
    4
    Hi, I got a problem that my mp4 videos can play on most computer however cannot work (no audio) on few computers. The only difference is that i changed Preferred Video API from directshow to media fondation then it worked. What is the difference between these two option? At first, i changed the option to directshow is on the purpose for playing video on USB environment.
     
  16. sync3D

    sync3D

    Joined:
    Jan 16, 2017
    Posts:
    2
    Help Urgent App Release,

    I have been using your asset AVPro for quite some time now both in IOS and Android, but recently PlayStore requires to build the app with the x64 architecture and it seems your asset is not working with this new changes since it doesn't show the Video when debugged in Android, as it works fine with Unity Editor. Please can you provide me with some instructions on how to deal with this issue.

    Im using settings like this:
     

    Attached Files:

  17. bhmed

    bhmed

    Joined:
    Feb 5, 2014
    Posts:
    16
    @SteenPetersen @AndrewRH This sounds like an issue I encountered at first - when just trying to get started using the Trial version, on Oculus Go, I was getting audio with black video with 360 videos. Then I noticed the sample sphere had the OES shader applied to it, and instead switched to the next non-OES shader. This worked, but I only found out why later - the Trial version can't render OES properly. I'm guessing the MediaPlayer option to use OES just gets ignored, but OES materials will still break. Note that the sample 360 scene uses an OES material by default, so it isn't super obvious what the issue is when you're left with a black video.
     
  18. Haseeb59

    Haseeb59

    Joined:
    Aug 7, 2017
    Posts:
    4
    Problem description:

    So i am using natcoder to record audio from scene it works using audio listner
    and audio source but I am unable to get both of these from AVPRO
    Need Help

    Device (which devices are you having the issue with - model, OS version number):

    Android / ios

    Media (tell us about your videos - number of videos, resolution, codec, frame-rate, example URLs):

    I am streaming videos from my server anf youtube

    System Information:

    AVPro Video: plugin v1.9.1 scripts v1.9.1
    Target Platform: iPhone
    Unity: v2018.3.6f1 OSXEditor
    OS: Desktop - MacBookPro12,1 - Mac OS X 10.14.4 - English
    CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz - 4 threads - 8192KB
    GPU: Emulated GPU running Metal - Emulated - Metal [emulated] - 1536KB - 4096
     
  19. Mandelboxed

    Mandelboxed

    Joined:
    Apr 17, 2015
    Posts:
    50
    Hi, I am working on a project where we need to synchronize videos for multiple users over the internet (we are using Photon) and while I have something basic working I would love to know if you guys have a solution that might be helpful. I know that this is something you were working on a few years ago and I would very much appreciate assistance you can offer.
     
  20. Modernllama

    Modernllama

    Joined:
    Nov 30, 2012
    Posts:
    19
    Hi,

    I'm having a few odd issues where I'm trying to test using Exoplayer instead of Mediaplayer.

    1. I've noticed I can't seek the length of the stream it's playing (so the video length is shown as 00:00)
    2. I can't get the stream to consistently play, sometimes it works, sometimes it doesn't.
    3. Intermittent crashes.

    Just wondered if there's any obvious points of things I could be doing wrong or if these are internal bugs?

    Thanks,
     
  21. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Yes, there was a serious bug in the last release for Android, we've been working on fixing it. Should have the new version (1.9.17) out with the fix tomorrow.

    Thanks,
     
  22. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Hi Andrew
    Could you quickly summarize what advantages if any AVProVideo iOS would have over the Unity native VideoPlayer API?

    I'm only targeting iOS at the moment (ARKit application)
    Thanks!
     
  23. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    I'm not totally sure what the advantages are...it's not something we've spent a lot of time comparing. I'm pretty sure our implementation uses less memory and is faster though. We support YCbCr mode which is a huge win for memory and performance...

    Sorry there isn't much else I can say about it other than we have an absolute guru programmer dedicated to supporting all of the Apple platform implementations (macOS, tvOS and iOS), so I know it's up to scratch :)
     
  24. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello, I've received this reply from the publisher of hls.js (Tomohiro Ikeda) about this error:
    "The source is attached to a media element but the stream has been ended via a call to MediaSource.endOfStream()
    In other words, whenMediaSource#readyState is ended, this error occurs by invoking MediaSource#appendBuffer.
    Please refer to Media Source Extensions."
     
  25. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Hmmm.yes, you'd think they would be the same indeed. It should work...

    We have an example script called Playback.cs included with the package that may help....

    SeekFast should seek to the KeyFrame, and that should be the same on all platforms.

    Please add an issue on GitHub if you're still having issues. The more details you can give us the more chance there is of a solution.

    Thanks,
     
  26. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Currently there is no support for fisheye layout. If you would like to feature then please add it to our GitHub Issues.

    Thanks,
     
  27. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    On some platforms the loading is already threaded. Which platfoms are you having issues with?
     
  28. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Today we're releasing a new version of the plugin, which includes several bug fixes (version 1.9.17). Please upgrade to the new version and let us know if you're still having issues. Ideally posting a detailed issue to our GitHub issues page.

    Thanks,
     
  29. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    You can change it via something like this:

    mediaPlayer.m_StereoPacking = StereoPacking.None;
    applyToMesh.ForceUpdate();
     
  30. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    I'm not sure what USB environment is :)

    DirectShow is an OLDER video API.
    Media Foudnation is also pretty old, but it's much better supported.

    DirectShow has the advantage that there are many codecs out there and people can easily write their own. This is also a problem though, because some of these codecs are buggy, and also you don't know which decoder will be decoding the video. The Directshow codecs that are included with Windows don't support H.265 (HEVC) and for H.264 they are limited to 1080p. You can get around this by installing a 3rd party codec, eg LAV Filters.

    Media Foundation doesn't have nearly as many codecs, so you're mostly using the codecs included with Windows. This does mean a more consistent experience. The decoders that are included with the OS can decode up to 4K on H.264 and 8K on H.265 (depending on the GPU), but recently Micrsofot removed the H.265 decoder from Windows, so now you have to download and install it manually (see our PDF documentation FAQ for details).
     
  31. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    In Unity, go to the folder /Plugins/Android/libs/arm64-v8a

    Select each file and look in the Inspector Window. Make sure each file is assigned as Android and ARM64 plugin.

    Thanks,
     
  32. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Thanks, that's true - OES doesn't work with the trial version. I can see how this could be confusing. We'll see how we can change that in the future.
     
  33. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    First of all I recommend upgrading to a more recent version of AVPro Video.

    For your question - AVPro Video doesn't play audio via Unity, it plays it directly to the system. So any recording software would need to take this into account. On Windows only we do have a system to route audio into Unity ( the AudioOutput component), but this isn't available on iOS or Android.
     
  34. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Hey Mandelboxed :)

    We once wrote a solution for LAN video syncing...That worked pretty well, but syncing over the internet is much harder.

    What sort of issues are you having?
     
  35. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Hi All,

    AVPro Video version 1.9.17 has just been released!

    You can find the updated version on the Asset Store and the free trial version on our website.

    Changes include:

    Android
    • Fixed regression introduced in 1.9.16 that caused videos to freeze on the first frame and not report any duration
    • Fixed some issues related to using ExoPlayer which would cause videos to randomly fail to load
    • Fixed bug where uGUI component wouldn’t display OES or stereo videos correctly
    macOS / iOS / tvOS
    • Fixed crash when playing audio only assets
    iOS
    • Fixed issue with player restarting after the application enters foreground
    WebGL
    • Fixed regression introduced in 1.9.16 for mute autoplaying videos that contain audio
    • Removed erroneous mipmap support for version below Unity 5.6
    Windows
    • Added support for paths longer than 240 characters
    General
    • Fixed bug where uGUI component wouldn’t display stereo videos correctly
    • Fixed FrameExtract demo in async mode where it would not capture the first frame
    • Improved MediaPlayer FrameExtract methods so that a time threshold can be specified to make approximate extraction faster

    Thanks to everyone that reported bugs that were fixed in this release :)

    Please report any issues here on the forum, or preferably to our Github Issue tracker

    Thanks,
     
    Ste-RH likes this.
  36. Galaxyvision

    Galaxyvision

    Joined:
    Dec 11, 2018
    Posts:
    3
    Good day!
    Can you please tell someone faced the problem of different colors of video on GO and Quest?
    on Quest the picture is more contrast than on GO
     
  37. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    I haven't heard of this before - but then the Quest is still very new...
    I suspect that this could be related to full (0..255) vs limited (16..235) range in the video encoding.

    A few questions:
    1) Are you using H.264 or H.265?
    2) Do you know which range it's encoded with?
    3) Version of Unity?
    4) Version of AVPro Video?
    5) Is your MediaPlayer component set to use the ExoPlayer or MediaPlayer video API? (in Platform Specific > Android settings)
    6) What tool are you using to encode your video?

    Thanks,
     
  38. Zaiinab

    Zaiinab

    Joined:
    Apr 18, 2018
    Posts:
    4
    Hello there,

    I'm trying to test the AVPro plugin in unity using the free trial version

    When I add the media player to a sphere to play a 360 video it shows a black screen. However, I've tried to use 360SphereVideo prefab and change the video in the media to my 360 video which is from a source path in my computer and still black screen no video is showing. But if I use the available videos provided by the plug-in it works no black screen.

    I wonder what is the problem?
     
  39. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Which platform is this on?
    What format are your videos (codec, resolution, frame-rate etc)?
    Are there any messages in the console window?
    I presume this is the latest trial version (1.9.17)?

    Thanks!
     
  40. Zaiinab

    Zaiinab

    Joined:
    Apr 18, 2018
    Posts:
    4
    macOS Mojave
    codec: AAC, H.264, frame rate: 29.97 , resolution: 3840 × 1920
    Yes it's the latest trial version
     
  41. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Thanks for sharing the information.

    I suspect this is an issue with Metal. If you go into the Player Settings and toggle Automatic Graphics API for macOS, and move OpenGL to the top of the list, then I suspect it will be fixed.

    Please try this.

    If it works then basically it is an issue that we see only on certain Mac's, and only with the trial version and with Metal API. Meaning that it will not be an issue on the non-trial version. (it's related to our watermarking code)...

    Also, please let me know which model of Mac you have and which GPU (it should print the GPU information in the console window when you run the plugin).

    Thanks,
     
  42. EricWilliams

    EricWilliams

    Joined:
    Jun 23, 2017
    Posts:
    40
    Is there a way to start the transition animations before the end of the video instead of the video hitting the end then fading to white (or other transition type). Tried searching docs and this thread, didn't see anything.
     
  43. remy_rm

    remy_rm

    Joined:
    Jan 16, 2017
    Posts:
    17
    Is there any news on when we can expect to see Version 2.x? You have also mentioned before that this will be a whole new plugin. Does an AVpro 1.x license carry across to 2.x, or will this need a new license?
     
  44. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    Hi,

    Which component are you talking about here? Everything is possible - I'm sure with some tweaks to the script the point at which it transitions can be changed. I'm just not sure which component/demo/element you're refering to.

    If you're talking about the PlaylistMediaPlayer, then it does have this option in the UI. You can change the Progress Mode to BeforeFinish and then set the progressTimeSeconds to the point before the end where you want it to transition to the next item.

    Thanks,
     
  45. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    It's still in the works...We became busy on other projects sadly. I don't have an estimated date for you.
    It will be a whole new plugin, but owners of the existing 1.x plugin will be able to upgrade at a discounted rate.
     
  46. EricWilliams

    EricWilliams

    Joined:
    Jun 23, 2017
    Posts:
    40
    I am talking about the PlaylistMediaPlayer. What you said kinda works but that seems to cause the video to end early.

    The default transition(On Finish) hits the end of the clip and holds the last frame while doing the transition. If the fade is fast enough it's almost not noticeable. Some of the videos I'm working with start where the previous left off(seamless), the only reason I would like the transition is to signify a change in clips but they still must look like the next starts where the previous began without noticeable pauses or skips.

    I think I could just create my own transition lerping the alpha of the ui panel the video is playing a second or two before the clip end, the playlist will auto next, then lerp back in. This will allow the clips to line up back to back without skipping or pausing.

    Thanks for the help.
     
  47. wanorde23

    wanorde23

    Joined:
    Jan 31, 2019
    Posts:
    10
    I have the same question! Please let me know if you find something!!
     
  48. unity_To_IBocGqYHxwg

    unity_To_IBocGqYHxwg

    Joined:
    Jun 24, 2019
    Posts:
    5
    Hi Andrew,
    I have tried this method inside the VCR(which I have edited to fit my project) but it didn't change the video back to 2d. We tried to change the shader property and it worked but only through inspector not through code. It seems like it can't be changed through code.

    Is there anyway to achieve this?
    Thank you.
     
  49. Zaiinab

    Zaiinab

    Joined:
    Apr 18, 2018
    Posts:
    4
    I've tried it on windows and still same problem
     
  50. elhongo

    elhongo

    Joined:
    Aug 13, 2015
    Posts:
    47
    Hi, any update on windows compatibly streaming videos with stereo metadata embedded in the video?

    Thanks!