Video Playback ImageTarget video is Black Screen appears for a moment.
Is there a way that does not make a black screen?
I've noticed the same issue. I'm playing video on a texture and noticed that the video frame goes black for a split second just before the video starts playing. Is this simply the default behavior? I'd prefer seeing the Video Keyframe linger for an extra second rather than a black frame if possible.
I'm running Unity 4, Vuforia 2.0, xCode 4.5.2, iOS 6.0.1
I have tested on iPhone 5 running iOS 6.0 and iPad 2 running iOS 6.0.1 and was able to reproduce the black frame issue with the Sample Video Playback without any modifications to the project files. It only seems to be happening the first time the video is played/loaded. If you pause and play again there seems to be a very slight delay for the video to resume but no flashing black frame. I suspect that the video player frame is being shown before the video is fully loaded. Seems that the larger the video file size = longer black frame delay.
Also in my case, the default behavior of the sample.
I've only noticed this issue when playing on a texture. I have not seen this happen in fullscreen, but still having the issue that the video player will not close once the video has reached the end. Thanks.
hmmm, can you clarify please?
When playing on a texture (file must be local) there is no fullscreen player, so the camera feed should still be there.
Are you saying when you try and play on a texture from a local file that you get a black screen at the end?
Also, what is different between your app and the video playback sample?
Please let me clarify, I was actually talking about two separate, unrelated issues.
Issue #1: Flashing black video frame at beginning when playing a local video on a texture.
Issue #2: App gets stuck on black loading screen when a fullscreen video reaches the end.
The only major difference between my app and the video playback sample is that I am forcing my local videos to play fullscreen.
Issue #1: on a texture
"I have tested on iPhone 5 running iOS 6.0 and iPad 2 running iOS 6.0.1 and was able to reproduce the black frame issue with the Sample Video Playback without any modifications to the project files"
I just tested on an iPhone 5 running iOS 6.02 and did not see any black frame. Do you see it just on the texture part or is it on the whole screen?
Issue #2: fullscreen - We are investigating this
Could you please try a few other video files and let me know if the same thing happens.
I need to be able to accurately reproduce a problem before anything can be done to fix it, so PM me a link to any video file if you can.
Issue #1: on a texture
I have tested on iPad2 running iOS 6.1, was not resolved.
Moment, a black screen is displayed first.
This problem is like the iOS version was not a problem.
I tested this last week and it seems that the momentary black screen has always been there with the Unity Video Playback sample, as I tested with various devices and with the previous version of Vuforia.
As a result this issue is under investigation and I will revert back when I have more info.
I´d like to ping this issue, since it still seems to percist. (despite the major release in the mean-time)
I cut a sequenz into several short clips which I want to play "seamless" with the next clip, after a button was pressed, if possible. But every clip starts with a few black frames. And since one of my clips is only some frames long it doesn´t get rendered at all, but just stays black(I changed the video-behaviour in a way that the last frame stays visible). - does this behaviour mean, that the video itself is already playing? Which would mean, that it isn´t a load-delay.
I´d be thankful for any suggestion in this matter
We do plan to look at this in due course but to be clear it is not a priority at the moment.
One thing you could possibly experiment with is to try different video formats to see which are worse/better. This also may help to narrow down the scope of the problem.
Sorry that there will be no immediate fix here, and very much hope that you can find a way around this.
Ok, I checked again with the development team and it seems that this is due to buffering in Unity, and it's not possible to query how many frames will be black before the video starts playing.
However you may be able to use this workround on a case-by-case basis:
Sorry, not sure what this has to do with this thread.
If you have a question related to Android, I suggest you ask it clearly in the Android forums and create a new thread.
I've just created a post in the Android forum, showing a possible solution for this issue:
Hope this help someone :)
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?