File format · .scc
Scenarist Closed Caption (SCC) File Format
Scenarist Closed Caption (SCC) files store CEA-608 closed captions for video. Learn about the SCC format, structure, corruption causes, and repair options.
Scenarist Closed Caption (SCC) files are the industry standard for storing and distributing closed caption data in professional video environments, particularly for broadcast television and DVD/Blu-ray authoring. Developed by Sonic Solutions for use with their Scenarist authoring systems, the SCC format encapsulates CEA-608 (formerly EIA-608) caption data, which is the standard for line-21 analog television captions in the United States and Canada. Unlike modern subtitle formats that rely on text-based timestamps, SCC files store the raw hex codes that control the caption encoder, preserving precise timing and formatting commands essential for broadcast compliance.
Technical Structure and Specifications
The SCC format is a text-based file that functions as a chronological log of caption commands. It does not contain the video itself but is intended to be synchronized with a video asset during the authoring or playback process.
File Signature and Header
SCC files do not utilize a binary file signature (magic bytes) in the traditional sense. Instead, they are identified by a specific text header. The first line of a valid SCC file typically reads:
Scenarist_SCC V1.0
This header identifies the version of the format and dictates how the subsequent data should be interpreted.
Data Format and Timecodes
Following the header, the file consists of a series of lines, each representing a specific moment in time. The structure of a standard caption line is as follows:
hh:mm:ss:ff\t<HexData>
- hh:mm:ss:ff: This represents the timecode (Hours:Minutes:Seconds:Frames) at which the caption command should be executed. The frame rate usually matches the video standard (29.97 fps for NTSC).
- \t: A tab character separates the timecode from the data.
: This contains the actual caption instructions, expressed in pairs of hexadecimal characters. These codes correspond to the CEA-608 standard.
Hexadecimal Commands (CEA-608)
The hexadecimal data in an SCC file is not human-readable text; it is a direct representation of the control codes and characters sent to a caption decoder. Common commands include:
- Control Codes: Commands to pop-on captions, roll-up captions, paint-on, or erase displayed memory (e.g.,
9420is often associated with a pop-on command). - Characters: Pairs of hex codes represent specific characters, including special accented characters and non-alphabetic symbols defined in the EIA-608 character set.
- Preamble Address Codes (PACs): These codes define the row and color/indentation attributes for the text that follows.
Software and Usage
SCC files are primarily utilized in professional post-production workflows. They are the preferred format for:
- DVD and Blu-ray Authoring: Software like Sonic Scenarist and Adobe Encore uses SCC files to embed the closed caption stream into the final disc image.
- Broadcast Systems: Many broadcast automation systems ingest SCC files to deliver captions compliant with FCC regulations.
- Caption Conversion Tools: Utilities such as CCExtractor and MacCaption often use SCC as an intermediate format for converting between caption standards (e.g., converting CEA-608 to TTML or WebVTT).
Causes of Corruption and Data Loss
Because SCC files are plain text, they are less susceptible to binary corruption (like bit rot) than complex database or media files. However, they are vulnerable to logical and structural errors:
- Encoding Mismatches: If an SCC file is saved with an incorrect text encoding (e.g., UTF-8 with a BOM instead of standard ASCII/ANSI), the parsing software may fail to read the header or hex data correctly.
- Invalid Hex Codes: Manual editing or faulty conversion scripts can introduce invalid hexadecimal pairs that do not exist in the CEA-608 specification, causing playback systems to drop the caption stream or display garbage characters.
- Timecode Synchronization Issues: If the timecodes become non-sequential or exceed the frame rate standard (e.g., a frame value of 30 in a 29.97 fps project), the captions may appear out of sync or fail to display entirely.
- Format Drift: Improper concatenation of multiple SCC files can result in duplicate headers or misaligned tab delimiters, breaking the parser.
Data Recovery and Repair
Repairing a corrupt or unreadable SCC file generally involves text parsing and syntax validation.
Structure Validation
The first step in recovery is verifying the Scenarist_SCC header. If the file is binary data or lacks this header, it may have been mislabeled or corrupted by a transfer error. If the header is missing but the body contains valid timecode/hex pairs, manually restoring the header line often renders the file usable again.
Hex Code Sanitization
Recovery tools scan the hexadecimal fields to ensure they contain only valid pairs (00-FF and a-f). Invalid characters are often stripped or corrected. Advanced repair involves checking the sequence of control codes; for example, ensuring that a "Pop-on" command is properly followed by text and a "Display" command, rather than an immediate "Erase" command.
Timecode Reconstruction
If timecodes are corrupted but the hex data remains intact, recovery can sometimes be achieved by "burning in" the captions to a visual reference video to transcribe the timing, or by regenerating timecodes based on a known frame rate and the sequential order of the captions (assuming the file was not scrambled).
FAQ
What is the difference between SCC and SRT files?
SRT (SubRip) files are purely text-based and contain only the subtitle text and start/end timestamps. SCC files contain raw CEA-608 hex codes, which include positioning, styling, and formatting information (like roll-up or pop-on) that SRT does not support.
Can I open an SCC file in a text editor?
Yes, SCC files are plain text files. You can open them in Notepad, TextEdit, or any code editor. However, the "HexData" section will not look like English; it will look like computer code (e.g., 94ae 94a0 8080).
Why do my SCC captions show up as gibberish?
This usually happens if the software interpreting the SCC file expects a different caption standard (like CEA-708) or if the hex codes have been altered by a text editor that applied formatting (like smart quotes) to the file.
Is the SCC format obsolete?
While newer formats like TTML and WebVTT are dominant in web streaming, SCC remains the standard for broadcast television and physical media (Blu-ray/DVD) in North America due to its strict compliance with CEA-608 hardware decoders.
If you are experiencing issues with a Scenarist Closed Caption file or have a file that will not import into your authoring software, we invite you to submit your file for a free evaluation. Our team can analyze the structure and hex data to determine the feasibility of a full repair.
Send us your .scc file for a free evaluation
Our recovery engineers will tell you exactly what can be recovered — at no cost. There is no charge if we cannot recover your data.
Start a free evaluation