Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Quality metrics

License

NotificationsYou must be signed in to change notification settings

rust-av/av-metrics

Repository files navigation

cratedocsLICENSEActions StatusIRCzulip chat

Video Metrics implemented

  • PSNR
  • APSNR
  • PSNR HVS
  • SSIM
  • MSSSIM
  • CIEDE2000

Installation

As a library

Add the following to your Cargo.toml

av-metrics ="0.7"

Then check outthe API docs.

As a binary

Windows

Download the latest binary from theReleases tab.

OS X and Linux

Pre-built binaries are coming soon. In the meantime, have the latest stable Rustinstalled and run the following:

cargo install av-metrics-tool

Usage

From any terminal, run the executable with your two video files as arguments:

➜ av-metrics-tool lossless.y4m lossy.y4m

You should receive output for all supported metrics:

PSNR - Y: 32.5281  U: 36.4083  V: 39.8238  Avg: 33.6861APSNR - Y: 32.5450  U: 36.4087  V: 39.8244  Avg: 33.6995PSNR HVS - Y: 34.3225  U: 37.7400  V: 40.5569  Avg: 31.8674SSIM - Y: 13.2572  U: 10.8624  V: 12.8369  Avg: 12.6899MSSSIM - Y: 18.8343  U: 16.6943  V: 18.7662  Avg: 18.3859CIEDE2000 - 36.2820

By default, the tool can only decode y4m files. Both files must match in resolution, bit depth, and color sampling.

Alternate input formats can be supported by enabling FFMpeg support.Due to limitations, this currently has to be enabled at compile time.

In the crate, this can be enabled with the feature "ffmpeg-decode".In the binary, this can be enabled with the feature "ffmpeg".


[8]ページ先頭

©2009-2025 Movatter.jp