summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarth64 <[email protected]>2024-04-02 00:24:57 -0500
committerStefano Sabatini <[email protected]>2024-04-02 20:09:05 +0200
commit0866b2ba5ea64127d670f9ce35d34bd9c2708cc9 (patch)
tree7915dfe972fb49eaafd3c7e494e4f3c4eee5de1b
parent58f04608c21b5f8c0db81ab4b0c65b147e98b5ea (diff)
doc/muxers: refresh the RCWT muxer's doc to be consistent with the demuxer
Signed-off-by: Marth64 <[email protected]>
-rw-r--r--doc/muxers.texi29
1 files changed, 19 insertions, 10 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 39597e000b..d8a1f83309 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -3126,19 +3126,18 @@ 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.
+RCWT (Raw Captions With Time) is a format native to ccextractor, a commonly
+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 interoperability 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.
+This muxer implements the specification as of March 2024, which has
+been stable and unchanged since April 2014.
This muxer will have some nuances from the way that ccextractor muxes RCWT.
No compatibility issues when processing the output with ccextractor
@@ -3148,6 +3147,16 @@ and outputs will not be a bit-exact match.
A free specification of RCWT can be found here:
@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 -f rcwt CC.rcwt.bin
+@end example
+@end itemize
+
@anchor{segment}
@section segment, stream_segment, ssegment