Codec

Video Codec

  • AVC (H.264): Widely used, good balance of compression and quality.
  • HEVC (H.265): Improved compression over H.264, supports 4K/8K.
  • VP8/VP9: Open-source alternatives, VP9 supports 4K.
  • AV1: Open-source, efficient, designed for internet streaming.
  • MPEG-2: Older, used for DVDs and digital TV.
  • MPEG-4 Part 2: Used in early internet video, now less common.

Video Encoder

https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_compression/isaac_ros_h264_encoder/index.html#api

Ran into this while I while trying to compress images for MIT-PITT-RW.

CQP = Constant Quantization parameter

iframe_cqp (I-Frame Constant Quantization Parameter):

  • This preset focuses on encoding I-frames (Intra-coded frames) using a constant quantization parameter (QP).
  • I-frames are keyframes in video encoding that contain all the data needed to display that frame, without relying on any data from other frames.
  • The iframe_cqp setting is typically used when you want each frame to be encoded independently, allowing for better random access and error recovery since each frame is a potential entry point.
  • However, this can result in larger file sizes because I-frames generally take up more space than P-frames or B-frames (Predicted frames or Bi-predictive frames).

pframe_cqp (P-Frame Constant Quantization Parameter):

  • This preset is oriented towards encoding P-frames using a constant QP.
  • P-frames are predictive frames that use data from previous frames (I-frames or other P-frames) to reduce the amount of data required to represent the frame.