#!/bin/fish set w $argv[1] set h $argv[2] ffmpeg -hide_banner -i $argv[3] -vf scale={$w}x{$h},fps=30,format=rgb24 -f rawvideo pipe:1 | LOG=info cargo run --release --bin encode -- -W {$w} -H {$h} $argv[4..] >samples/encoded ffmpeg -hide_banner -y -i $argv[3] -vf scale={$w}x{$h},fps=30,format=rgb24 samples/reference.webm LOG=info cargo run --release --bin decode --