aboutsummaryrefslogtreecommitdiff
path: root/bv1/tools
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-11-06 22:09:58 +0100
committermetamuffin <metamuffin@disroot.org>2023-11-15 13:33:12 +0100
commita26b535f14500fde3c7e2296ab76e89c53f821cc (patch)
tree1ff14e654378ad585f86f380654d2e4099e9e4ee /bv1/tools
parent7904f28f4ce37f2bc6758a86bf790369c730670c (diff)
downloadvideo-codec-experiments-a26b535f14500fde3c7e2296ab76e89c53f821cc.tar
video-codec-experiments-a26b535f14500fde3c7e2296ab76e89c53f821cc.tar.bz2
video-codec-experiments-a26b535f14500fde3c7e2296ab76e89c53f821cc.tar.zst
update some stuff
Diffstat (limited to 'bv1/tools')
-rwxr-xr-xbv1/tools/d4k-disp2
-rwxr-xr-xbv1/tools/d4k-dispd2
-rwxr-xr-xbv1/tools/e4k2
3 files changed, 6 insertions, 0 deletions
diff --git a/bv1/tools/d4k-disp b/bv1/tools/d4k-disp
new file mode 100755
index 0000000..1103cc2
--- /dev/null
+++ b/bv1/tools/d4k-disp
@@ -0,0 +1,2 @@
+#!/bin/fish
+cargo run --release -- -W 4096 -H 2160 decode | ffplay -loglevel quiet -video_size 4096x2160 -pixel_format rgb24 -f rawvideo pipe:0
diff --git a/bv1/tools/d4k-dispd b/bv1/tools/d4k-dispd
new file mode 100755
index 0000000..fbcbdd4
--- /dev/null
+++ b/bv1/tools/d4k-dispd
@@ -0,0 +1,2 @@
+#!/bin/fish
+cargo run --release -- -W 4096 -H 2160 decode --debug | ffplay -loglevel quiet -video_size 4096x2160 -pixel_format rgb24 -f rawvideo pipe:0 \ No newline at end of file
diff --git a/bv1/tools/e4k b/bv1/tools/e4k
new file mode 100755
index 0000000..58e0b10
--- /dev/null
+++ b/bv1/tools/e4k
@@ -0,0 +1,2 @@
+#!/bin/fish
+ffmpeg -loglevel quiet -i $argv[1] -vf format=rgb24 -f rawvideo pipe:1 | cargo run --release -- -W 4096 -H 2160 encode $argv[2..]