Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

In BDAV's M2TS there are .clpi files, in AVCHD the same files are labeled as .CPI. As i understand, some sort of metadata is written into these files. The question is twofold:

  1. What metadata exists in these files? (both 'by the standard' and 'de facto', if there are differences)
  2. Are there any free/libre/open-source software tools that are able to extract this metadata from them?

An example of such a file is here.

share|improve this question
    
@BartArondson, Interesting link, but that is talking about something that is within the m2ts file itself, some sort of switch in a stream, for me CPI files are getting generated by my camcoder, i have definitely set no copyright protection on anything. –  Volodya Dec 10 '13 at 19:23
add comment

1 Answer 1

Did some quick research on the Internet and found this:

File extension CPI is AVCHD Video Clip Information File. The AVCHD directory contains a folder for clipinfo which contains one .cpi file for each .mts file in the stream folder. cpi (clip info) contains various contains metadata describing an AVCHD video stream, such as the frame rate, frames per second, and aspect ratio. The video and audio is stored in the mts/m2ts (Transport Stream) files.

Source: http://www.pavtube.com/avchd-cpi-file-format.html

It would appear that basic metadata about the camera (frame rate, aspect ratio, etc.) is saved in this format. You might be able to use ffdshow (open source) or similar to extract the metadata.

share|improve this answer
    
Ffdshow, as i understand it, is a Windows only package. I could try it out under wine of course, but can somebody with Windows confirm that it does actually report something like that from the file i've added as an example. –  Volodya Jan 8 at 6:40
    
MediaInfo should be able to handle these files aswell. –  Professor Sparkles Jun 3 at 23:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.