Added tools for converting to YandereLewdBot

This commit is contained in:
Anon 2024-02-26 21:29:50 -08:00
parent 0546ddb615
commit 0245c9794b

View File

@ -30,10 +30,10 @@ This will render png's with mpv, then convert them to jpg using imagemagick.
```
mkdir {png,jpg}
mpv --pause --no-audio --framedrop=no --screenshot-format=png --screenshot-png-compression=0 --screenshot-template=png/Future_Diary_EP"${1}"_%05n --sid=1 --input-ipc-server=${HOME}/.config/mpv/socket input.mkv &
echo 'screenshot subtitles+each-frame ; set pause no' | socat - /home/anon/.config/mpv/socket
mpv --pause --no-audio --framedrop=no --screenshot-format=png --screenshot-png-compression=0 --screenshot-template=png/Future_Diary_EP01_%05n --sid=1 --input-ipc-server=${HOME}/.config/mpv/socket input.mkv &
echo 'screenshot subtitles+each-frame ; set pause no' | socat - "${HOME}"/.config/mpv/socket
wait
while IFS= read -r line;do echo convert -quality 95 "/home/anon/sshfs/${line}" "/media/anon/luks-13058f5c-674c-41da-82b9-2d6d9c1b9787/mov/FutureDiary/jpg/fd${1}/${line%.*}.jpg";done < <(ls -1 png/) | parallel
while IFS= read -r line;do echo convert -quality 95 "$line" "jpg/${line%.*}.jpg";done < <(ls -1 png/) | parallel
```
## Converting cfg Files