[FFmpeg-devel] [PATCH]lavc/libvpxenc: Avaoid vp8 transparency encoding with auto-alt-ref

James Zern jzern at google.com
Sat Sep 17 02:48:20 EEST 2016


On Fri, Sep 16, 2016 at 5:23 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Hi!
>
> Attached patch fixes ticket #5815.
>

> +    if (ctx->auto_alt_ref && ctx->is_alpha && avctx->codec_id == AV_CODEC_ID_VP8) {
> +        av_log(avctx, AV_LOG_ERROR, "Transparency encoding with auto_alt_ref does not work\n");
> +        return AVERROR(EINVAL);
> +    }
> +
>

This is a bit drastic, but might be necessary if the bug is reliably
occurring. This sounds like a libvpx bug, I'll try to reproduce
locally when I get a chance.


More information about the ffmpeg-devel mailing list