From 463068b43f573364bf8893da3fdd640414a88523 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 16 Aug 2013 19:30:37 +0200 Subject: misc updates Signed-off-by: Florian Pritz --- video-crop-detect | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 video-crop-detect (limited to 'video-crop-detect') diff --git a/video-crop-detect b/video-crop-detect new file mode 100755 index 0000000..df250f0 --- /dev/null +++ b/video-crop-detect @@ -0,0 +1,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" -- cgit v1.2.3-24-g4f1b