Answers.Body: <p>AVCHD Lite uses 25p/30p shooting rate and records it to 50p/60p container using frame doubling. Panasonic did that because, I presume, they were unable to shoot true 50p/60p at that time, on the other hand AVCHD and Blu-Ray specifications do not support 720p25 and 720p30 videos. Panasonic did this to stay compatible with the AVCHD format.</p>
  
  <p>I guess the reason was that this way you can author the original clips as-is onto AVCHD Disc or Blu-Ray Disc, and they will be fully compliant and playable by standard Blu-Ray Player.</p>
  
  <p>Nowadays a camera simply stores whatever it records in one of the standard containers like MP4, then you edit/author in whatever format you prefer. But ten years ago the compatibility between AVCHD and Blu-Ray was a selling point for both formats.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-31T18:56:25.323Z
Answers.LastActivityDate: 2018-05-31T18:56:25.323Z
Answers.UserDisplayName: Rusty Core
Body: <p>I have some footage shot with a <code>Lumix DMC-FZ38</code> with the video format set to <code>AVCHD</code> and the <code>SH</code> (super high?) quality setting.</p>
  
  <p>The manual says:</p>
  
  <blockquote>
    <p>[AVCHD Lite] (With audio)</p>
    
    <p>When set to [SH]: 1280x720 pixels</p>
    
    <p>(50p recording * /17 Mbps, only when card is used) /</p>
    
    <p>When set to [H]: 1280x720 pixels</p>
    
    <p>(50p recording * /13 Mbps, only when card is used) /</p>
    
    <p>When set to [L]: 1280x720 pixels</p>
    
    <p>(50p recording * /9 Mbps, only when card is used)</p>
    
    <p>*CCD output is at 25 fps</p>
  </blockquote>
  
  <p>I think <code>50p</code> means 50 progressive frames per second. According to advice given in the comments, CCD means "Charge Coupled Device", which is the type of sensor my camera uses. That would seem to indicate that the sensor outputs 25 frames per second.</p>
  
  <p>When I import a video from the camera (<code>00000.MTS</code>) into <code>Blender</code>'s <code>Video Sequence Editor</code> and tell it to use the frame rate from the video, it sets the project frame rate to 50fps. However, when I render it, the video plays at double speed, which seems to indicate that it was 25fps after all.</p>
  
  <p>If I extract PNGs from the first second of the video using <code>ffmpeg -i 00000.MTS -to 1 tmp%d.png</code>, it gives me 25 <code>png</code> files, indicating 25fps.</p>
  
  <p><code>ffprobe 00000.MTS</code> reports:</p>
  
  <pre><code>Input #0, mpegts, from '01.MTS':
    Duration: 00:29:58.18, start: 0.366667, bitrate: 14025 kb/s
    Program 1 
      Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 25 tbr, 90k tbn, 100 tbc
      Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
  </code></pre>
  
  <p>According to <a href="http://www.ffmpeg-archive.org/What-does-the-output-of-ffmpeg-mean-tbr-tbn-tbc-etc-td941538.html" rel="nofollow noreferrer">this mailing list</a>,</p>
  
  <blockquote>
    <p>tbr is guessed from the video stream and is the value users want to
    see when they look for the video frame rate, except sometimes it is
    twice what one would expect because of field rate versus frame rate.</p>
  </blockquote>
  
  <p>So <code>ffprobe</code> reports both 50 fps and 25 tbr. Here <code>tbr</code> is <strong>half</strong> of <code>fps</code>, not double. What's the distinction here?</p>
  
  <p>SMPlayer and VLC both report 50 frames per second.</p>
  
  <p>What is the actual frame rate of my footage?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-29T21:42:06.003Z
