[FFmpeg-devel] [PATCH v3 0/6] Closed Captions improvements (phase 1)

Marth64 marth64 at proxyid.net
Tue Mar 12 07:59:59 EET 2024


In this patchset are improvements for Closed Captions. This set overrides
the 3 patches I sent in the past few days, hence the v3 moniker.
Feedback should be addressed. Details about each change is in the commit.

Narrative:
(1) First, fix the MPEG-2 decoder so it does not try to overlap different
    CC streams when content has mixed CC formats
(2) Fix invalid ASS tags produced by ccaption_dec, as well as the tests
(3) Fix leading padding produced by ccaption_dec (ignore leading NBSP)
(4) Correct wrong documentation on rcwtenc
(5) Add a RCWT demuxer. Now, one can fully mux/demux extracted
    CCs in a bit-exact way from both ffmpeg and ccextractor.
    The added benefit is this allows for easy archival of CCs
    for later processing.
(6) Fix an unused include in SCC demuxer

FATE tests pass.
There is still more to do, I will slowly work on this.

Thank you,

Signed-off-by: Marth64 <marth64 at proxyid.net>
-- 
2.34.1



More information about the ffmpeg-devel mailing list