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 79A2849583 for ; Thu, 14 Mar 2024 10:13:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 79E1968D1C7; Thu, 14 Mar 2024 12:13:00 +0200 (EET) Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5DBD968D04F for ; Thu, 14 Mar 2024 12:12:53 +0200 (EET) Authentication-Results: mail1.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=DhOztQF+; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id A1BFE4D3D for ; Thu, 14 Mar 2024 11:12:52 +0100 (CET) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id X6FVzUEc5xPD for ; Thu, 14 Mar 2024 11:12:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1710411171; bh=scx5qoCiIjpzLrKzd3Hg9xsINb2DUMV7JtqyZ9iqDYw=; h=From:To:Subject:Date:From; b=DhOztQF+MkBKfK8UVa/3c2UrcAcDbCK4K0pbWWvUzCM2jOswTIVbeH+/SZ9x8peHC XhBuVvc9Yi4GvtQ9XIOJB3F0Lx3Fvtbqys/9LGxHnYHIvJLV7m8ogaesI38FUFv8G4 hQbrwj0czUgV5eC7TeRczxW26JOcL+Pm9WUNMNuEemasZLIekziLd8bZDz0YG/WdzX /KLJfK5I28mkiRVWdw5So2OhcY31fQrAmbe6HWfZ6O8m4eees924Ai+edKnNNBtWkM VxUpQyRQPN4IU40n77ePOpScaVHRD+m/T3q1IxrOmWbK4gegR5htOvuw2Cnh/SfQ3S oh1YBBkRbzLjQ== Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail1.khirnov.net (Postfix) with ESMTPS id 420A8448A for ; Thu, 14 Mar 2024 11:12:51 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 2CEBF3A0219 for ; Thu, 14 Mar 2024 11:12:44 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Thu, 14 Mar 2024 11:12:31 +0100 Message-ID: <20240314101231.19542-1-anton@khirnov.net> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [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: --- 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 +@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}. @end itemize -- 2.43.0 _______________________________________________ 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".