aboutsummaryrefslogtreecommitdiff
path: root/evc/scripts/gen-debug
diff options
context:
space:
mode:
Diffstat (limited to 'evc/scripts/gen-debug')
-rwxr-xr-xevc/scripts/gen-debug4
1 files changed, 4 insertions, 0 deletions
diff --git a/evc/scripts/gen-debug b/evc/scripts/gen-debug
new file mode 100755
index 0000000..513afab
--- /dev/null
+++ b/evc/scripts/gen-debug
@@ -0,0 +1,4 @@
+#/bin/fish
+cargo run --release --bin encode -- -W 1920 -H 1080 < samples/raw > samples/encoded
+cargo run --release --bin decode -- --debug < samples/encoded > samples/decoded
+ffmpeg -y -framerate 30 -video_size 1920x1080 -pixel_format rgb24 -f rawvideo -i samples/decoded samples/decoded.mp4