Video Playback ImageTarget video is Black Screen appears for a moment.
Is there a way that does not make a black screen?
Best Regards,
secimo
I've just created a post in the Android forum, showing a possible solution for this issue:
https://developer.vuforia.com/forum/android/video-playback-texture-black-screen-appears-beginning-fo
Hope this help someone :)
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.
thanks
N
How to make this on the new vuforia 2.8 for Android with all the code in the java clases?
Thank you very much
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:
Hi columbus,
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.
N
Hi
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
thx
Maik
Hi secimo
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.
Thanks,
N
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.
Best Regards,
secimo
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.
N
Thanks negrelja,
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
thanks
N
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.
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?
N
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.
Also in my case, the default behavior of the sample.
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.
No it's not the default behavior. Could it be your video? - are you seeing this with our Video Playback sample as well?
Also devices have you tested with?
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
Hi secimo,
does the texture appears as black only for a few frames (a very short time) ?
Great, thanks!