blob: 5bb06397cbacf48e4d42a66c8b18b343b0638abb (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/fish
set w $argv[1]
set h $argv[2]
for mode in trivial simple-exhaustive simple-fast advanced advanced-partial
cargo run --release --bin decode -- --debug < samples/encoded-$mode |
ffmpeg -y -hide_banner -framerate 25 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo -i pipe:0 samples/decoded-$mode-debug.mp4
cargo run --release --bin decode -- < samples/encoded-$mode |
ffmpeg -y -hide_banner -framerate 25 -video_size {$w}x{$h} -pixel_format rgb24 -f rawvideo -i pipe:0 samples/decoded-$mode.mp4
end
|