LiTr icon indicating copy to clipboard operation
LiTr copied to clipboard

Support for transparent video

Open woniu163 opened this issue 3 years ago • 5 comments

support for transparent video by libvpx, like webm

woniu163 avatar Mar 14 '22 09:03 woniu163

Technically we should already support this. VPx support is available on many devices via MediaCodec API which LiTr uses. The trick is to figure out correct MediaMuxerMediaTarget and MediaCodecDecoder parameters. I will try to take a quick look at this.

izzytwosheds avatar Mar 25 '22 16:03 izzytwosheds

Can you describe your use case? Are you trying to transcode a WEBM with transparent video into MP4 with some effects? Or are you trying to create a WEBM with transparency?

izzytwosheds avatar Mar 25 '22 18:03 izzytwosheds

Yes, we tried to combine a webm and a mp4 video into a new mp4 file, but it didn't work

woniu163 avatar Mar 28 '22 04:03 woniu163

Did you try to draw webm frames onto mp4 frames? And alpha channel didn't work, I presume?

izzytwosheds avatar Mar 28 '22 14:03 izzytwosheds

yes,the alpha channel didn't work

woniu163 avatar Mar 29 '22 06:03 woniu163