New Video Player on Android problem (Black screen)

We have problems while playing video, with new Video Player (Unity 5.6.0b3).

We don’t have any problems with video player in editor or standalon application for Windows, but when we try to play video, on android device we see black screen. We test it on Galaxy S7 and Sony Z3 with Android 6.0.
We trying to play reference video (http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4) from related topic (Correct video format for video playback ? - Unity Engine - Unity Discussions). Video encoded with H264 AVC codec, audio encoded with AAC.

We want to play video without transcode. We try to play video from assets as Video Clip, and try to stream video by URL from StreamingAssets folder. It doesn’t metter. On Windows it work, but on Android it doesn’t.

We found that, if we remove audio from video clip, with external software, video start playing on android. It looks like problem related with audio. We try different audio output mode, but it doesnt help. Always black screen.

1 Like

Hi paskhalov,

This might not be the exact solution towards what you are eying on, But when I tried the video mentioned above with out transcode and android overwrite options enabled it does not work in Android. But at the same time when we have a transcode and the android overwrite enabled it works for the Codec of VP8 and not for H264.
Also, The windows version might have an impact as some video files doesnot get the frame height and width properties which leads to an error in unity when it tries to import that particular video file.

I just thought sharing my progress in displaying a video in transcode mode might help you to proceed on your debug.

Regards,
Gokul

2 Likes

Hi, gthiruna! Thx for sharing your progress. But our workflow excludes transcode in Unity. We want to download video in runtime, to sdcard and then play it. We will try to manual transcode out video files to VP8, maybe that workaround will help.

1 Like