Another ssimulacra2 cli
A fork of ssimulacra2_bin that I could not stop adding things to. whoops
If you want full ffmpeg based video support check out their version. My version is based on folders of images and full windows compatability.
CLI for the Rust implementation of SSIMULACRA2: https://github.com/rust-av/ssimulacra2
Download
Get the release version from here
Get the requivalent of a nightly build from the build action
Install
Cargo Crates.io
Cargo Git
then you can just run 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
example csv table:
| 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.
make sure to lower the threads used with --threads if you run out of memory.