avicap - v4l capturing and PVR tool
[options] [ files
avicap is a video4linux capturing and PVR tool.
avicap can shutdown/poweroff and poweron/reboot your computer again
look here for a full end user documentation on Avicap, its timertable/PVR mode
and it's shutdown options:
start in automatic timer (PVR) mode