Showing posts with label Video Compression. Show all posts

Resolution Height = p (in Pixels)
Bitrate Standard = Mb/min (in Megabytes/minute)
Audio Bitrate/Video Bitrate = 16/100 Ratio

x264 Encoder, H.264 Codec, Advanced Video Coding (AVC)
Bitrate = Resolution Height x 0.161KiloByte/second
480p - 4.5Mb/min
720p - 6.8Mb/min
1080p - 10.6Mb/min
2160p - 21.2Mb/min

x265 Encoder, H.265 Codec, High Efficiency Video Coding (HEVC)
Bitrate = Resolution Height x 0.0918KiloByte/second
480p - 2.6Mb/min
720p - 3.9Mb/min
1080p - 6Mb/min
2160p - 12Mb/min

Compression Settings -

  1. Video Codec - H.265, (x265), HEVC
  2. Framerate - Same as source (Variable Framerate)
  3. Quality RF (RateFactor) - 18
  4. x265 Preset - Placebo
  5. Audio Codec - HE-AAC (FDK)

Terminologies -

  1. Codec – This is a method that your computer uses to decide on the amount of change that occurs between frames.
  2. Keyframe – This is a reference frame. The codec will determine a keyframe every few frames. This is the base frame for the next few frames of change. Your keyframe interval will have a large impact on the size of your finished file. Lots of keyframes will make the file large but higher quality. Infrequent keyframes will leave lots of artifacts.
  3. Artifacts - These are blocky pieces of image that are the result of the keyframe not being updated correctly. The lower the quality of the compression, the more artifacts that will appear.
  4. Bit/data rate - This is the amount of data that each second of video uses. Typically, this is measured in kilobits per second. Bit rates can be either Constant or Variable. A constant bit rate stays the same throughout the video, which can lead to larger video files. A variable bit rate changes depending on the amount of action on the screen, which will lead to smaller files.
  5. Variable bit rates can decrease quality if the bit rate does not change dynamically enough with the video. Experiment with both bit rates to find a balance between size and acceptable quality.
  6. Frame rate – this is the number of frames per second. Videos are typically shot in 24 or 30 frames per second. Keep the compressed copy’s frame rate the same otherwise playback will be affected and audio may not sync properly.
  7. Resolution – This is the size of the outputted video. It is measured in pixels, width x height.


References -

http://x265.org/
https://ericolon.wordpress.com/2013/01/06/the-secrets-of-yify-and-high-quality-and-small-file-sizes-are-not-so-secret-after-all-encoding-high-quality-low-bitrate-videos-in-handbrake-for-any-device/
http://en.wikipedia.org/wiki/High_Efficiency_Video_Coding
http://www.wikihow.com/Compress-Video
Powered by Blogger.