FFprobe how to

This one line command will search for all avi video files in a volume (dvd) with find, analyzes the specs with ffprobe, and filters the output through grep

find /media/cdrom/ -name '*.avi' -exec ffprobe {} \; 2>&1 | grep -F -f patternfile


2>&1 is necessary because the ffprobe output is in stderr, not stdout

patternfile contains all the patterns to be matched by grep, one in each line.