diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-01-19 13:54:44 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-02-12 10:34:45 +0100 |
commit | 78f46065d861eb8487124e92ab46a459426eb89c (patch) | |
tree | b2c6c65d74599675d9de58316161f6c998f565a0 /tools/qt-faststart.c | |
parent | f17051eaae278c6683492c037e5a1658ace64bec (diff) | |
download | ffmpeg-78f46065d861eb8487124e92ab46a459426eb89c.tar.gz |
fftools/ffmpeg: add special syntax for loading filter options from files
Many filters accept user-provided data that is cumbersome to provide as
text strings - e.g. binary files or very long text. For that reason such
filters typically provide a option whose value is the path from which
the filter loads the actual data.
However, filters doing their own IO internally is a layering violation
that the callers may not expect, and is thus best avoided. With the
recently introduced graph segment parsing API, loading option values
from files can now be handled by the caller.
This commit makes use of the new API in ffmpeg CLI. Any option name in
the filtergraph syntax can now be prefixed with a slash '/'. This will
cause ffmpeg to interpret the value as the path to load the actual value
from.
Diffstat (limited to 'tools/qt-faststart.c')
0 files changed, 0 insertions, 0 deletions