android native video playback with alpha channel
Asked Answered
N

1

7

Does android support alpha channel in any of its native supported video formats, or does anybody has an idea if it is in the pipeline?

Might be possible in h.264 in android in 3.0 ?

Nauseous answered 19/3, 2012 at 22:3 Comment(2)
Do you have H.264 video with alpha channel?Aphasic
There is no support of alpha channel in native android video playback. If you wish to play video with alpha compositing it is possible to use some external libraries based on OpenGL.<br><br> For example, Alpha Movie Library:<br> github.com/pavelsemak/alpha-movieTonnie
S
2

There is no alpha channel in any video codec - It's just not designed to do that and would vastly increase the size of the file (every pixel in every frame would need transparency data stored in some way)

You could place a transparent view above the video, maybe even make the ENTIRE video partial transparent (on some devices)... but you can't make ONLY PART of the video transparent. It would be all or nothing.

Snowberry answered 30/8, 2012 at 4:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.