From 755325d6c8faa897ee686452831cb544d6c72d75 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 7 Mar 2023 21:52:04 +0100 Subject: more magic --- lvc/tools/d-disp | 2 ++ lvc/tools/d-dispd | 2 ++ lvc/tools/d-save | 2 ++ lvc/tools/e | 2 ++ 4 files changed, 8 insertions(+) create mode 100755 lvc/tools/d-disp create mode 100755 lvc/tools/d-dispd create mode 100755 lvc/tools/d-save create mode 100755 lvc/tools/e (limited to 'lvc/tools') diff --git a/lvc/tools/d-disp b/lvc/tools/d-disp new file mode 100755 index 0000000..5879bf3 --- /dev/null +++ b/lvc/tools/d-disp @@ -0,0 +1,2 @@ +#!/bin/fish +cargo run --release -- -w 1920 -h 1080 decode | ffplay -video_size 1920x1080 -pixel_format rgb24 -f rawvideo pipe:0 \ No newline at end of file diff --git a/lvc/tools/d-dispd b/lvc/tools/d-dispd new file mode 100755 index 0000000..c4b435d --- /dev/null +++ b/lvc/tools/d-dispd @@ -0,0 +1,2 @@ +#!/bin/fish +cargo run --release -- -w 1920 -h 1080 decode --debug | ffplay -video_size 1920x1080 -pixel_format rgb24 -f rawvideo pipe:0 \ No newline at end of file diff --git a/lvc/tools/d-save b/lvc/tools/d-save new file mode 100755 index 0000000..72e89c2 --- /dev/null +++ b/lvc/tools/d-save @@ -0,0 +1,2 @@ +#!/bin/fish +ffmpeg -pixel_format rgb24 -video_size 1920x1080 -f rawvideo -i pipe:0 -i data/input.webm -map '0:v' -map '1:a' -c:v libsvtav1 -y data/output.webm diff --git a/lvc/tools/e b/lvc/tools/e new file mode 100755 index 0000000..89d822a --- /dev/null +++ b/lvc/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..] -- cgit v1.2.3-70-g09d2