Skip to main content

Video encoding and decoding measures.

Project description

[license GPL] [linting: pylint] [versions] [downloads] [documentation]

Useful links: Binary Installers | Source Repository | Online Documentation |

Description

This module performs energy and metrics measurements on video, for encoding and decoding. It also provides a detailed dataset.

It manages the following parameters:

  1. It supports the libx264, libx265, libvpx-vp9, libaom-av1, libsvtav1, librav1e and vvc cpu encoders.

  2. It supports the h264_nvenc, hevc_nvenc, av1_nvenc and *_vaapi gpu encoders.

  3. Distortions are measured using the lpips, psnr, ssim and vmaf metrics.

  4. Complexity are measured using the rms_sobel and rms_time_diff metrics.

  5. Encoding efforts are fast, medium and slow.

  6. It takes care about the colorspaces (range, transfer and primaries).

  7. Iterate over different effort, encoder, mode, quality, threads, fps, resolution and pix_fmt.

  8. Energy measurements are catched with RAPL and an external wattmeter on grid'5000.

  9. Get the cpu, gpu, ram and temperature activity.

  10. Get a full environment context, including harware and software version.

  11. It support the mode (constant bitrate) cbr and (constant quality) vbr.

Pipeline

This is the pipeline used for measurements:

Pipeline diagram

Example of result

Example of rate distortion curve:

mendevi plot mendevi.db -x bitrate -y psnr -y ssim -wx profile -c encoder
Result plot of rate distortion

Example of energy per encoder:

mendevi plot mendevi.db -x quality -y energy -wx profile -wy mode -c encoder -m effort
Result plot of encoding energy

Alternatives

  1. The GREEM video encoding measurement tool.

  2. The MVCD database also includes video encoding and decoding energy measurements.

  3. The COCONUT database also includes video decoding measurements.

  4. The SEED and VEED dataset offers a comprehensive LCA and GPU measurements.

  5. The CTC videos are used for the tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mendevi-1.2.6.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mendevi-1.2.6-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file mendevi-1.2.6.tar.gz.

File metadata

  • Download URL: mendevi-1.2.6.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mendevi-1.2.6.tar.gz
Algorithm Hash digest
SHA256 45d58bf6af0e415f8aa9b6fd535957310ba5c38d59056281f6443d1cef7089cf
MD5 bb983a875c61f1ed13b49267e48c9ea0
BLAKE2b-256 404ec1eefc6cfb1f134c29afb770e9e9e6c7e4f6b943e413b94c31bd3f0f3f6a

See more details on using hashes here.

File details

Details for the file mendevi-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: mendevi-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mendevi-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7393766d1dbaa2f14b047381d71fc52c03c5177328be12b43e803c568f52fc9a
MD5 c909b0e62a6d18bd311621117074e184
BLAKE2b-256 8b277045aa818b1d349d874a0150cabb8572618afa837f88cbeee13d317ad677

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page