diff options
author | metamuffin <metamuffin@disroot.org> | 2022-12-06 15:52:08 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-12-06 15:52:08 +0100 |
commit | 6a3aaca8727d3f0292d62dbcd54e3bf87df74c0c (patch) | |
tree | d9bc5fe941c49de0885795288e2ef45f88d0a40c /evc/scripts/stream-lq | |
parent | a5b09a2fc7a2e1ddc5776993373052cd3eda9b51 (diff) | |
download | video-codec-experiments-6a3aaca8727d3f0292d62dbcd54e3bf87df74c0c.tar video-codec-experiments-6a3aaca8727d3f0292d62dbcd54e3bf87df74c0c.tar.bz2 video-codec-experiments-6a3aaca8727d3f0292d62dbcd54e3bf87df74c0c.tar.zst |
split files
Diffstat (limited to 'evc/scripts/stream-lq')
-rwxr-xr-x | evc/scripts/stream-lq | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/evc/scripts/stream-lq b/evc/scripts/stream-lq new file mode 100755 index 0000000..486dbaf --- /dev/null +++ b/evc/scripts/stream-lq @@ -0,0 +1,5 @@ +#!/bin/fish +ffmpeg -i $argv[1] -vf scale=1280x720,fps=30,format=rgb24 -f rawvideo pipe:1 2>/dev/null | + cargo run --release --bin encode -- -W 1280 -H 720 | + cargo run --release --bin decode -- --debug | + ffplay -framerate 30 -video_size 1280x720 -pixel_format rgb24 -f rawvideo pipe:0 2>/dev/null |