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 6048C4A082 for ; Tue, 19 Mar 2024 14:58:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 08B8168D3B4; Tue, 19 Mar 2024 16:58:13 +0200 (EET) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4F75C68CD7D for ; Tue, 19 Mar 2024 16:58:06 +0200 (EET) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a46dd7b4bcbso105883266b.3 for ; Tue, 19 Mar 2024 07:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710860285; x=1711465085; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=0sLf3dF3rOcm8XCs9GYT9QnJuONSLZIkxqL6MR1Sm3s=; b=RCQYG4EWDunqxBGa8jdR5QULB4medT8WUNfIEMTjA/mKrb+x7BuP3Jvt4yr57vDEbK fj+N/9zV7R67jXfF/p/QsARd8JAJQNTiRLDmY7i6H+n+u+nwBo3AWnS27upE6wDzT2Hj U+7X8oPxgzb2QIZ8V1uVky5A7/nvyPGgE2QLxp/dmsn86A7z8DqVaLu49rRAVRQPpV25 VYkGopz0v21aNJ5BkJit3Bt1qKuf7K2TRBtnqCx5XuoQ/AWQLckipWZzpyf/Igt/j/0f mvKksX00zAuTO4WQ7eWj8/ddzXjyiYQ6qbia8gtK2OoCwC87TDEk0WdKaZHaMJow9rSC /jgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710860285; x=1711465085; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0sLf3dF3rOcm8XCs9GYT9QnJuONSLZIkxqL6MR1Sm3s=; b=Xryzhwt8ZshXWobXmOeJ1kh6YrKZwOeqJvwVu8BDFl2bR+4EAgPVE09DXGg0FAxV7h IriOK8ncjT16zCjdrwoceiPzrgdS0rY4Ngg5IJUa2kpvLe4+W+264Z98bSudSe9NaoqV KSrM+/9vh5kAejjS2pj27q8nqE0QI5bgGCcCFg+yxTvM5CNkRh54zDYxnCE2KfZUbQ/f bpDxeTkQbAmy+hcHZDcZyC1T3lD/RWAx7imd5vYKVTXAt66ui7gQ6MVJwOAE5jV++OrI 6Zy+9vQiUCr9ttZWMVNJH71daTUZTDceQs06lVBJ3gSPTLvNy7TJZ748wer3fJFfhzNd FaSg== X-Gm-Message-State: AOJu0Yx8n3GPAdlUA+JT2VHax1rdCJOu1nVVtK4f2YR2CMcc7eOxFb8Z BadYO2PymQIYlZJ9kspVqtsLye+Y961oYXL1wyxIQCJvNrTrEvnD3eU66slw X-Google-Smtp-Source: AGHT+IEOYfdllXY1GEtLDXqy+UD1I6pBsYzvGi1LZpKUQcWrMLEZdFycLK5p5pEcTKj+P4Ec/0THOw== X-Received: by 2002:a17:906:ce47:b0:a46:dacc:dcde with SMTP id se7-20020a170906ce4700b00a46daccdcdemr1680444ejb.76.1710860284701; Tue, 19 Mar 2024 07:58:04 -0700 (PDT) Received: from mariano ([188.210.239.9]) by smtp.gmail.com with ESMTPSA id ws4-20020a170907704400b00a46d001a259sm1595922ejb.52.2024.03.19.07.58.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 07:58:04 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 9E141BFCDC; Tue, 19 Mar 2024 15:58:03 +0100 (CET) Date: Tue, 19 Mar 2024 15:58:03 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20240314101231.19542-1-anton@khirnov.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240314101231.19542-1-anton@khirnov.net> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] doc/ffmpeg: mention how to pass options to loopback decoders 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 date Thursday 2024-03-14 11:12:31 +0100, Anton Khirnov wrote: > --- > doc/ffmpeg.texi | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > index a38ef834e1..801c083705 100644 > --- a/doc/ffmpeg.texi > +++ b/doc/ffmpeg.texi > @@ -229,12 +229,16 @@ successive integers starting at zero. These indices should then be used to refer > to loopback decoders in complex filtergraph link labels, as described in the > documentation for @option{-filter_complex}. > > +Decoding AVOptions can be passed to loopback decoders by placing them before AVOptions => options (rationale: we have only a few references to AVOptions and no direct ones in ffmpeg.texi, and there is no need to assume arbitrary AV/FF jargon). > +@code{-dec}, analogously to input/output options. > + > E.g. the following example: > > @example > ffmpeg -i INPUT \ > -map 0:v:0 -c:v libx264 -crf 45 -f null - \ > - -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' \ > + -threads 3 -dec 0:0 \ > + -filter_complex '[0:v][dec:0]hstack[stack]' \ > -map '[stack]' -c:v ffv1 OUTPUT > @end example > > @@ -244,11 +248,13 @@ reads an input video and > (line 2) encodes it with @code{libx264} at low quality; > > @item > -(line 3) decodes this encoded stream and places it side by side with the > -original input video; > +(line 3) decodes this encoded stream using 3 threads; > > @item > -(line 4) combined video is then losslessly encoded and written into > +(line 4) places decoded video side by side with the original input video; > + > +@item > +(line 5) combined video is then losslessly encoded and written into > @file{OUTPUT}. LGTM otherwise, thanks. _______________________________________________ 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".