mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
SCC output omits some line position instructions which are included in G608 output #849
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yukichigai on GitHub (Dec 6, 2025).
I've run into an intermittent issue with DVD and TS sources where SCC output somehow skips the line position instructions for some captions. Converting these same streams to G608 output shows the correct positioning, so it is clearly there but somehow being omitted. Here's an example:
SCC
Corresponding CCD Disassembly
G608
There should be a 9470/{1500} instruction at the start of the text in the SCC/CCD version, but it is missing for some reason.
@Rahul-2k4 commented on GitHub (Dec 8, 2025):
Hi! I can reproduce this the row positioning codes (like 9470/{1500}) appear in G608 but are missing in SCC, so the SCC encoder is skipping them. I’m planning to work on a PR for this. Before I start, can you confirm that SCC should always output these positioning commands whenever they appear in the input?
@yukichigai commented on GitHub (Dec 8, 2025):
I can confirm that. While most 608 captions are encoded in presentation order (i.e. left to right, top to bottom) the spec does allow for arbitrary position changes at any point in the stream.
@Rahul-2k4 commented on GitHub (Dec 9, 2025):
Okay, got it thanks for confirming! I’ll work on a PR to make sure the SCC encoder always outputs those positioning PACs.
@cfsmp3 commented on GitHub (Dec 12, 2025):
@yukichigai Can you share a sample that shows this problem?
@cfsmp3 commented on GitHub (Dec 12, 2025):
@yukichigai Actually I found one. Can you take https://github.com/CCExtractor/ccextractor/pull/1791
for a spin?
@yukichigai commented on GitHub (Dec 13, 2025):
Just ran it on one of the sources that was giving me trouble (the one in the example actually) and the output now looks correct.
SCC
CCD