Committer: root <root@fruw.org>

This commit is contained in:
root
2023-07-29 16:42:28 +05:00
parent d46885fdc8
commit 6afc76eb9c
74 changed files with 5643 additions and 0 deletions

2
shell/mpv-fmt/README.md Normal file
View File

@ -0,0 +1,2 @@
# mpv-fmt

10
shell/mpv-fmt/mpv-fmt.sh Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# kill -9 $(pgrep mpv)
read -p 'С какой серии начать? ' -i Ep01 -e START_EPISODE
for CURRENT_EPISODE in $(ls | grep mkv)
do
if grep -q "$START_EPISODE" <<< "$CURRENT_EPISODE"; then
mpv --vf=lavfi=[crop=1440:1080:240:0] $CURRENT_EPISODE \
--audio-file=$(sed 's/mkv/mka/g' <<< $CURRENT_EPISODE)
fi
done