Another ssimulacra2 cli
A fork of ssimulacra2_bin that I could not stop adding things to. whoops
If you want full video input support check out their version, mine is going to be a little jank as it focusses on multithreaded speed.
Binary interface to the Rust implementation of the SSIMULACRA2 metric: https://github.com/rust-av/ssimulacra2
Download
Get the latest executable from the automated release build action
Install
To install with cargo just run:
then you can just execute as2c from your terminal.
usage
<SOURCE> Original
<DISTORTED> Distorted
Examples
Comparing indavidual images/frames:
Comparing two folders of frames:
Comparing two folders of frames and output CSV with each frame's results:
or just
| frame | ssimulacra2 |
|---|---|
| 0 | 49.924279448275605 |
| 1 | 53.36855269651266 |
| 2 | 56.70124266359252 |
| 3 | 54.235634583548276 |
| 4 | 56.10589175633655 |
Colour formats
supported ColorPrimaries(--colour-space):
Reserved0
BT709
Unspecified
Reserved
BT470M
BT470BG
ST170M
ST240M
Film
BT2020
ST428
P3DCI
P3Display
Tech3213
supported TransferCharacteristic(--colour-transfer):
Reserved0
BT1886
Unspecified
Reserved
BT470M
BT470BG
ST170M
ST240M
Linear
Logarithmic100
Logarithmic316
XVYCC
BT1361E
SRGB
BT2020Ten
BT2020Twelve
PerceptualQuantizer
ST428
HybridLogGamma
Memory usage
On my 5600x when comparing two folders of 1440p PNG files it can use 3-4GB of ram since it basically has 12 pairs of raw 1440p images in memory.