FFmpeg/fftools
Anton Khirnov 78f46065d8 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.
2023-02-12 10:34:45 +01:00
..
cmdutils.c fftools: use av_dict_iterate 2022-12-01 11:21:14 +01:00
cmdutils.h fftools/cmdutils: Add function to report error before exit 2022-09-01 14:21:56 +02:00
ffmpeg.c avcodec: remove FF_API_THREAD_SAFE_CALLBACKS 2023-02-09 15:24:16 +01:00
ffmpeg.h fftools/ffmpeg: add an option for writing pre-muxing stats 2023-02-09 15:24:15 +01:00
ffmpeg_demux.c fftools/ffmpeg: add an AVClass to MuxStream/OutputStream 2023-01-29 09:12:22 +01:00
ffmpeg_filter.c fftools/ffmpeg: add special syntax for loading filter options from files 2023-02-12 10:34:45 +01:00
ffmpeg_hw.c fftools/ffmpeg: drop OutputStream.enc 2022-08-29 15:42:11 +02:00
ffmpeg_mux.c fftools/ffmpeg_mux: distinguish between sync queue and muxer EOF 2023-02-10 11:01:11 +01:00
ffmpeg_mux.h fftools/ffmpeg: add an option for writing pre-muxing stats 2023-02-09 15:24:15 +01:00
ffmpeg_mux_init.c avformat: remove FF_API_AVSTREAM_CLASS 2023-02-09 15:35:14 +01:00
ffmpeg_opt.c fftools/ffmpeg: rename -enc_stats* to -stats_enc* 2023-02-10 11:02:13 +01:00
ffplay.c fftools/ffplay: prefer fd over pipe for seek support 2023-01-11 18:50:36 +08:00
ffprobe.c avutil/version: postpone the remaining API deprecations 2023-02-09 15:35:14 +01:00
fftools.manifest fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fftoolsres.rc fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fopen_utf8.h fftools/fopen_utf8: support long paths on Windows for fftools 2022-06-19 01:38:23 +03:00
Makefile fftools/ffmpeg_opt: move opening output files into a new file 2022-10-18 13:57:42 +02:00
objpool.c fftools/objpool: Don't use return with expression when returning void 2022-07-23 18:58:35 +02:00
objpool.h fftools: add an object pool 2022-07-23 11:53:19 +02:00
opt_common.c fftools/opt_common: check the return value of av_hwdevice_get_type_name before printing it 2022-09-14 09:54:19 -03:00
opt_common.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00
sync_queue.c fftools/ffmpeg: replace AVFrame.pkt_duration with duration 2022-07-24 08:46:16 +02:00
sync_queue.h fftools/ffmpeg: use the sync queues to handle -frames 2022-07-23 11:53:19 +02:00
thread_queue.c fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00
thread_queue.h fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00