Answers.Body: <p>No, there is no sweet spot for compression, whether it is on a camera or in encoding after the fact.  The needed data rate depends heavily on the content being recorded and is a complex field, though the best bet to handle it simply is to try adjusting it and decide when it works for your needs.  You can eventually get an idea of the quality from each bitrate for your camera, but we can't really give you guidelines as both noise level and the particular encoder used by your camera will also impact the way things turn out.</p>
  
  <p>One important caveat to keep in mind when dealing with compression on a camera is that if you are going to edit the footage, you want to make sure you use a high enough quality that re-compressing after editing does not result in quality loss either.  With lossy compression, each additional compression results in further quality loss and a video that looks fine initially may fall apart when compressed for final output.  The larger your source videos are, the smaller you are likely to be able to compress your final video to.  You may also want to shoot All-I if it is an option because this format is far more efficient in editing software than compressions that are group of picture based (IPB), though they also take far more space to get good quality.</p>
  
  <p>Also, you say that 14MBps is obviously too high, but I would challenge you that it is not obviously too high.  Uncompressed, 1080p video at 24fps would still take 150MBps or 1194mbps.  You are still compressing over 90% at 14MBps.  Bluray will often use in the neighborhood of 35 to 50mbps which is still up to almost half of the 112mbps data rate you quoted as the max.  Particularly if that is All-I, 112mbps is not an unexpectedly high value at all.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-13T01:21:53.013Z
Answers.Text: Wow, I wasn't aware how large uncompressed 1080p actually is. My camera is encoding H264, but I'm pretty sure, since it runs onboard a tiny consumer camera, that the compression level is much lower than H264 encoded on a Desktop PC with lots of CPU power. Therefore, it might well be that 112mbps from my camera looks equal to a proper 50mbps encode.
Answers.UserDisplayName: LTR
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-13T05:38:23.897Z
Answers.Text: @LTR - exactly, single pass encoding on a camera in real-time isn't going to be as good at compressing as something like a 2 pass encoder that can run sub-realtime in order to maximize quality.
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-12T15:02:19.857Z
Answers.LastActivityDate: 2014-12-12T15:02:19.857Z
Answers.UserDisplayName: AJ Henderson
Body: <p>I'm using a Powershot S100 with CHDK.
  The default video bitrate of the S100 is around 4 MByte/sec at the highest quality.
  Using CHDK and the options "Mode=Quality" and "Quality=99", you can get 14MByte/sec video.  </p>
  
  <p>I just did a quick test with a low-light scene.
  The noise leads to blocking in the 4MByte/sec version. In the 14MByte/sec version, the noise is much crisper, and the blocking is gone.</p>
  
  <p>I wonder is there a sweet spot here? 14MByte/sec is clearly too much to store, but looks better than 4MByte. Is there a particular quality level I should choose?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-12T14:47:51.647Z
Comments.Text: More likely too broad.  I have edited to hopefully prevent it from being too broad.
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-12T14:57:44.787Z
Comments.Text: do you actually mean MBps and not mbps?  Codec data rates are almost exclusively given in mbps normally, which is bits, not bytes.
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-13T01:18:50.300Z
Comments.Text: Yes, it's actually megabyte, these are values I calculated from the filesize. 14 MByte per Second is therefore 112 MBit.
Comments.UserDisplayName: LTR
Tags: <video><compression>
Title: CHDK on Canon Powershot S100: Is there a Video Bitrate sweet spot?
UserDisplayName: LTR
ThreadText: # CHDK on Canon Powershot S100: Is there a Video Bitrate sweet spot?
  
  (Asked by: username_0 on 2014-12-11)
  
  I'm using a Powershot S100 with CHDK.
  The default video bitrate of the S100 is around 4 MByte/sec at the highest quality.
  Using CHDK and the options "Mode=Quality" and "Quality=99", you can get 14MByte/sec video.
  
  I just did a quick test with a low-light scene.
  The noise leads to blocking in the 4MByte/sec version. In the 14MByte/sec version, the noise is much crisper, and the blocking is gone.
  
  I wonder is there a sweet spot here? 14MByte/sec is clearly too much to store, but looks better than 4MByte. Is there a particular quality level I should choose?
  
  **Tags:** video, compression
  
  > **Comments:**
  > **username_1**: More likely too broad.  I have edited to hopefully prevent it from being too broad.  
  > **username_1**: do you actually mean MBps and not mbps?  Codec data rates are almost exclusively given in mbps normally, which is bits, not bytes.  
  > **username_0**: Yes, it's actually megabyte, these are values I calculated from the filesize. 14 MByte per Second is therefore 112 MBit.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-12-12. Score: 1
  
  No, there is no sweet spot for compression, whether it is on a camera or in encoding after the fact. The needed data rate depends heavily on the content being recorded and is a complex field, though the best bet to handle it simply is to try adjusting it and decide when it works for your needs. You can eventually get an idea of the quality from each bitrate for your camera, but we can't really give you guidelines as both noise level and the particular encoder used by your camera will also impact the way things turn out.
  
  One important caveat to keep in mind when dealing with compression on a camera is that if you are going to edit the footage, you want to make sure you use a high enough quality that re-compressing after editing does not result in quality loss either. With lossy compression, each additional compression results in further quality loss and a video that looks fine initially may fall apart when compressed for final output. The larger your source videos are, the smaller you are likely to be able to compress your final video to. You may also want to shoot All-I if it is an option because this format is far more efficient in editing software than compressions that are group of picture based (IPB), though they also take far more space to get good quality.
  
  Also, you say that 14MBps is obviously too high, but I would challenge you that it is not obviously too high. Uncompressed, 1080p video at 24fps would still take 150MBps or 1194mbps. You are still compressing over 90% at 14MBps. Bluray will often use in the neighborhood of 35 to 50mbps which is still up to almost half of the 112mbps data rate you quoted as the max. Particularly if that is All-I, 112mbps is not an unexpectedly high value at all.
  
  > **Comments:**
  > **username_0**: Wow, I wasn't aware how large uncompressed 1080p actually is. My camera is encoding H264, but I'm pretty sure, since it runs onboard a tiny consumer camera, that the compression level is much lower than H264 encoded on a Desktop PC with lots of CPU power. Therefore, it might well be that 112mbps from my camera looks equal to a proper 50mbps encode.  
  > **username_1**: @username_0 - exactly, single pass encoding on a camera in real-time isn't going to be as good at compressing as something like a 2 pass encoder that can run sub-realtime in order to maximize quality.  
  
  ---
  
  