Print filter input/output formats in help output#43
Open
softworkz wants to merge 2 commits into
Open
Conversation
|
There is an issue in commit 16588e7: |
16588e7 to
c99d278
Compare
Collaborator
Author
|
/submit |
|
Submitted as pull.43.ffstaging.FFmpeg.1665494271.ffmpegagent@gmail.com To fetch this version into To fetch this version to local tag |
a39757b to
2938942
Compare
Collaborator
Author
|
/submit |
|
Submitted as pull.43.v2.ffstaging.FFmpeg.1665524301.ffmpegagent@gmail.com To fetch this version into To fetch this version to local tag |
Prints the following to AVBPrint:
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 (example):
"Dynamic, Defaults: [yuv420p, yuvj420p, yuva420p, nv12, nv21]"
For all other filters (example):
"[s16p, s32p, fltp, dblp]"
Except in case when the number of formats equals the number of
available formats:
"All"
Signed-off-by: softworkz <softworkz@hotmail.com>
Exmaple command: ffmpeg -h filters=overlay
Output:
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:
[...]
Signed-off-by: softworkz <softworkz@hotmail.com>
2938942 to
2446d57
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example output for command:
ffmpeg -h filters=overlayExamples for what it prints in various cases
For pass-through filter links
For filters using query_formats
For filters using query_formats where a call to query_formats succeeds
For all other cases
Except when all formats are supported
(number of formats equals number of available formats)
v2: rebase and fix compiler warnings