diff mbox series

[FFmpeg-devel,v5,3/4] doc/muxers: refresh and simplify RCWT muxer documentation

Message ID 20240319173913.2754690-3-marth64@proxyid.net
State New
Headers show
Series [FFmpeg-devel,v5,1/4] avformat/rcwtdec: add RCWT Closed Captions demuxer | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marth64 March 19, 2024, 5:39 p.m. UTC
Signed-off-by: Marth64 <marth64@proxyid.net>
---
 doc/muxers.texi | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/doc/muxers.texi b/doc/muxers.texi
index d9dd72e613..9e8de3dc42 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -2987,16 +2987,15 @@  ogg files can be safely chained.
 
 @end table
 
-@anchor{rcwt}
+@anchor{rcwtenc}
 @section rcwt
 
 Raw Captions With Time (RCWT) is a format native to ccextractor, a commonly
-used open source tool for processing 608/708 closed caption (CC) sources.
-It can be used to archive the original, raw CC bitstream and to produce
-a source file for later CC processing or conversion. As a result,
-it also allows for interopability with ccextractor for processing CC data
-extracted via ffmpeg. The format is simple to parse and can be used
-to retain all lines and variants of CC.
+used open source tool for processing 608/708 Closed Captions (CC) sources.
+It can be used to archive the original extracted CC bitstream and to produce
+a source file for later processing or conversion. The format allows
+for interopability between ccextractor and FFmpeg, is simple to parse,
+and can be used to create a backup of the CC presentation.
 
 This muxer implements the specification as of 2024-01-05, which has
 been stable and unchanged for 10 years as of this writing.
@@ -3006,9 +3005,19 @@  No compatibility issues when processing the output with ccextractor
 have been observed as a result of this so far, but mileage may vary
 and outputs will not be a bit-exact match.
 
-A free specification of RCWT can be found here:
+A free specification of RCWT can be found at:
 @url{https://github.com/CCExtractor/ccextractor/blob/master/docs/BINARY_FILE_FORMAT.TXT}
 
+@subsection Examples
+
+@itemize
+@item
+Extract Closed Captions to RCWT using lavfi:
+@example
+ffmpeg -f lavfi -i "movie=INPUT.mkv[out+subcc]" -map 0:s:0 -c:s copy CC.rcwt.bin
+@end example
+@end itemize
+
 @anchor{segment}
 @section segment, stream_segment, ssegment