16 lines
522 B
Bash
Executable File
16 lines
522 B
Bash
Executable File
#!/bin/sh
|
|
echo "Large 1440|1852|1920|2030|2048 media:"
|
|
echo "--------------------"
|
|
for i in `ls`
|
|
do
|
|
OUTPUT1440=`ffmpeg -i $i 2>&1 | egrep '1440x'`
|
|
OUTPUT1852=`ffmpeg -i $i 2>&1 | egrep '1852x'`
|
|
OUTPUT1920=`ffmpeg -i $i 2>&1 | egrep '1920x'`
|
|
OUTPUT2030=`ffmpeg -i $i 2>&1 | egrep '2030x'`
|
|
OUTPUT2048=`ffmpeg -i $i 2>&1 | egrep '2048x'`
|
|
if [[ ( -n "$OUTPUT1440" ) || ( -n "$OUTPUT1852" ) || ( -n "$OUTPUT1920" ) || ( -n "$OUTPUT2030" ) || ( -n "$OUTPUT2048" ) ]]; then
|
|
echo " "
|
|
echo $i
|
|
fi
|
|
done
|