[CEA-708] Discoloration in the captions #235

Open
opened 2026-01-29 16:38:36 +00:00 by claunia · 0 comments
Owner

Originally created by @Izaron on GitHub (Jan 11, 2017).

In CEA-708 we have subtitle color for each row (subtitle line)
Often the color disappears from the expected line. We get all the colors in function SetPenColor in fg_color (as far I tested) but often it is assigned to the wrong row number of window, percentage of confusion depends on example video. It's necessary to correct the confusion.

Result:

38
00:02:37,307 --> 00:02:38,608
<font color="aaaaaa">When you've been making         </font>
delicious natural cheese        

Expected:

38
00:02:37,307 --> 00:02:38,608
<font color="aaaaaa">When you've been making         </font>
<font color="aaaaaa">delicious natural cheese        </font>

^ In this example all the colors is equals to 42 (fg_color == 42), but there are blank lines anyway.
File HISTW.ts from samples

Originally created by @Izaron on GitHub (Jan 11, 2017). In CEA-708 we have subtitle color for each row (subtitle line) Often the color disappears from the expected line. We get all the colors in function [SetPenColor](https://en.wikipedia.org/wiki/CEA-708#SetPenColor_.280x91_.2B_3_bytes.29) in fg_color (as far I tested) but often it is assigned to the wrong row number of window, percentage of confusion depends on example video. It's necessary to correct the confusion. Result: ``` 38 00:02:37,307 --> 00:02:38,608 <font color="aaaaaa">When you've been making </font> delicious natural cheese ``` Expected: ``` 38 00:02:37,307 --> 00:02:38,608 <font color="aaaaaa">When you've been making </font> <font color="aaaaaa">delicious natural cheese </font> ``` ^ In this example all the colors is equals to 42 (fg_color == 42), but there are blank lines anyway. File HISTW.ts from [samples](https://drive.google.com/drive/folders/0B_61ywKPmI0Ta2diT3l0eTlHc2c)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#235