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 0F1344443E for ; Tue, 11 Oct 2022 13:18:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2999F68BCF1; Tue, 11 Oct 2022 16:18:01 +0300 (EEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5011068BBD2 for ; Tue, 11 Oct 2022 16:17:55 +0300 (EEST) Received: by mail-pj1-f53.google.com with SMTP id d7-20020a17090a2a4700b0020d268b1f02so6556110pjg.1 for ; Tue, 11 Oct 2022 06:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=n35OBC0XNzWQ+ar2TEM2OPb7EDaXjLf7S7ZppyuGfoM=; b=WnXH1oZ7fxwxb/PWuUgWLRiL/Le8woxW6W9SiIkej5BrZYYjfx5WaTGk1cPK4lQNMX Nr/UsARnivyW/wLQe54deb7L7EAr/fZUKVgeXywz4yxVm9iLAaG1vhk2UAQmmO/0vYty 2Vxw/IgGfnVplvQJphI8vFA8DK5gAQTn3kWUioSllcGeoYd8AXwKZzf2a8atkH06QV02 ZUaPP+gF7/bDdCjcWk3sRaEd9ceiJwqTkl+uVVU1eQAizfeIxg0zvnxPLY0kFa1jKNiL Ja3z/gh633QnhBwA6TT8ojeB7TRs6ZHkdjF5Fx3BxHmkE9xx2y0c3ngbMNETzMw58b83 QBow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=n35OBC0XNzWQ+ar2TEM2OPb7EDaXjLf7S7ZppyuGfoM=; b=8H/RQcOnHYY1oxhXfncvVdjS0WJjFv1Cl0CsKCdtMrepnExXwiw6gPdYlBbRjt6R5M OdOZ5vfNAWfrwVx2S8tDz7ulxI9pN2wpkXVdJDqBlXFtl7LZRkLp5NVebpcxJaR446G7 FBhuOeqp1PMSuE+dz9d+/rIgGgBU2rDPNERPhYK0G/hHOfHXsQ4CmqNamnUlFymrjfT8 MbCeJRx13YHSE+5YxNXZPd5d1XhQNyqr3GpAuKvG1G0SZuwzANe3gMA1J+c78p0H+AyM 4ScPNbHg6WnhGaNyNUinsO3U/FEggUR7BnxHgzqDI50K23rkvHaX2mZSP2jzUP0eW+gE Aiiw== X-Gm-Message-State: ACrzQf1+9IK0Zb0Vh5hQ6LY1LXXTVsI84QfHKO2v1fGvf/Hya7acY9/N dJTjv53zPxvnlQnTI8AdYJ8CsQQnC2U= X-Google-Smtp-Source: AMsMyM5Tv56heYqgeM5iwMiMF+jx4xwOEdPOuy5P8C0fm1p4uzvRPiOivJZ/6W74s4uw0/MqA9g1cA== X-Received: by 2002:a17:90b:23c5:b0:20b:1cb4:2ca9 with SMTP id md5-20020a17090b23c500b0020b1cb42ca9mr29194238pjb.139.1665494272544; Tue, 11 Oct 2022 06:17:52 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id h16-20020a17090a051000b0020af0ac5131sm10953315pjh.24.2022.10.11.06.17.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2022 06:17:52 -0700 (PDT) Message-Id: From: ffmpegagent Date: Tue, 11 Oct 2022 13:17:49 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH 0/2] Print filter input/output formats in help output 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: softworkz 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: Example out put for command: ffmpeg -h filters=overlay Filter overlay Overlay a video source on top of the input. slice threading supported Inputs: #0: main (video), Formats: Dynamic, Default: [yuv420p, yuvj420p, yuva420p, nv12, nv21] #1: overlay (video), Formats: Dynamic, Default: [yuva420p] Outputs: #0: default (video), Formats: Dynamic, Default: [yuv420p, yuvj420p, yuva420p, nv12, nv21] overlay AVOptions: [...] Examples for what it prints in various cases ============================================ For pass-through filter links ============================= "All (passthrough)" For filters using query_formats =============================== "Dynamic" For filters using query_formats where a call to query_formats succeeds ====================================================================== "Dynamic, Default: [yuv420p, yuvj420p, yuva420p, nv12, nv21]" For all other cases =================== "[s16p, s32p, fltp, dblp]" Except in case when all formats are supported ============================================= (when the number of formats equals the number of available formats) "All" softworkz (2): avfilter/avfilter: add avfilter_print_config_formats() ftools/opt_common: Print filter input/output formats in help output doc/APIchanges | 3 ++ fftools/opt_common.c | 39 +++++++++----- libavfilter/avfilter.c | 102 +++++++++++++++++++++++++++++++++++- libavfilter/avfilter.h | 12 +++++ libavfilter/avfiltergraph.c | 14 +++-- libavfilter/internal.h | 9 ++++ libavfilter/version.h | 4 +- 7 files changed, 163 insertions(+), 20 deletions(-) base-commit: e10e27a2ead8848648b29a1b397cc240206e9c3d Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-43%2Fsoftworkz%2Fsubmit_print_formats-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-43/softworkz/submit_print_formats-v1 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/43 -- ffmpeg-codebot _______________________________________________ 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".