Perform Measures

The measurement process consists of four steps.

Preparation

This step allows you to prepare the Reference video from the Input video, to ensure that the rest of the process runs well.

This step specifically ensures the reference video:

  • is encoded with the lossless ffv1 codec

  • has square pixels (1:1 ratio)

  • is encoded in the correct colour space with consistent associated metadata

  • is encoded at standard resolution and framerate

  • is in 8-bit or 10-bit YUV420 pixel format

  • is perfectly resized without distortion or aliasing

mendevi prepare video.y4m

To see all available options, type

mendevi prepare --help

Encode

This phase consists of transcoding the reference video in many different ways and measuring the machine’s activity during this encoding process.

mendevi encode reference*

To see all available options, type

mendevi encode --help

Probe

This phase calculates the various metrics and properties of a transcoded video.

mendevi probe reference* sample*

To see all available options, type

mendevi probe --help

Decode

This phase consists of measuring the machine’s activity during video decoding.

mendevi decode reference* sample*

To see all available options, type

mendevi decode --help