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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 17 02:50:34 EEST 2016


2016-09-17 1:48 GMT+02:00 James Zern:
> On Fri, Sep 16, 2016 at 5:23 AM, Carl Eugen Hoyos wrote:

>> 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

It only occurs if you try to encode with transparency and
auto_alt_ref.

> occurring. This sounds like a libvpx bug, I'll try to reproduce
> locally when I get a chance.

Please do!

Carl Eugen


More information about the ffmpeg-devel mailing list