.CPI

CPI File

AVCHD Clip Information File
Ask a question
QUICK ANSWER

A CPI file is an AVCHD Clip Information file - a small metadata sidecar that your camcorder writes next to each recorded video clip. It holds no video itself; the actual footage is in the matching .MTS or .M2TS file. To play the video, open the .MTS file in VLC. To edit, import the whole AVCHD folder into PowerDirector, Premiere Pro, or another video editor.

Developer: Sony/Panasonic - AVCHD standard Category: Video Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .DAV · .MKV · .MP4 · .H264

On this page

19k+ extensions indexed
Last reviewed Jun 17, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the CPI file format?

A .cpi file contains information about a video stream and the metadata that describe it - it does not hold any video or audio data itself. .cpi files are sidecar files within the proprietary AVCHD structure used by High Definition digital cameras from Sony, Panasonic, and other manufacturers.

The AVCHD folder hierarchy places .cpi files inside a CLIPINF subfolder, while the matching video clip is stored as an .MTS file in the STREAM subfolder. Each .cpi file corresponds one-to-one with a .mts clip and carries structured binary metadata such as:

  • Video-related information:
  • Frame rate (frames per second)
  • Image aspect ratio
  • Resolution (width and height in pixels)
  • Stream format and ID
  • Audio-related information:
  • Audio compression codec
  • Sampling rate
  • Number of channels
  • Stream ID and format

.cpi files begin with an HDMV ASCII tag at byte offset 0 - a header also shared with .CLPI Blu-ray clip information files - followed by a version identifier that varies by recorder generation.

The .cpi format was developed jointly by Sony and Panasonic as part of the AVCHD standard. .cpi files are essential when playing back footage on the original camera or when importing into applications such as Final Cut Pro or iMovie that expect a complete AVCHD folder structure, including the clipinf directory. If only a single .mts clip needs to be opened or transcoded directly, the associated .cpi file is usually not required.

Security & safety

RISK: LOW

An AVCHD .cpi is an inert metadata file written by your own camcorder - no executable content, low risk. The only practical hazard is user error: do NOT delete or rename .cpi (or the BDMV/CLIPINF folders) on the card, because some editors rely on them to import, and breaking the AVCHD structure can make footage hard to ingest. A .cpi appearing somewhere odd with a double extension (e.g. file.cpi.exe) would be the only thing to treat with suspicion.

Format details

in a nutshell
FULL NAMEAVCHD Clip Information File
DEVELOPERSony/Panasonic - AVCHD standardsince 2006 (Sony/Panasonic AVCHD camcorder standard)
CATEGORYVideo Files
MIME TYPEapplication/octet-stream
TYPEAVCHD clip metadata sidecar (binary)
This extension is also used by…
  • DOS Code Page Information file - Unrelated MS-DOS/Windows binary holding bitmap console fonts for character sets (e.g. EGA.CPI); a normal system file, not media.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
48444D56
ASCII
HDMV
AVCHD clip-information files in the BDMV/CLIPINF folder begin with an ASCII type tag - commonly "HDMV" - followed by a version. The tag can vary by recorder generation, so identify by the camcorder folder structure (PRIVATE/AVCHD or BDMV) as much as by the magic bytes.

Programs that open CPI files

Windows5 apps
Adobe Premiere Pro Paid Use Media Browser → navigate to the AVCHD/BDMV root → import; Premiere uses the clip metadata to bring in the .m2ts streams correctly.
VLC media player Open-source You don't open the .cpi - open the matching .MTS/.M2TS in the STREAM folder; VLC plays AVCHD video directly without needing the clip-info file.
Cyberlink PowerDirector Paid Import the whole AVCHD folder (PRIVATE/AVCHD or BDMV) - PowerDirector reads the .cpi/.mpls to assemble clips for editing.
Vegas Pro Paid Import the AVCHD folder; VEGAS (formerly Sony Vegas, now MAGIX) reads AVCHD clip info to edit camcorder footage.
Corel VideoStudio Paid Import from the AVCHD camera/folder; reads clip info to manage the imported clips.
macOS3 apps
VLC media player Open-source Open the matching .MTS/.M2TS directly to play AVCHD footage; no need to handle the .cpi.
Apple Final Cut Pro Paid Import from the AVCHD folder/camera; Final Cut reads AVCHD metadata and transcodes the clips for editing.
iMovie Built-in Use Import Media and point it at the AVCHD camera/folder; iMovie ingests the clips using the AVCHD structure.
Linux2 apps
VLC media player Open-source Play the .MTS/.M2TS streams directly; VLC handles AVCHD video on Linux too.
Kdenlive Open-source Add the .mts/.m2ts clips from the AVCHD folder to the project; Kdenlive edits the video (it relies on the streams, not the .cpi itself).

