Answers.Body: <p>As <a href="https://video.stackexchange.com/users/3295/professor-sparkles">Professor Sparkles</a> has correctly pointed out (I've just checked and confirm) — the <a href="https://mediaarea.net/en/MediaInfo" rel="nofollow noreferrer">MediaInfo</a> tool can extract some metadata from these files. Here is a sample output from one of mine:</p>
  
  <pre><code>General
  Complete name                            : /Volumes/CAM_SD/PRIVATE/AVCHD/BDMV/CLIPINF/00119.CPI
  Format                                   : Blu-ray Clip info
  File size                                : 502 Bytes
  
  Video
  ID                                       : 4113 (0x1011)
  Format                                   : AVC
  Format/Info                              : Advanced Video Codec
  Width                                    : 1 920 pixels
  Height                                   : 1 080 pixels
  Display aspect ratio                     : 16:9
  Frame rate                               : 50.000 fps
  
  Audio
  ID                                       : 4352 (0x1100)
  Format                                   : AC-3
  Format/Info                              : Audio Coding 3
  Channel(s)                               : 2 channels
  Sampling rate                            : 48.0 KHz
  Compression mode                         : Lossy
  Language                                 : English
  
  Text
  ID                                       : 4608 (0x1200)
  Format                                   : PGS
  Language                                 : English
  </code></pre>
  
  <p>(But note that it can output more details in the --full mode.)</p>
  
  <p>Also, it may be helpful to note that the AVCHD standard is proprietary and its spec is not publicly available. Attempts to reverse-engineer its components exist, and one of them is in this forum thread (from 2008): <a href="http://forum.doom9.org/showthread.php?t=141361" rel="nofollow noreferrer">http://forum.doom9.org/showthread.php?t=141361</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-11T11:33:51.673Z
Answers.LastActivityDate: 2015-03-11T11:33:51.673Z
Answers.LastEditDate: 2017-04-13T12:46:08.110Z
Answers.UserDisplayName: Ivan Kurmanov
Body: <p>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:</p>
  
  <ol>
  <li>What metadata exists in these files? (both 'by the standard' and 'de facto', if there are differences)</li>
  <li>Are there any free/libre/open-source software tools that are able to extract this metadata from them?</li>
  </ol>
  
  <p>An example of such a file is <a href="https://dl.dropboxusercontent.com/u/1033657/00074.CPI" rel="nofollow">here</a>.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-12-10T19:23:42.433Z
Comments.Text: @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.
Comments.UserDisplayName: v010dya
Tags: <avchd><mpeg>
Title: What can be done with .CPI or .clpi files?
UserDisplayName: v010dya
ThreadText: # What can be done with .CPI or .clpi files?
  
  (Asked by: username_0 on 2013-12-10)
  
  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](https://dl.dropboxusercontent.com/u/1033657/00074.CPI).
  
  **Tags:** avchd, mpeg
  
  > **Comments:**
  > **username_0**: @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.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-03-11. Score: 3 | Accepted answer
  
  As [Professor Sparkles](https://video.stackexchange.com/users/3295/professor-sparkles) has correctly pointed out (I've just checked and confirm) — the [MediaInfo](https://mediaarea.net/en/MediaInfo) tool can extract some metadata from these files. Here is a sample output from one of mine:
  
  ```
  General
  Complete name                            : /Volumes/CAM_SD/PRIVATE/AVCHD/BDMV/CLIPINF/00119.CPI
  Format                                   : Blu-ray Clip info
  File size                                : 502 Bytes
  
  Video
  ID                                       : 4113 (0x1011)
  Format                                   : AVC
  Format/Info                              : Advanced Video Codec
  Width                                    : 1 920 pixels
  Height                                   : 1 080 pixels
  Display aspect ratio                     : 16:9
  Frame rate                               : 50.000 fps
  
  Audio
  ID                                       : 4352 (0x1100)
  Format                                   : AC-3
  Format/Info                              : Audio Coding 3
  Channel(s)                               : 2 channels
  Sampling rate                            : 48.0 KHz
  Compression mode                         : Lossy
  Language                                 : English
  
  Text
  ID                                       : 4608 (0x1200)
  Format                                   : PGS
  Language                                 : English
  
  ```
  
  (But note that it can output more details in the --full mode.)
  
  Also, it may be helpful to note that the AVCHD standard is proprietary and its spec is not publicly available. Attempts to reverse-engineer its components exist, and one of them is in this forum thread (from 2008): <http://forum.doom9.org/showthread.php?t=141361>
  
  
  ---
  
  