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, libsvtav1, librav1e and vvc encoders.

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

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

  4. Encoding efforts are fast, medium and slow.

  5. It takes care about the colorspaces.

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

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

  8. Get the cpu and ram activity.

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

  10. 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 MVCD database also includes video encoding and decoding energy measurements.

  2. The COCONUT database also includes video decoding measurements.

  3. The VEED-dataset offers a comprehensive LCA and GPU measurements.

  4. 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.3.tar.gz (550.8 kB 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.3-py3-none-any.whl (556.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mendevi-1.2.3.tar.gz
Algorithm Hash digest
SHA256 a536021243644f78f84aa8e422c9689577655d58277bb67c606c8e3424d8777e
MD5 9734a4eb1cc957504781fd177b429e0d
BLAKE2b-256 25af51b4c557b6070bef849376fb87bcacbba2f33c4488a632af3f620987f278

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mendevi-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 556.7 kB
  • 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5312a619760fde1842155a9cfab83e2ffbd131816b12c7afecb8675c6b0e5d25
MD5 4d40ce3cbeaa24534f84dba30b1d6432
BLAKE2b-256 9488b3e40fe42b28745ddbbafddf05141921d4eacab0f978b5b8d3dbc29abc60

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