diff options
author | metamuffin <metamuffin@disroot.org> | 2022-12-17 18:01:51 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-12-17 18:01:51 +0100 |
commit | 0a346b8372140b56bf65a6df1c00e2cd6c6cdf86 (patch) | |
tree | e52234d5904939323e19586128d8ac2d345e450e /evc/scripts/bench_out | |
parent | 82eedf3594bf21c8b780580050a95f0bdb5fd667 (diff) | |
download | video-codec-experiments-0a346b8372140b56bf65a6df1c00e2cd6c6cdf86.tar video-codec-experiments-0a346b8372140b56bf65a6df1c00e2cd6c6cdf86.tar.bz2 video-codec-experiments-0a346b8372140b56bf65a6df1c00e2cd6c6cdf86.tar.zst |
small optimizations and info binary
Diffstat (limited to 'evc/scripts/bench_out')
-rwxr-xr-x | evc/scripts/bench_out | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/evc/scripts/bench_out b/evc/scripts/bench_out new file mode 100755 index 0000000..5bb0639 --- /dev/null +++ b/evc/scripts/bench_out @@ -0,0 +1,10 @@ +#!/bin/fish +set w $argv[1] +set h $argv[2] + +for mode in trivial simple-exhaustive simple-fast advanced advanced-partial + cargo run --release --bin decode -- --debug < samples/encoded-$mode | + ffmpeg -y -hide_banner -framerate 25 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo -i pipe:0 samples/decoded-$mode-debug.mp4 + cargo run --release --bin decode -- < samples/encoded-$mode | + ffmpeg -y -hide_banner -framerate 25 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo -i pipe:0 samples/decoded-$mode.mp4 +end |