aboutsummaryrefslogtreecommitdiff
path: root/bv1/tools
diff options
context:
space:
mode:
Diffstat (limited to 'bv1/tools')
-rwxr-xr-xbv1/tools/d-disp2
-rwxr-xr-xbv1/tools/d-dispd2
-rwxr-xr-xbv1/tools/d-save2
-rwxr-xr-xbv1/tools/d-saved2
-rwxr-xr-xbv1/tools/e2
5 files changed, 10 insertions, 0 deletions
diff --git a/bv1/tools/d-disp b/bv1/tools/d-disp
new file mode 100755
index 0000000..d7b8feb
--- /dev/null
+++ b/bv1/tools/d-disp
@@ -0,0 +1,2 @@
+#!/bin/fish
+cargo run --release -- -W 1920 -H 1080 decode | ffplay -loglevel quiet -video_size 1920x1080 -pixel_format rgb24 -f rawvideo pipe:0 \ No newline at end of file
diff --git a/bv1/tools/d-dispd b/bv1/tools/d-dispd
new file mode 100755
index 0000000..97a2b90
--- /dev/null
+++ b/bv1/tools/d-dispd
@@ -0,0 +1,2 @@
+#!/bin/fish
+cargo run --release -- -W 1920 -H 1080 decode --debug | ffplay -loglevel quiet -video_size 1920x1080 -pixel_format rgb24 -f rawvideo pipe:0 \ No newline at end of file
diff --git a/bv1/tools/d-save b/bv1/tools/d-save
new file mode 100755
index 0000000..1f19994
--- /dev/null
+++ b/bv1/tools/d-save
@@ -0,0 +1,2 @@
+#!/bin/fish
+cargo run --release -- -W 1920 -H 1080 decode | ffmpeg -pixel_format rgb24 -video_size 1920x1080 -framerate 30 -f rawvideo -i pipe:0 -i $argv[1] -map '0:v' -map '1:a' -c:v libsvtav1 -y data/output.webm
diff --git a/bv1/tools/d-saved b/bv1/tools/d-saved
new file mode 100755
index 0000000..16de45a
--- /dev/null
+++ b/bv1/tools/d-saved
@@ -0,0 +1,2 @@
+#!/bin/fish
+cargo run --release -- -W 1920 -H 1080 decode --debug | ffmpeg -pixel_format rgb24 -video_size 1920x1080 -framerate 30 -f rawvideo -i pipe:0 -i $argv[1] -map '0:v' -map '1:a' -c:v libsvtav1 -y data/output-debug.webm
diff --git a/bv1/tools/e b/bv1/tools/e
new file mode 100755
index 0000000..a85a767
--- /dev/null
+++ b/bv1/tools/e
@@ -0,0 +1,2 @@
+#!/bin/fish
+ffmpeg -loglevel quiet -i $argv[1] -vf format=rgb24 -f rawvideo pipe:1 | cargo run --release -- -W 1920 -H 1080 encode $argv[2..]