Technical details

deep spec
Format typeBinary metadata sidecar (not a video or audio container)
Magic bytes0x48 44 4D 56 (ASCII "HDMV") at byte offset 0
MIME typeapplication/octet-stream
Folder locationBDMV/CLIPINF/ within the AVCHD directory tree (e.g., PRIVATE/AVCHD/BDMV/CLIPINF/ on an SD card)
File naming conventionFive-digit zero-padded index, e.g., 00001.CPI, mirroring the companion .MTS clip name
Companion clip formatOne-to-one pairing with an .MTS clip stored in the BDMV/STREAM/ subfolder
Video metadata storedFrame rate, display resolution (width x height), aspect ratio, video stream format and ID
Audio metadata storedAudio codec, sampling rate, channel count, audio stream ID and format
Version identifierTwo-byte version field immediately following the HDMV tag; value varies by camera firmware generation
EncodingFixed-length binary record structure; not XML or plain text
Typical file sizeA few kilobytes per clip (metadata only - no video or audio essence)
Required for camera playbackYes - camera firmware reads the CLIPINF .CPI to display clip thumbnails and stream properties
Required for NLE importNecessary for AVCHD folder-based import in Final Cut Pro, iMovie, and Premiere Pro; not required to decode a standalone .MTS stream
Co-developed bySony Corporation and Panasonic as part of the jointly authored AVCHD specification
Released2006 (Sony/Panasonic AVCHD camcorder standard)
Specificationen.wikipedia.org

CPI conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with CPI files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about CPI files.

Frequently asked questions

What is a CPI file from my camcorder?
It's an AVCHD Clip Information file - a small metadata sidecar describing the matching video clip (resolution, frame rate, seek points). The actual video is the .MTS/.M2TS file with the same name; the .cpi has no video in it.
How do I open or play a CPI file?
You don't play the .cpi itself. Play the matching .MTS/.M2TS in VLC, or import the whole AVCHD folder (PRIVATE/AVCHD or BDMV) into a video editor like PowerDirector, Premiere Pro, VEGAS, iMovie or Final Cut, which read the .cpi automatically.
I lost my video and only have the .cpi file - can I recover it?
Not from the .cpi alone - it contains only metadata, not video. The footage lives in the .MTS/.M2TS streams; if those are gone, use data-recovery software on the memory card to recover the stream files, then the clip info becomes usable again.
Why does my editor need the whole AVCHD folder and not just the .mts file?
AVCHD spreads video, clip info (.cpi) and playlists (.mpls) across the BDMV folder tree. Many editors import via the AVCHD/BDMV root so they can read that metadata; if you copied only the .mts files, import them directly into VLC or an editor that accepts loose .mts clips.
Can I convert a CPI file to MP4?
Not the .cpi itself - convert the video it points to. Open the matching .MTS/.M2TS in HandBrake or VLC and export MP4. Since AVCHD is H.264, this is often a fast remux.

References

1Wikipedia - AVCHD (folder structure, clip information)en.wikipedia.org
2VideoLAN - VLC media player (plays AVCHD/MTS)www.videolan.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.MDMarkdown Document
3.CRDOWNLOADChrome Partial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.DAVDVR365 / Dahua DVR Video File (DHAV stream)
.MKVMatroska Video
.MP4MPEG-4 Part 14 Video File
.H264Raw H.264 / AVC Video Elementary Stream
.VOBDVD Video Object File
.264Raw H.264 / AVC Video Elementary Stream (DVR/CCTV export)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z