... sound capture (if you use pulseaudio then install oss-compat [deb] and libasound2-plugins [deb] or alsa-plugins-pulse [rpm] packages) and enable "repeat playlist" on your video player, then:
./timeshift.sh [OPTION1 value] [OPTION2 value] ...
./timeshift.sh -h for help
*Be sure transcode is compiled with a working import_v4l2.so plugin.