summaryrefslogtreecommitdiffstats
path: root/video-crop-detect
blob: df250f0af3a3b95454b85b2ef2883179d1d16536 (plain)
1
2
3
#!/bin/sh
set -x
mplayer `mplayer -ao null -ss 60 -frames 100 -vf cropdetect -vo null "$1" | awk -F '[()]' '{print $2}' | uniq | grep -Ev 'End of file' | tail -2` "$1"