Open brianlee0113 opened 5 years ago
I think it can be achieved by having a GifDecoder
for decoding .gif
file and draw it into a SurfaceTexture
which can be used to overlay on top of a video. The tricky thing is that I don't know if MediaCodec supports Gif decoding or not, but I think it doesn't.
You can take a look at Glide GifDecoder which might help you in this case.
@brianlee0113 @MasayukiSuda is that possible to overlay GIF on Video??
Has anyone done this?
Hello,
Is it possible to add GIF on the video and export to a single video like 'Bitmap overlay sample' or 'Watermark' in your sample code?
P.S. Thanks for your awesome work. Truly appreciate it! :)