diff options
author | metamuffin <metamuffin@disroot.org> | 2025-05-05 15:09:54 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-05-05 15:09:54 +0200 |
commit | 306f96164784a8cbf405e72fa4364d6523366e95 (patch) | |
tree | 51717fc139871baa438aad806f4923669ae0896c /dhwt-codec/run | |
parent | 9cc089e2d6e841879e430b01d2f3d92c8820523e (diff) | |
download | video-codec-experiments-306f96164784a8cbf405e72fa4364d6523366e95.tar video-codec-experiments-306f96164784a8cbf405e72fa4364d6523366e95.tar.bz2 video-codec-experiments-306f96164784a8cbf405e72fa4364d6523366e95.tar.zst |
old dir
Diffstat (limited to 'dhwt-codec/run')
-rwxr-xr-x | dhwt-codec/run | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/dhwt-codec/run b/dhwt-codec/run deleted file mode 100755 index 9f7013e..0000000 --- a/dhwt-codec/run +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/fish - -set f $argv[1] -set x $argv[2] -set y $argv[3] -set z $argv[4] - -# cat /dev/urandom | cargo run --release --bin import -- -x $x -y $y -z $z a/inp -ffmpeg -i $f -frames:v $z -filter_complex [0]scale={$x}x{$y},format=rgb24 -f rawvideo pipe:1 | cargo run --release --bin import -- -x $x -y $y -z $z a/inp - -time cargo run --release --bin encode -- -x $x -y $y -z $z a/inp a/enc -time cargo run --release --bin decode -- -x $x -y $y -z $z a/enc a/out - -cargo run --release --bin export -- -x (math $x / 2) -y (math $y / 2) -z (math $z / 2) a/enc | ffmpeg -y -pixel_format rgb24 -f rawvideo -video_size (math $x / 2)x(math $y / 2) -i pipe:0 a/enc.webm -cargo run --release --bin export -- -x $x -y $y -z $z a/out | ffmpeg -y -pixel_format rgb24 -f rawvideo -video_size {$x}x{$y} -i pipe:0 a/out.webm -# cargo run --release --bin export -- -x $x -y $y -z $z a/raw_out | ffplay -pixel_format rgb24 -f rawvideo -video_size {$x}x{$y} pipe:0 |