Play video on Android with alpha

Does android support alpha channel in any of its own supported video formats, or does anyone have an idea if it is under development?

Is it possible to be in h.264 in android in 3.0?

+6
source share
1 answer

There is no alpha channel in any video codec. It is simply not designed for this and will significantly increase the file size (each pixel in each frame will require some transparency information)

You can place a transparent view over the video, maybe even make the FULL video partially transparent (on some devices) ... but you cannot make ONLY a PART of the video transparent. That would be all or nothing.

+1
source

Source: https://habr.com/ru/post/911150/


All Articles