Many updates

This commit is contained in:
Cloud
2024-06-12 02:00:39 -03:00
parent dba75a7558
commit 8e732e0061
9 changed files with 59 additions and 23 deletions

View File

@@ -5,6 +5,11 @@ if [ $# -ne 1 ]; then
exit 1
fi
if ! command -v "ffprobe" &> /dev/null; then
echo 'The "ffprobe" command is necessary in order to run the script, but was not found.'
exit 1
fi
input_file="$1"
ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "$input_file"