From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 9281343ACC for ; Tue, 12 Jul 2022 15:18:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A9D9168B8B1; Tue, 12 Jul 2022 18:18:00 +0300 (EEST) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F3F1068B72C for ; Tue, 12 Jul 2022 18:17:53 +0300 (EEST) Received: by mail-yb1-f177.google.com with SMTP id h62so11836642ybb.11 for ; Tue, 12 Jul 2022 08:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=sTxo/c3obaqkeH0OKiiYAQyvPAs/Wozaz6ci6WE85xM=; b=kbGCpDfQXEAtsn8ysHKSwii6Omrt8FTnJnAkBEQDQ42TD37s8JTtp2iORTjRjT+5hB QddjGTrrgwy6q45T7xvoFIcuI8UyxkHLFpLi5yfWAuU+Pm+m5OWb2SFX5pBhp2ab5c86 n46Vr7rceenh6ElcKGr9095hWPeL5izDaGcLPNWEiz9WF4Km0NMnOBBSX1XZh9oGS21G iEHW7hYfgwGhYrvZnf26rVbz+Q0UTsTORpRe6YeFtHU6/H6WoxISI3/rlyS8Cz8yfQMR wbka2kR0JvBDkANWbdTpG4zUpe9cGQna9FE/G3Ba8zA1S3EzRr/b+cpJU/fqJ3UNYc53 /v7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=sTxo/c3obaqkeH0OKiiYAQyvPAs/Wozaz6ci6WE85xM=; b=0A5DnwWS6XaAmnERzCdIQYqW0FkXhwcpJC4A9wMEQo8jaB61SXQB8YyH6ckV5Z5gWp 7ey9W0ub6LdixtQzLi5j6PwNxaMVazHQD8Wfd9i+fPhcBQHWyNKvKFbJ54I4OLn0qzX+ s744ilC21KA7IAwW40S9+nQ9bCGO4LBA+fi2dmWJR6oJp9/aBxOBRNOCivZZEmdv4yZD yZAXWfjNLN3XT4NbTbuqoM4cZ6kW7S6pOFSSA1fLtepVutptXFy94W/sfcdFi982PZt9 N9Pzf0Q1qUaXckDBL+AGHoO/4myCxGLn1iYfTyUVO3YY31XrUryVpItViZvGIgZbbyP0 bN1A== X-Gm-Message-State: AJIora/KKrW7GJUV1+xkS2cqcY400MeNadrufsqa6byliLy2EBlPztt1 Yrb0Cf58JpvLrYP0vxUpGLflONfQL7ud+CiE2ODcExENZpo= X-Google-Smtp-Source: AGRyM1tAwqH01f2fzVQ1b3hpMMO72glyHETlvW6s0LFUMSJXghA9StXQsxmVRK7NHotUjQWpUjqsJ0CNtgUyA0Bzywo= X-Received: by 2002:a25:8191:0:b0:668:d7cc:aaee with SMTP id p17-20020a258191000000b00668d7ccaaeemr24111757ybk.430.1657639071115; Tue, 12 Jul 2022 08:17:51 -0700 (PDT) MIME-Version: 1.0 References: <20220630210434.1551769-1-vigneshv@google.com> <20220630210434.1551769-2-vigneshv@google.com> <165675449715.31466.4432489889968017112@lain.khirnov.net> <165704003828.31466.16458124857567151808@lain.khirnov.net> In-Reply-To: <165704003828.31466.16458124857567151808@lain.khirnov.net> From: Vignesh Venkatasubramanian Date: Tue, 12 Jul 2022 08:17:39 -0700 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/mov: Support parsing of still AVIF Alpha Channel X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, Jul 5, 2022 at 9:54 AM Anton Khirnov wrote: > > Quoting Vignesh Venkatasubramanian (2022-07-02 23:15:35) > > > As for encoding, not fully sure how it should be integrated, if any > > > encoders actually at this moment do proper alpha coding, or do all API > > > clients have to separately encode with one context the primary image, > > > and the alpha with another? > > > > I am not sure about other codecs, but in the case of AVIF/AV1, the > > encoder does not understand/support alpha channels. The only way to do > > it is to use two separate encoders. > > Can this not be handled in our encoder wrapper? > By encoder wrapper, you mean codec wrappers in libavcodec like libaomenc.c right ? Yes, it is possible to do this in the encoder wrapper by keeping multiple instances of the encoder. But each encoder wrapper has to be updated to support it. AV1, for example, has three different encoders that can be used as of today (aom, rav1e and svt-av1). > We should strive as much as possible to shield our callers from > codec-specific implementation details. > > -- > Anton Khirnov > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". -- Vignesh _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".