Mercurial > epgrec.yaz
view gen-thumbnail.sh @ 63:3d59472e08dd
fix: typo and ereg_replace replace to preg_replace
author | yoneda <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Fri, 14 Aug 2009 13:02:45 +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}