diff options
Diffstat (limited to 'old/bv1/tools')
-rwxr-xr-x | old/bv1/tools/decode-display | 2 | ||||
-rwxr-xr-x | old/bv1/tools/decode-display-debug | 2 | ||||
-rwxr-xr-x | old/bv1/tools/decode-save | 2 | ||||
-rwxr-xr-x | old/bv1/tools/decode-save-debug | 2 | ||||
-rwxr-xr-x | old/bv1/tools/encode | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/old/bv1/tools/decode-display b/old/bv1/tools/decode-display new file mode 100755 index 0000000..d7b8feb --- /dev/null +++ b/old/bv1/tools/decode-display @@ -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/old/bv1/tools/decode-display-debug b/old/bv1/tools/decode-display-debug new file mode 100755 index 0000000..97a2b90 --- /dev/null +++ b/old/bv1/tools/decode-display-debug @@ -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/old/bv1/tools/decode-save b/old/bv1/tools/decode-save new file mode 100755 index 0000000..1f19994 --- /dev/null +++ b/old/bv1/tools/decode-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/old/bv1/tools/decode-save-debug b/old/bv1/tools/decode-save-debug new file mode 100755 index 0000000..16de45a --- /dev/null +++ b/old/bv1/tools/decode-save-debug @@ -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/old/bv1/tools/encode b/old/bv1/tools/encode new file mode 100755 index 0000000..abab962 --- /dev/null +++ b/old/bv1/tools/encode @@ -0,0 +1,2 @@ +#!/bin/fish +ffmpeg -loglevel quiet -i $argv[1] -vf scale=1920x1080,format=rgb24 -f rawvideo pipe:1 | cargo run --release -- -W 1920 -H 1080 encode $argv[2..] |