[FFmpeg-devel] [PATCH 2/2] doc/ffmpeg.texi: add a diagram for the loopback decoder example
Anton Khirnov
anton at khirnov.net
Fri Oct 4 10:46:11 EEST 2024
---
doc/ffmpeg.texi | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index e17c17bcd7..1ccc48bbad 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -526,6 +526,38 @@ reads an input video and
@end itemize
+Such a transcoding pipeline can be represented with the following diagram:
+ at verbatim
+┌──────────┬───────────────┐
+│ demuxer │ │ ┌─────────┐ ┌─────────┐ ┌────────────────────┐
+╞══════════╡ video stream │ │ video │ │ video │ │ null muxer │
+│ INPUT │ ├──⮞│ decoder ├──┬────────⮞│ encoder ├─┬─⮞│(discards its input)│
+│ │ │ └─────────┘ │ │(libx264)│ │ └────────────────────┘
+└──────────┴───────────────┘ │ └─────────┘ │
+ ╭───────⮜──╯ ┌─────────┐ │
+ │ │loopback │ │
+ │ ╭─────⮜──────┤ decoder ├────⮜──╯
+ │ │ └─────────┘
+ │ │
+ │ │
+ │ │ ┌───────────────────┐
+ │ │ │complex filtergraph│
+ │ │ ╞═══════════════════╡
+ │ │ │ ┌─────────────┐ │
+ ╰─╫─⮞├─⮞│ hstack ├─⮞├╮
+ ╰─⮞├─⮞│ │ ││
+ │ └─────────────┘ ││
+ └───────────────────┘│
+ │
+┌──────────┬───────────────┐ ┌─────────┐ │
+│ muxer │ │ │ video │ │
+╞══════════╡ video stream │⮜─┤ encoder ├───────⮜──────────╯
+│ OUTPUT │ │ │ (ffv1) │
+│ │ │ └─────────┘
+└──────────┴───────────────┘
+ at end verbatim
+
+
@c man end DETAILED DESCRIPTION
@anchor{Stream selection}
--
2.43.0
More information about the ffmpeg-devel
mailing list