Hi!
Attached patch fixes ticket #5815.
Please comment, Carl Eugen
From 3cf356b38a8ea6f9c98c36ad5cc7413dfa780e28 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos
Date: Fri, 16 Sep 2016 14:21:09 +0200
Subject: [PATCH] lavc/libvpxenc: Avoid vp8 transparency encoding with
auto-alt-ref.
Fixes ticket
On Fri, Sep 16, 2016 at 5:23 AM, Carl Eugen Hoyos 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");
>
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
On Fri, Sep 16, 2016 at 4:50 PM, Carl Eugen Hoyos wrote:
> 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) {
>>>
2016-09-17 4:44 GMT+02:00 James Zern :
> Thanks for the easy repro. It may have something to do with the fact
> that in vp8 the alt-ref is a separate frame, this needs a closer look.
Please keep us informed.
> Feel free to apply the change in the meantime.
Patch applied.
Thank you, Carl Eugen