Mercurial > epgrec.yaz
view do-record.sh.sample @ 136:6754b6aa50cf
mod: ログ機能のためにconfig.phpを変更
author | epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp> |
---|---|
date | Sun, 21 Mar 2010 00:00:58 +0900 |
parents | 103ca1503507 |
children | 29e7a40e6587 |
line wrap: on
line source
#!/bin/sh echo "CHANNEL : $CHANNEL" echo "DURATION: $DURATION" echo "OUTPUT : $OUTPUT" echo "TUNER : $TUNER" echo "TYPE : $TYPE" echo "MODE : $MODE" RECORDER=/usr/local/bin/recfriio B25=/usr/local/bin/b25_bcas if [ ${MODE} == 0 ]; then # MODE=0с綽≦綏ャTS冴 $RECORDER $CHANNEL $DURATION ${OUTPUT} --b25 --strip elif [ ${MODE} == 1 ]; then # MODE=0篁ュ罕障 $RECORDER $CHANNEL $DURATION --b25 --strip | 篏綏 >${OUTPUT} elif [ ${MODE} == 2 ]; then $RECORDER $CHANNEL $DURATION ${OUTPUT}.tmp.ts --b25 --strip ffmpeg -i ${OUTPUT}.tmp.ts ... 綵激с ${OUTPUT} fi