Why convert CPI to TXT?
A .cpi file stores technical metadata - resolution, frame rate, seek points - but no readable prose or document content. The only practical reason to extract text from it is inspection or logging of clip attributes, such as checking what resolution or frame rate the camcorder recorded, without opening a full video editor.
How to convert CPI to TXT
MediaInfo FREE
Drag the .mts file from the AVCHD STREAM folder onto MediaInfo, switch the view to Text, then go to File > Export > Text file to save a .txt report.
ffprobe FREE
Run ffprobe on the .mts file with JSON output format and redirect to a .txt file for a structured metadata report of all stream attributes.
About these formats
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…
Open .CPI details →A TXT file is plain, unformatted text - the simplest document format on any computer. Double-click it: Windows opens it in Notepad, macOS in TextEdit, Linux in gedit. Nothing to install. If…
Open .TXT details →Quality & what to watch
- The
.cpifile is a binary sidecar starting with the ASCII tagHDMV; its entry-point table data is meaningless without the matching video stream. - If the
.mtsis gone and only the.cpiremains, you cannot recover the video - the clip info describes the stream but does not contain it. - The
.cpiused in AVCHD camcorders is unrelated to the DOS Code Page Information file (also.cpi) used in older Windows systems for console fonts.
Frequently asked questions
Why does MediaInfo show more information from the `.mts` than the `.cpi`?
.mts is the actual video stream; the .cpi is a small index file with limited metadata fields - the full technical picture is always in the stream.Is there a dedicated CPI-to-TXT converter?
.mts file covers everything the .cpi describes.