Comments.Text: CCD means charge-coupled device, a type of camera sensor. But you really should split this into two questions or change the title to emphasize your second question, since I suspect that is the more important one to you.
Comments.UserDisplayName: Michael Liebman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-30T03:35:20.673Z
Comments.Text: I changed the title, rephrased slightly, placing emphasis on the second question. I also added info about what SMPlayer, VLC and Blender does with the file in question.
Comments.UserDisplayName: rudolfbyker
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-30T05:37:34.720Z
Comments.Text: Run `ffmpeg -i 00000.MTS -vsync 0 -to 1 tmp%d.png` for an accurate count of no of frames in first second.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-30T06:35:04.143Z
Comments.Text: With or without `-vsync 0`, I get 25 `png` files.
Comments.UserDisplayName: rudolfbyker
Tags: <framerate>
Title: Is this video 50p or 25p?
UserDisplayName: rudolfbyker
ThreadText: # Is this video 50p or 25p?
  
  (Asked by: username_0 on 2018-03-29)
  
  I have some footage shot with a `Lumix DMC-FZ38` with the video format set to `AVCHD` and the `SH` (super high?) quality setting.
  
  The manual says:
  
  > [AVCHD Lite] (With audio)
  >
  > When set to [SH]: 1280x720 pixels
  >
  > (50p recording \* /17 Mbps, only when card is used) /
  >
  > When set to [H]: 1280x720 pixels
  >
  > (50p recording \* /13 Mbps, only when card is used) /
  >
  > When set to [L]: 1280x720 pixels
  >
  > (50p recording \* /9 Mbps, only when card is used)
  >
  > \*CCD output is at 25 fps
  
  I think `50p` means 50 progressive frames per second. According to advice given in the comments, CCD means "Charge Coupled Device", which is the type of sensor my camera uses. That would seem to indicate that the sensor outputs 25 frames per second.
  
  When I import a video from the camera (`00000.MTS`) into `Blender`'s `Video Sequence Editor` and tell it to use the frame rate from the video, it sets the project frame rate to 50fps. However, when I render it, the video plays at double speed, which seems to indicate that it was 25fps after all.
  
  If I extract PNGs from the first second of the video using `ffmpeg -i 00000.MTS -to 1 tmp%d.png`, it gives me 25 `png` files, indicating 25fps.
  
  `ffprobe 00000.MTS` reports:
  
  ```
  Input #0, mpegts, from '01.MTS':
    Duration: 00:29:58.18, start: 0.366667, bitrate: 14025 kb/s
    Program 1 
      Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 25 tbr, 90k tbn, 100 tbc
      Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
  
  ```
  
  According to [this mailing list](http://www.ffmpeg-archive.org/What-does-the-output-of-ffmpeg-mean-tbr-tbn-tbc-etc-td941538.html),
  
  > tbr is guessed from the video stream and is the value users want to
  > see when they look for the video frame rate, except sometimes it is
  > twice what one would expect because of field rate versus frame rate.
  
  So `ffprobe` reports both 50 fps and 25 tbr. Here `tbr` is **half** of `fps`, not double. What's the distinction here?
  
  SMPlayer and VLC both report 50 frames per second.
  
  What is the actual frame rate of my footage?
  
  **Tags:** framerate
  
  > **Comments:**
  > **username_1**: CCD means charge-coupled device, a type of camera sensor. But you really should split this into two questions or change the title to emphasize your second question, since I suspect that is the more important one to you.  
  > **username_0**: I changed the title, rephrased slightly, placing emphasis on the second question. I also added info about what SMPlayer, VLC and Blender does with the file in question.  
  > **username_2**: Run `ffmpeg -i 00000.MTS -vsync 0 -to 1 tmp%d.png` for an accurate count of no of frames in first second.  
  > **username_0**: With or without `-vsync 0`, I get 25 `png` files.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-05-31. Score: 2 | Accepted answer
  
  AVCHD Lite uses 25p/30p shooting rate and records it to 50p/60p container using frame doubling. Panasonic did that because, I presume, they were unable to shoot true 50p/60p at that time, on the other hand AVCHD and Blu-Ray specifications do not support 720p25 and 720p30 videos. Panasonic did this to stay compatible with the AVCHD format.
  
  I guess the reason was that this way you can author the original clips as-is onto AVCHD Disc or Blu-Ray Disc, and they will be fully compliant and playable by standard Blu-Ray Player.
  
  Nowadays a camera simply stores whatever it records in one of the standard containers like MP4, then you edit/author in whatever format you prefer. But ten years ago the compatibility between AVCHD and Blu-Ray was a selling point for both formats.
  
  
  ---
  
  