Answers.Body: <p>As it seems both videos have a bitrate of 118 (117) megabits per second.
  This means - regardless off any other parameter - your video will take up 118 mb for each recorded second.</p>
  
  <p>But as you already noted, a video with double the FPS should have double the data, so if you originaly exported the 4k60 video with 118, you can export the 4k30 video with 57mb/s and gain about the same quality.
  There's more to it like diffrent codecs optimized for diffrent types of videos or Interframe Compression, so you can compress high FPS a bit easier. It is recommendable to go slightly above the half.</p>
  
  <p>Keep in mind, that many consumer cameras tend to have a low bitrate for high FPS as the camera is not able to record more.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-19T09:24:56.470Z
Answers.Text: So is it okay to consider that 118 mbps is divided into 60 for 60 FPS and 30 for 30 FPS? Can I assume that 60 FPS video has lower per-frame quality than 30 FPS video? Is this assumption right?
Answers.UserDisplayName: badhanganesh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-19T13:06:32.263Z
Answers.Text: `a video with double the FPS should have double the data`: that's not exactly true, because when using codecs that support inter-frame compression doubling the frames while keeping the same number of I-frames only produces little difference on the output size
Answers.UserDisplayName: mcont
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-20T00:49:56.013Z
Answers.Text: @BadhanGanesh Kinda yes, but as mcont already noted, there's a bit more toonit like Interframe compression which works a bit better with higher FPS. It is diffrent from codec to codec, but generally, you will get about half as much + a bit more data from half the FPS.
Answers.UserDisplayName: Timothy Lukas H.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-19T09:15:07.637Z
Answers.LastActivityDate: 2019-07-20T00:51:53.823Z
Answers.LastEditDate: 2019-07-20T00:51:53.823Z
Answers.UserDisplayName: Timothy Lukas H.
Body: <p>I am using <a href="https://apps.apple.com/us/app/promovie-recorder/id1076481548" rel="nofollow noreferrer">ProMovie Recorder</a> to record high quality videos using iPhone X, and I noticed a weird thing today.</p>
  
  <h3>Here's what I did:</h3>
  
  <ol>
  <li>I recorded a <strong>4K 60fps</strong> video for <strong>6</strong> seconds (HEVC encoding).</li>
  <li>I recorded a <strong>4K 30fps</strong> video for <strong>6</strong> seconds (HEVC encoding).</li>
  <li>Both the above videos captured the same physical content.</li>
  <li>Both videos were captured with the same bit-rate, <strong>~118 Mbps</strong>.</li>
  </ol>
  
  <h3>Here's what I found:</h3>
  
  <ol>
  <li>The two videos I captured <em>(with different fps)</em> are of the same file size - <strong>84MB</strong>. How? Why?</li>
  </ol>
  
  <p><a href="https://i.sstatic.net/imvai.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/imvai.jpg" alt="enter image description here"></a></p>
  
  <hr>
  
  <h1>Question</h1>
  
  <blockquote>
    <p>A higher frame rate video with same bit-rate as that of a video with
    lower frame rate should be double the file size, shouldn't it?</p>
    
    <p>Why isn't there a difference in file size? More the number of frames
    will lead to more the file size, since we're storing extra 30 frames
    for every second, right? Or is the underlying HEVC encoding optimises the file
    size for higher frame rate videos?</p>
    
    <p>Or, can slight differences in exposure cause significant file size difference?</p>
    
    <p>Please correct/clarify.</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-18T15:48:45.140Z
Comments.Text: `Bitrate` is set and measured per second of media duration, not per some number of frames. So, the fps doesn't matter.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-18T16:10:41.310Z
Comments.Text: Thanks. So it won’t make a difference even if the frame rate is like, 1000fps?
Comments.UserDisplayName: badhanganesh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-18T16:15:25.323Z
Comments.Text: In theory, no. In practice, it depends on how well the encoder's rate-control works. At 1000 fps, an encoder in normal circumstances would force many keyframes, and it would be hard to keep to the limit. But notionally, yes, the fps doesn't matter.
Comments.UserDisplayName: Gyan
Tags: <encoding><video-quality><framerate><compression><h.265>
Title: Why both videos are of same file size?
UserDisplayName: badhanganesh
ThreadText: # Why both videos are of same file size?
  
  (Asked by: username_0 on 2019-07-18)
  
  I am using [ProMovie Recorder](https://apps.apple.com/us/app/promovie-recorder/id1076481548) to record high quality videos using iPhone X, and I noticed a weird thing today.
  
  ### Here's what I did:
  
  1. I recorded a **4K 60fps** video for **6** seconds (HEVC encoding).
  2. I recorded a **4K 30fps** video for **6** seconds (HEVC encoding).
  3. Both the above videos captured the same physical content.
  4. Both videos were captured with the same bit-rate, **~118 Mbps**.
  
  ### Here's what I found:
  
  1. The two videos I captured *(with different fps)* are of the same file size - **84MB**. How? Why?
  
  [![enter image description here](https://i.sstatic.net/imvai.jpg)](https://i.sstatic.net/imvai.jpg)
  
  ---
  
  # Question
  
  > A higher frame rate video with same bit-rate as that of a video with
  > lower frame rate should be double the file size, shouldn't it?
  >
  > Why isn't there a difference in file size? More the number of frames
  > will lead to more the file size, since we're storing extra 30 frames
  > for every second, right? Or is the underlying HEVC encoding optimises the file
  > size for higher frame rate videos?
  >
  > Or, can slight differences in exposure cause significant file size difference?
  >
  > Please correct/clarify.
  
  **Tags:** encoding, video-quality, framerate, compression, h.265
  
  > **Comments:**
  > **username_1**: `Bitrate` is set and measured per second of media duration, not per some number of frames. So, the fps doesn't matter.  
  > **username_0**: Thanks. So it won’t make a difference even if the frame rate is like, 1000fps?  
  > **username_1**: In theory, no. In practice, it depends on how well the encoder's rate-control works. At 1000 fps, an encoder in normal circumstances would force many keyframes, and it would be hard to keep to the limit. But notionally, yes, the fps doesn't matter.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-07-19. Score: 2 | Accepted answer
  
  As it seems both videos have a bitrate of 118 (117) megabits per second.
  This means - regardless off any other parameter - your video will take up 118 mb for each recorded second.
  
  But as you already noted, a video with double the FPS should have double the data, so if you originaly exported the 4k60 video with 118, you can export the 4k30 video with 57mb/s and gain about the same quality.
  There's more to it like diffrent codecs optimized for diffrent types of videos or Interframe Compression, so you can compress high FPS a bit easier. It is recommendable to go slightly above the half.
  
  Keep in mind, that many consumer cameras tend to have a low bitrate for high FPS as the camera is not able to record more.
  
  > **Comments:**
  > **username_0**: So is it okay to consider that 118 mbps is divided into 60 for 60 FPS and 30 for 30 FPS? Can I assume that 60 FPS video has lower per-frame quality than 30 FPS video? Is this assumption right?  
  > **username_3**: `a video with double the FPS should have double the data`: that's not exactly true, because when using codecs that support inter-frame compression doubling the frames while keeping the same number of I-frames only produces little difference on the output size  
  > **username_2**: @BadhanGanesh Kinda yes, but as username_3 already noted, there's a bit more toonit like Interframe compression which works a bit better with higher FPS. It is diffrent from codec to codec, but generally, you will get about half as much + a bit more data from half the FPS.  
  
  ---
  
  