mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-09 02:16:41 +00:00
[PR #1913] feat(input): Add native SCC (Scenarist Closed Caption) input support #2705
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?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1913
State: closed
Merged: Yes
Summary
Add native support for reading SCC (Scenarist Closed Caption) files directly, eliminating the need for external conversion tools like SCC2RAW.exe or Perl scripts.
--scc-framerateoption supporting 29.97 (default), 24, 25, 30 fpsCloses #1293
Implementation Details
Files Added
src/rust/src/demuxer/scc.rs- Core SCC parser with 12 unit testsFiles Modified
ccxr_is_scc_file,ccxr_process_scc)raw_loop()Testing
Round-Trip Test
Verified caption preservation through the SCC format:
Result: 118/118 captions matched (100% accuracy)
Additional Tests
--scc-framerate 24)Usage
Test Plan
--scc-framerateoption🤖 Generated with Claude Code