diff options
Diffstat (limited to 'old/evc/scripts/stream')
-rwxr-xr-x | old/evc/scripts/stream | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/old/evc/scripts/stream b/old/evc/scripts/stream new file mode 100755 index 0000000..7e9400d --- /dev/null +++ b/old/evc/scripts/stream @@ -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 -- --debug | + ffplay -hide_banner -framerate 30 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo pipe:0 |