how to use libvpx encode alpha

92 views
Skip to first unread message

...

unread,
Feb 5, 2026, 12:57:03 PM (11 days ago) Feb 5
to webm-discuss
Hello, I am using libvpx to encode images with an alpha channel. Could you please provide a relevant demo program or code? Thanks Very much

James Zern

unread,
Feb 10, 2026, 5:16:12 PM (6 days ago) Feb 10
to webm-d...@webmproject.org
Hi,

On Thu, Feb 5, 2026 at 9:57 AM '...' via WebM Discussion <webm-d...@webmproject.org> wrote:
Hello, I am using libvpx to encode images with an alpha channel. Could you please provide a relevant demo program or code? Thanks Very much

ffmpeg will encode videos or images containing alpha when using libvpx-vp8 or libvpx-vp9:

```
ffmpeg -i input -c:v libvpx-vp9 output.webm
```

You can see the source in libvpxenc.c:

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To view this discussion visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/tencent_57A5171B7916108FF5459FE7448301D57506%40qq.com.
Reply all
Reply to author
Forward
0 new messages