From 255ae036012177e1c0419e28bc4b9ab10d848d0a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 5 Apr 2024 11:42:10 +0200 Subject: fftools/ffmpeg_sched: allow filtergraphs to send to filtergraphs Will be useful for filtergraph chaining that will be added in following commits. --- fftools/ffmpeg_sched.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fftools/ffmpeg_sched.h') diff --git a/fftools/ffmpeg_sched.h b/fftools/ffmpeg_sched.h index e51c26cec9..7cd839016c 100644 --- a/fftools/ffmpeg_sched.h +++ b/fftools/ffmpeg_sched.h @@ -41,7 +41,8 @@ * - filtergraphs, each containing zero or more inputs (0 in case the * filtergraph contains a lavfi source filter), and one or more outputs; the * inputs and outputs need not have matching media types; - * each filtergraph input receives decoded frames from some decoder; + * each filtergraph input receives decoded frames from some decoder or another + * filtergraph output; * filtered frames from each output are sent to some encoder; * - encoders, which receive decoded frames from some decoder (subtitles) or * some filtergraph output (audio/video), encode them, and send encoded @@ -51,6 +52,9 @@ * encoder (transcoding); those packets are interleaved and written out by the * muxer. * + * The structure formed by the above components is a directed acyclic graph + * (absence of cycles is checked at startup). + * * There must be at least one muxer instance, otherwise the transcode produces * no output and is meaningless. Otherwise, in a generic transcoding scenario * there may be arbitrary number of instances of any of the above components, -- cgit v1.2.3