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 8A74F400A6 for ; Thu, 17 Feb 2022 18:09:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EB46568B352; Thu, 17 Feb 2022 20:09:27 +0200 (EET) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1978068B34B for ; Thu, 17 Feb 2022 20:09:22 +0200 (EET) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-2d310db3812so41075417b3.3 for ; Thu, 17 Feb 2022 10:09:22 -0800 (PST) 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 :cc; bh=nuIGo3fPU+NvhaEifiZl57a8Fp6VNVlOZy2W+OJP5ZI=; b=ZIE5lXhb0NxJv9P4sywy/pxG6bV0XXH5I6V7bDu06ILgKCryBLoLfzXgADU5RpdV1u 1MY0nGxXSDP2ooNZ/t8jY8XKYi58/0le5RkpHFQNJ9qaiOhD9b94w+i/Rqqe17lkbtQl JTZ29xdvIalSE2L4NyLa9+C+Is2U+ee/Edf50x4fkRhoW6MZ2SQvlLwOUBOl7GacJYgh vWMoU1zsira7wtVK0Vb/FcqH4VpR0Qg1xGzj+wKxtxn2T78Cr84lQSYMfH3W5QtG4e3V 3y1l4Ni81ANLSRVCt1D7mgeyyk/APQETJx/tuYxVP6TMRlMojBCEj7GeU4uigADDROrN AZtA== 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:cc; bh=nuIGo3fPU+NvhaEifiZl57a8Fp6VNVlOZy2W+OJP5ZI=; b=xOfKyL/7l1JpZX84rRbcEaxyRVeyoLGZIZVwOkY5J8TvkWkjf7q/Fyza/2/8YRSl3c ReINoPxLFEouwQwy/oD/Xcx4uz+qc1esMeWpuK7lcTkCS9vBZIbRZV6GPrcUDsam1vjg VbBp6Vk+Vl3PUBSEv17KDCDg/T3IvUI9SNUycTU38scS6KbDMLHpMo4e44bmPJl2eDtl gwMqby5I1J+hz/+a0GmhdrSJty6cATsAvdUKQUE704fZ7mC3qmAxZozkjVced50gBa+P AXNbLZ4RiHRNbsso5PbN2OhNOY2H8oIZFKZ97mriotYEUGwkH4dMLDNKdIi01UDsTXHD /e9g== X-Gm-Message-State: AOAM5337N0J3TbZ2TT67wPdwrgM4Q+UKjTHUe5INkYwYneI1XSF99vBQ /H1gZk2RHcIbWUcoxsQ025+kd2x88Yqb1A8TISsDRhChoZ8= X-Google-Smtp-Source: ABdhPJyF7yxMbrXUylggpPLTyJbEf59amM3DoL92jd+eXrsr+LUN56p7N+RslB79ajoeCNTdB4LY0LOmv3gmyOXap+M= X-Received: by 2002:a81:57d0:0:b0:2d0:cd0d:6007 with SMTP id l199-20020a8157d0000000b002d0cd0d6007mr3785860ywb.454.1645121359628; Thu, 17 Feb 2022 10:09:19 -0800 (PST) MIME-Version: 1.0 References: <20220217055117.3233501-1-vigneshv@google.com> In-Reply-To: <20220217055117.3233501-1-vigneshv@google.com> From: James Zern Date: Thu, 17 Feb 2022 10:09:09 -0800 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH 1/3] avcodec/libaomenc: Add parameter for avif single image encoding 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 Cc: Vignesh Venkatasubramanian 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 Wed, Feb 16, 2022 at 9:51 PM Vignesh Venkatasubramanian wrote: > > Add a parameter to libaom-av1 encoder to enforce some of the single > image constraints in the AV1 encoder. Setting this flag will limit > the encoder to producing exactly one frame and the sequence header > that is produced by the encoder will be conformant to the AVIF > specification [1]. > > Part of Fixing Trac ticket #7621 > > [1] https://aomediacodec.github.io/av1-avif > > Signed-off-by:: Vignesh Venkatasubramanian > --- > libavcodec/libaomenc.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > [...] > @@ -1290,6 +1303,7 @@ static const AVOption options[] = { > { "psnr", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = AOM_TUNE_PSNR}, 0, 0, VE, "tune"}, > { "ssim", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = AOM_TUNE_SSIM}, 0, 0, VE, "tune"}, > FF_AV1_PROFILE_OPTS > + { "avif-image", "Encode in single frame mode for still AVIF images.", OFFSET(is_avif), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE }, Can this instead be mapped to something that can be sent via aom-params? _______________________________________________ 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".