Closed green7night closed 5 months ago
Does it support alpha channel in .webm?
@erikhric Support is not possible because the Exoplayer does not support the alpha channel. -> https://github.com/google/ExoPlayer/issues/7789
Was the original scene form video node using exoplayer too? I saw there is an option to use ChromaKeying materia to achive transparency. Can we also use matte masks? Simply synchronize 2 videos - mask and content?
What about displaying transparent webview that plays transparent video. Which approach seems doable to you?
Seems like VideoTexture
supported alpha channel. It has RGBA pixel format: https://github.com/SceneView/sceneview-android/blob/dfbe7cd355bf404b9adcd466883ef6798f8a4da5/sceneview/src/main/java/io/github/sceneview/texture/VideoTexture.kt
The texture yes but not the player. You can try replacing the alpha channel with a RGB one and use it as chroma key.
Kudos on that!