From 0e12cdc69c86daa11608cfe809ba1aa848f91a09 Mon Sep 17 00:00:00 2001 From: Devin Heitmueller Date: Fri, 5 May 2023 15:09:06 -0400 Subject: avfilter/vf_ccrepack: Add new filter to repack CEA-708 side data THis filter can correct certain issues seen from upstream sources where the cc_count is not properly set or the CEA-608 tuples are not at the start of the payload as expected. Make use of the ccfifo to extract and immediately repack the CEA-708 side data, thereby removing any extra padding and ensuring the 608 tuples are at the front of the payload. Signed-off-by: Devin Heitmueller Signed-off-by: Limin Wang --- doc/filters.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index b6e13afdfd..7e0c87d0fa 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -9083,6 +9083,16 @@ Only deinterlace frames marked as interlaced. The default value is @code{all}. @end table +@section ccrepack + +Repack CEA-708 closed captioning side data + +This filter fixes various issues seen with commerical encoders +related to upstream malformed CEA-708 payloads, specifically +incorrect number of tuples (wrong cc_count for the target FPS), +and incorrect ordering of tuples (i.e. the CEA-608 tuples are not at +the first entries in the payload). + @section cas Apply Contrast Adaptive Sharpen filter to video stream. -- cgit v1.2.1