view gen-thumbnail.sh @ 174:3474a501f802

relaxing check for overlapped programs. patch from http://www.sky.sannet.ne.jp/kn_ishi/epgrec/epgrec_Reservation.class.html
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 16 Apr 2013 15:23:28 +0900
parents a701aaf6d216
children
line wrap: on
line source

#!/bin/sh

# サムネールを取る時間をFORMER_TIME+αだけずらします
# お好きな時間だけずらしてください

offset=`expr ${FORMER} + 2`

${FFMPEG} -i ${OUTPUT} -r 1 -s 160x90 -ss ${offset} -vframes 1 -f image2 ${THUMB}