Sureshot324
Diamond Member
I'm trying to make a script that at a certain time will tune my tv tuner, start recording, keep recording for a certain amount of time, then stop. I can do the following from console:
ivtv-tune -c 30 -d /dev/video0
cat /dev/video0 > recording.mpg
This works, but the problem is the only way i know of to stop it is to hit control c. Also, I need a way to launch the script at a certain time. For example, if i want to record a half hour show that starts at 8pm, the script needs to auto launch at 8, run for exactly half an hour, then stop. Anyone know how to do this?
ivtv-tune -c 30 -d /dev/video0
cat /dev/video0 > recording.mpg
This works, but the problem is the only way i know of to stop it is to hit control c. Also, I need a way to launch the script at a certain time. For example, if i want to record a half hour show that starts at 8pm, the script needs to auto launch at 8, run for exactly half an hour, then stop. Anyone know how to do this?