#!/bin/fish ffmpeg -i $argv[1] -vf scale=920x550,fps=30,format=rgb24 -f rawvideo pipe:1 2>/dev/null | LOG=info cargo run --release --bin encode -- -W 920 -H 550 | LOG=info cargo run --release --bin decode -- --debug | ffplay -framerate 30 -video_size 920x550 -pixel_format rgb24 -f rawvideo pipe:0 2>/dev/null