[Libav-user] Question regarding VP9 (AV_CODEC_ID_VP9) - forcing alpha

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Mar 17 23:29:11 EET 2021


Am Mi., 17. März 2021 um 07:08 Uhr schrieb David Rappo
<davidr at lens-immersive.com>:

> const auto codecIdentifier{ AV_CODEC_ID_VP9 };
> auto decoder = avcodec_find_decoder(codecIdentifier);

Note that this looks very different from "ffmpeg -c:v libvpx-vp9 -i anim.webm"

> Does anybody know how to force FFMPEG to open the input video such that alpha is preserved?

Try "--disable-decoder=vp9" if you cannot change above code.

Carl Eugen


More information about the Libav-user mailing list