This commit is contained in:
Ваше Имя
2025-06-30 23:19:29 +03:00
parent 12137d7e0d
commit ed9ba99412
195 changed files with 25445 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
green='\033[0;32m'
red='\033[0;31m'
cyan='\033[0;36m'
reset="\033[0m"
if [[ ! -f "$1" ]]; then
echo -e "Usage: ./extract_first_frame.sh ${cyan}<background_video>${reset}"
exit
fi
ffmpeg -i "$1" -vf "select=eq(n\,34)" -vframes 1 $(basename backgrounds/$1 | cut -d"." -f1).png