From 23d6c2d3b56145999c14596733853bc6de49eff3 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 30 Dec 2022 19:25:28 +0100 Subject: fixed: linear transform, value scale and command line ars --- evc/scripts/gen | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'evc/scripts/gen') diff --git a/evc/scripts/gen b/evc/scripts/gen index 22448c5..da24dec 100755 --- a/evc/scripts/gen +++ b/evc/scripts/gen @@ -1,10 +1,9 @@ #!/bin/fish set w $argv[1] set h $argv[2] -set t $argv[3] -ffmpeg -hide_banner -i $argv[4] -to {$t} -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[5..] >samples/encoded -ffmpeg -hide_banner -y -i $argv[4] -to {$t} -vf scale={$w}x{$h},fps=30,format=rgb24 samples/reference.webm +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 --