From cc1f02a71bd3ad5235ac92dec2d9c516c74f8b1c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 6 Dec 2022 08:41:48 +0100 Subject: decode somewhat works --- evc/scripts/stream | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 evc/scripts/stream (limited to 'evc/scripts/stream') diff --git a/evc/scripts/stream b/evc/scripts/stream new file mode 100755 index 0000000..73dca01 --- /dev/null +++ b/evc/scripts/stream @@ -0,0 +1,6 @@ +#!/bin/fish +ffmpeg -i ~/videos/eddie-woo.mp4 -to 10 -vf scale=1920x1080,fps=30,format=rgb24 -f rawvideo pipe:1 | + cargo run --release --bin encode -- -W 1920 -H 1080 | + cargo run --release --bin decode | + ffplay -framerate 30 -video_size 1920x1080 -pixel_format rgb24 -f rawvideo + \ No newline at end of file -- cgit v1.2.3-70-g09d2