File format · .cak

Sega FILM/CPK (.CAK) File Format and Repair Guide

How Sega FILM .CPK and .CAK files are structured, why they stop playing, and what a repair can recover from damaged Cinepak video and PCM audio.


The .CAK extension belongs to Sega FILM, a proprietary multimedia container that Sega created for cinematic video in the early 1990s. Most files in this format circulate as .CPK, and the two extensions carry the same payload: Cinepak video interleaved with PCM audio. The layout targets a game engine, not a general media player. Our engineers repair these files for preservation projects, modders, and archive owners. This guide explains how the format works, why it fails, and what recovery can achieve.

A Sega container built for the console era

Sega designed FILM for its CD-based hardware in the Sega CD era, and it remained in use through the Saturn generation. It stored logos, cutscenes, and interactive sequences on game discs, and a number of Windows ports of Sega titles kept it as well. Sega never released a public specification. The MultimediaWiki's Sega FILM notes and the FFmpeg project's format documentation are the strongest public references.

Key facts at a glance:

  • Developer: Sega; extension registries credit Sega of America, Inc.
  • Category: game-oriented audio and video container
  • Common extensions: .CPK, with .CAK listed in extension databases
  • File signature: ASCII "FILM" (hex 46 49 4C 4D) in the first four bytes
  • Byte order: big-endian throughout
  • Video: Cinepak, identified by the codec tag "cvid"
  • Audio: signed PCM, with 8-bit samples in most documented files
  • MIME type: none registered; software identifies these files by signature
  • Related formats: Cinepak in AVI and QuickTime, CRI Sofdec (.SFD) video, and CRI's separate CPK archive format

Inside a Sega FILM file

A FILM file is a chain of chunks with big-endian lengths. It opens with a FILM chunk whose header states the overall header size. Next comes FDSC, the format descriptor, which names the video codec, almost always Cinepak, and records the audio parameters. STAB, the sample table, follows. It holds one entry per video frame or audio chunk, each with a type flag, a timestamp, an offset, and a size. Some Saturn builds multiply every offset by a constant stored in the table, a detail that breaks generic parsers.

The payload sits after these chunks, with Cinepak frames and audio data interleaved in the order the table describes. Playback depends on that table more than on anything else. The engine walks the entries in order, seeks to each offset, and hands the bytes to the decoders. This design is efficient on 1990s hardware, but a wrong offset sends the player into the middle of a frame. Damage to STAB therefore produces more dramatic failures than damage to the pixel data itself.

Why do .CAK and .CPK files stop playing?

Disc decay comes first. Most FILM files in circulation were pulled from discs pressed in the mid-1990s, and the media itself is now the prime suspect. Scratches, degraded reflective layers, and failing recordable discs destroy sectors that a long video sequence spans. One unreadable sector can end playback at that exact point.

Extraction errors are just as common. Saturn and Sega CD discs store data in Mode 2 sectors, and naive rippers keep all 2352 raw bytes per sector instead of the 2048 payload bytes. The result looks complete but carries framing garbage every few kilobytes. Interleaved streams and truncated ISO pulls cause similar damage.

Incomplete transfers truncate the tail, leaving sample table entries that point past the end of the file. Power loss during a copy, an interrupted download, or a failing drive can all produce this state. The player starts, then halts at the first missing chunk.

Human editing accounts for the rest. Fan translations and re-dubs open these files in hex editors, and a single wrong chunk length or offset desynchronizes audio and video. Forgetting the Saturn offset multiplier is a classic mistake. Overwritten headers round out the list.

What can be recovered from a damaged FILM file?

The outcome depends on which layer is broken. When the header survives but the sample table is damaged, we can usually rebuild the table and recover nearly everything. Cinepak frames and audio chunks have recognizable boundaries, so the entries can be regenerated. When the header is broken but the payload is intact, reconstructing the FILM and FDSC chunks and scanning for frame starts restores most of the content.

Truncated files yield everything up to the last complete frame. Cinepak inter-frames depend on earlier frames, so artifacts may echo forward until the next fully self-coded frame. The two streams are separable. Clean audio can often be salvaged from a file whose video is beyond repair, and vice versa.

Two limits are absolute. Bytes that no longer exist cannot be recreated, only reported as gaps. Sectors that were never read from the disc remain gone until the original disc is re-ripped with error reporting enabled. We will ask you to do that when it applies.

Our repair process for Sega FILM files

  1. Identification. We read the first bytes. "FILM" confirms Sega's format, "CPK " indicates CRI's unrelated archive, and a repeating 2352-byte pattern reveals a raw sector dump that needs re-processing. Each of those states calls for different handling, so this comes first.
  2. Header repair. We validate or rebuild the FILM and FDSC chunks, confirming the codec tag and audio parameters against the actual payload. The decoder trusts that descriptor, so it must match the bytes that follow.
  3. Table rebuild. We scan the payload for Cinepak frame boundaries and audio chunks, then regenerate STAB entries with correct offsets, sizes, timestamps, and the right offset multiplier. Playback walks this table entry by entry, so it must match the payload exactly.
  4. Verification. We decode the repaired file end to end with FFmpeg-based tooling and log every damaged frame and drop. That log becomes the report you receive.
  5. Delivery. You receive the repaired FILM for engine or mod use, plus a converted copy in a modern container such as MP4 for easy preview.

We will not invent frames to fill gaps. Where data is missing, the delivered file marks the gap or jumps to the next recoverable point, and our report tells you exactly what was lost.

Frequently asked questions

What is a .CAK file?

Extension databases list .CAK for Sega FILM, Sega's cinematic container from the 1990s. The same content almost always appears under .CPK. Either way, the file holds Cinepak video with PCM audio for in-game playback.

Is a Sega FILM .CPK the same as a CRI CPK archive?

No. CRI Middleware's CPK is a package format that bundles game assets, and it starts with the bytes "CPK ". Sega FILM starts with "FILM". Four bytes in a hex editor settle the question before any repair begins.

How can I play a Sega FILM file on a modern PC?

FFmpeg decodes the format directly, and a command such as ffmpeg -i opening.cpk repaired.mp4 converts a healthy file for any player. Tools built on FFmpeg's libraries can play it as well. If conversion fails on a file that should be intact, the file is damaged or mis-extracted rather than unsupported.

The picture breaks into blocks halfway through: is the file corrupt?

Often yes, but check the source first. Cinepak artifacts that begin at a fixed point suggest a damaged sector or a lost frame. Artifacts spread evenly across the whole file usually point to a raw-sector extraction problem. Re-ripping the disc settles it.

Can the audio be saved when the video cannot?

Usually. The streams interleave but do not depend on each other. We can demux the intact stream, repair its table entries, and deliver the audio on its own or paired with the surviving video.

Do you repair FILM files still inside a disc image?

Yes. Working from a .bin/.cue or ISO image often helps, because we can see sector-level problems that a pre-extracted file hides. If the image itself was built from bad sectors, we will tell you before attempting the FILM layer.

If a .CAK, .CPK, or FILM file refuses to play, send it to us for a free evaluation and we will tell you what is recoverable.

Send us your .cak 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