[Android] VideoTexture
flickering with artifacts on start if any DisplayObject
with some visual added on stage
#2924
Labels
Problem Description
VideoTexture
flickering with artifacts on start if anyDisplayObject
with some visual added on stage for Android.Seems like small copy of whole
Stage
shown for a moment. If you have any graphics onStage
- such elements will be captured insideVideoTexture
area before it will be started.Tested with multiple AIR 50.2.x versions, even with latest AIR 50.2.3.8 with different AIR applications, devices, architectures and videos.
Tested with pure
Stage3D
and with Starling.Same issue in all cases.
With Windows and macOS all works fine.
Cannot check with iOS because of #1939
There is no such issue using
Video
object.Any of
DisplayObject
(Sprite
,Shape
and even "empty"Bitmap
) added on stage causeVideoTexture
flickering/artifacts on start.Also there is no such issues using "empty"
Sprite
/Shape
. Or usingSprite
/Shape
with transparent (alpha 0)Graphics
.Also there is no issue if
visible=false
for such objects or if they have negative coordinates like:Any "big" positive coordinates cause issue.
cacheAsBitmap
,cacheAsBitmapMatrix
and differentdepthAndStencil
values didn't help to resolve this issue.Related issues:
#2910
#2396
#2017
#392
#151
#87
#81
Steps to Reproduce
Launch application with code below with any Android device. It just play video using
VideoTexture
in a loop.Sprite
,Shape
rectangles and "empty"Bitmap
added over it asDisplayObjects
.Application example with sources, sample video and demo video attached.
android_videotexture_artifacts_displaylist_bug.zip
Actual Result:
On every video playback start you will see flickering with artifacts:
android_videotexture_artifacts_displaylist_bug.mp4
No errors in Scout or LogCat detected (except #2910).
Expected Result:
Application playback video in a loop without flickering/artifacts.
Known Workarounds
none
The text was updated successfully, but these errors were encountered: