From a20d450ebee19797f196e877d54f3ca4e223ec7e Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 9 Oct 2022 19:54:37 +0200 Subject: [PATCH] add readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..732dd34 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# ProjBotV3 + +Projector Bot V3, written in rust this time. + +[V2](https://github.com/tudbut/projectorbotv2_full) + +### Useful commands + +So far, V3 isn't fully automatically converting the images. Either use V2 for that, or run +these commands and figure out a way to merge multiple pngs to a gif. + +``` +ffmpeg -i vid.mp4 -vf fps=fps=30 -deadline realtime vid_30fps.mp4 +ffmpeg -i vid_30fps.mp4 -vf scale=240:180,setsar=1:1 -deadline realtime vid/%0d.png +# at this point a merger for multiple pngs to a gif is needed +ffmpeg -i vid.mp4 -deadline realtime aud.opus && mv aud.opus aud_encoded +``` +