more
This commit is contained in:
15
bin/wsl/findlarge_media.sh
Executable file
15
bin/wsl/findlarge_media.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user