GPUVideo-android icon indicating copy to clipboard operation
GPUVideo-android copied to clipboard

Is it possible to merge GIF on video using GPUVideo?

Open brianlee0113 opened this issue 5 years ago • 3 comments

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! :)

brianlee0113 avatar May 20 '19 01:05 brianlee0113

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.

seanghay avatar Aug 20 '19 10:08 seanghay

@brianlee0113 @MasayukiSuda is that possible to overlay GIF on Video??

nikunjparadva avatar Jul 22 '20 17:07 nikunjparadva

Has anyone done this?

emergingcoders13 avatar Sep 15 '22 11:09 emergingcoders13