rust-av / ssimulacra2_bin

Binary interface for the ssimulacra2 Rust port
BSD 2-Clause "Simplified" License
40 stars 10 forks source link

BUG: ssimulacra2 video expects yuv. breaks on RGB #29

Open Quackdoc opened 1 year ago

Quackdoc commented 1 year ago

this means testing image sequences (PNG, JXL) will cause issue.

C:\Users\Quack\Videos\junk〉 ffmpeg -hide_banner -loglevel error -i klee.mp4 -c:v png outpng.mkv
C:\Users\Quack\Videos\junk〉 ffmpeg -hide_banner -loglevel error -i outpng.mkv -pix_fmt yuv444p -c:v tiff outtiff.mkv
C:\Users\Quack\Videos\junk〉ssimulacra2_rs video -v klee.mp4 outtiff.mkv                 06/08/2023 03:23:08 AMCreating lwi index file 100%
Creating lwi index file 100%
Frame 0: 86.96349151
Frame 1: 88.53947510
Frame 2: 88.42250194
C:\Users\Quack\Videos\junk〉ssimulacra2_rs video -v klee.mp4 outpng.mkv                  06/08/2023 03:25:20 AMCreating lwi index file 100%
Frame 0: -279.73627565
Frame 1: -280.76532476
Frame 2: -281.64626153