aboutsummaryrefslogtreecommitdiff
path: root/old/evc/scripts/stream-nodebug
diff options
context:
space:
mode:
Diffstat (limited to 'old/evc/scripts/stream-nodebug')
-rwxr-xr-xold/evc/scripts/stream-nodebug7
1 files changed, 7 insertions, 0 deletions
diff --git a/old/evc/scripts/stream-nodebug b/old/evc/scripts/stream-nodebug
new file mode 100755
index 0000000..380ec5f
--- /dev/null
+++ b/old/evc/scripts/stream-nodebug
@@ -0,0 +1,7 @@
+#!/bin/fish
+set w $argv[1]
+set h $argv[2]
+ffmpeg -hide_banner -i $argv[3] -vf scale={$w}x{$h},fps=30,format=rgb24 -f rawvideo pipe:1 |
+ cargo run --release --bin reschmux-encode -- -W {$w} -H {$h} $argv[4..] |
+ cargo run --release --bin reschmux-decode -- |
+ ffplay -hide_banner -framerate 30 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo pipe:0