Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: ffmpegagent <ffmpegagent@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Cc: softworkz <softworkz@hotmail.com>
Subject: [FFmpeg-devel] [PATCH 0/2] Print filter input/output formats in help output
Date: Tue, 11 Oct 2022 13:17:49 +0000
Message-ID: <pull.43.ffstaging.FFmpeg.1665494271.ffmpegagent@gmail.com> (raw)

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".

             reply	other threads:[~2022-10-11 13:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 13:17 ffmpegagent [this message]
2022-10-11 13:17 ` [FFmpeg-devel] [PATCH 1/2] avfilter/avfilter: add avfilter_print_config_formats() softworkz
2022-11-03  9:58   ` Paul B Mahol
2022-11-03 22:34     ` Soft Works
2022-12-12 23:13     ` Soft Works
2022-12-26 20:24       ` Paul B Mahol
2022-10-11 13:17 ` [FFmpeg-devel] [PATCH 2/2] ftools/opt_common: Print filter input/output formats in help output softworkz
2022-10-11 21:38 ` [FFmpeg-devel] [PATCH v2 0/2] " ffmpegagent
2022-10-11 21:38   ` [FFmpeg-devel] [PATCH v2 1/2] avfilter/avfilter: add avfilter_print_config_formats() softworkz
2022-10-11 21:38   ` [FFmpeg-devel] [PATCH v2 2/2] ftools/opt_common: Print filter input/output formats in help output softworkz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pull.43.ffstaging.FFmpeg.1665494271.ffmpegagent@gmail.com \
    --to=ffmpegagent@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    --cc=softworkz@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git