aboutsummaryrefslogtreecommitdiff
path: root/evc/scripts/bench_out
diff options
context:
space:
mode:
Diffstat (limited to 'evc/scripts/bench_out')
-rwxr-xr-xevc/scripts/bench_out10
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