diff options
Diffstat (limited to 'evc/scripts/gen')
-rwxr-xr-x | evc/scripts/gen | 7 |
1 files changed, 3 insertions, 4 deletions
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 -- <samples/encoded | ffmpeg -hide_banner -y -framerate 30 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo -i pipe:0 samples/decoded.webm LOG=info cargo run --release --bin decode -- --debug <samples/encoded | |