Files
shellfiles/bin/wsl/find60fps.sh
2026-01-19 21:36:25 -05:00

15 lines
419 B
Bash
Executable File

#!/bin/sh
echo "60fps media:"
echo "--------------------"
for i in `ls`
do
OUTPUT50=`ffmpeg -i $i 2>&1 | egrep '50 fps'`
OUTPUT59=`ffmpeg -i $i 2>&1 | egrep '59 fps'`
OUTPUT5994=`ffmpeg -i $i 2>&1 | egrep '59.94 fps'`
OUTPUT60=`ffmpeg -i $i 2>&1 | egrep '60 fps'`
if [[ ( -n "$OUTPUT50" ) || ( -n "$OUTPUT59" ) || ( -n "$OUTPUT5994" ) || ( -n "$OUTPUT60" ) ]]; then
echo " "
echo $i
fi
done