Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restoration tips: Kush Gauge™
#1
KUSH GAUGE

What is the Kush Gauge™?

It’s a rule of thumb to calculate the needed bitrate for H.264 encoded video; it was written by Kush Amerasinghe, a computer scientist. In this context, the word “gauge” means “a device used to make measurements

How does it work?

Quoting Kush’s document:
to estimate the optimal H.264 bit rate value that would give what is considered “good quality” results for a given video, you could multiply the target pixel count by the frame rate; then multiply the result by a factor of 1, 2 or 4, depending on its motion rank; and then multiply that result by 0.07 (the constant, Ed.) to get the bit rate in bps (divide that by 1,000 to get a kbps estimate or by 1,000,000 to get a Mbps estimate).

The Kush Gauge™ formula:

width x height x FPS x motion rank x constant = final bitrate in bps

Practical example:

1280 × 720 @24fps, medium motion (rank 2):
1280 × 720 × 24 × 2 × 0.07 = 3,096,576 bps = ~ 3000 kbps

What is the motion rank?

The amount of motion could be called “motion rank”; from Kush’s document:
As a general rule, try to simplify it into three ranks: Low, Medium, High. To define these ranks in real-world terms:
• Low motion is a video that has minimal movement. For example, a person talking in front of a camera without moving much while the camera itself and the background is not moving at all.
• Medium motion would be some degree of movement, but in a more predictable and orderly manner, which means some relatively slow camera and subject movements, but not many scene changes or cuts or sudden snap camera movements or zooms where the entire picture changes into something completely different instantaneously.
• High motion would be something like the most challenging action movie trailer, where not only the movements are fast and unpredictable but the scenes also change very rapidly.

the motion rank values are as following:
  • 1 for low motion (e.g. news)
  • 2 for medium motion (e.g. movie)
  • 4 for high motion (e.g. sport)
Note: I think that for action movies a motion rank of 3 could be a good value to use.

What’s about the constant:

from Kush’s document:
I sought to develop a base number … (that) can produce real-world bit-rate estimates. After numerous experiments, I noticed a certain pattern of what could be considered a “constant” or base value (for most commonly used video frame-size and frame-rate ranges). When rounded off, that value is 0.07 bps per pixel, per frame, per motion rank value.



Reference (PDF documents): H.264 FOR THE REST OF US (page 21)



IMPORTANT! Updates here: Restoration tips: Andrea’s Corollary to the Kush Gauge™
Sadly my projects are lost due to an HDD crash... Sad
Fundamental Collection | Vimeo channel | My blog
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Kush Gauge Calculator spoRv 7 4,037 2019-05-11, 05:18 AM
Last Post: spoRv
  Restoration tips: Axis-Aligned Polygon Aspect Ratio™ (a.k.a. UAR™) spoRv 39 32,587 2019-02-03, 03:12 AM
Last Post: CaveDoctor
  Restoration tips: DaLucc™ spoRv 4 3,254 2019-01-16, 01:48 AM
Last Post: CaveDoctor
  Restoration tips: De-Dutch™ spoRv 5 3,058 2018-04-12, 02:55 AM
Last Post: spoRv
  Restoration tips: analog capture spoRv 9 7,366 2018-03-29, 05:02 PM
Last Post: Jetrell Fo
  Restoration tips: PaNup™ spoRv 59 44,922 2018-03-09, 01:30 AM
Last Post: spoRv
  Restoration tips: the Slice Technique™ spoRv 1 3,724 2018-03-07, 07:42 AM
Last Post: spoRv
  Restoration tips: De-logo Patch Technique™ spoRv 10 7,716 2018-02-05, 06:18 PM
Last Post: Colek
  Restoration tips: HD matrix surround™ spoRv 10 9,667 2017-11-07, 02:35 PM
Last Post: TomArrow
  Restoration tips: Overlap matching spoRv 14 10,230 2017-09-06, 07:46 AM
Last Post: spoRv

Forum Jump:


Users browsing this thread: 1 Guest(s)