fps

Find videos by FPS

I produced some videos in 60 FPS, but couldn’t remember which ones. Since, of course, I didn’t label their FPS at the time, I needed to find them in vast sea of 30 FPS videos. Rather than just use a simple grep with ffmpeg to find which ones, I thought it might be more useful to find all videos that have a certain FPS threshold. Usage: ./60fps.sh [directory] #!/bin/bash SAVEIFS=$IFS IFS=$'\n' function fpscheck { FPS=$(ffmpeg -i "