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 ?

ziggestardust
  • 211
  • 2
  • 13
  • 1
    Do you have H.264 video with alpha channel? – Multimedia Mike Mar 20 '12 at 17:27
  • 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.

    For example, Alpha Movie Library:
    https://github.com/pavelsemak/alpha-movie
    – Pavel Semak Mar 18 '17 at 14:27

1 Answers1

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.

msEmmaMays
  • 1,073
  • 7
  • 7