[FFmpeg-devel] Captions SCC
Marth64
marth64 at proxyid.net
Fri Feb 7 18:18:22 EET 2025
Hey Zach,
Thanks for the additional context.
Embedding in the traditional sense is not available now.
If archival is also a primary goal, have you checked out the RCWT muxer?
This muxer can collect the original EIA608/CEA708 bytes with all
fields, in A53 Part 4 format,
to a preservable file. The RCWT format is ccextractor's native format
for archival and is publically documented.
You can do something like,
ffmpeg -f lavfi -i "movie=MyMovie.mkv[out+subcc]" -map 0:s -c:s copy
-f rcwt MyMoviePreservedCC.bin
Then postprocess with either ccextractor or FFmpeg, eg
ffmpeg -i MyMoviePreservedCC.bin output.ass
or
ccextractor -trim MyMoviePreservedCC.bin
FFmpeg's EIA608 decoder does an OK job of preserving some formatting
when converting to ASS.
RCWT gives you archival and post processing flexibility.
Does this help?
More information about the ffmpeg-devel
mailing list