The shell script idea seems pretty simple. Unfortunately I don't know enough of gstreamer to completely work it out. Here's my take (two scripts): update.sh: Code: #!/bin/bash rm twominutesold.avi mv oneminuteold.avi twominutesold.avi mv current.avi oneminuteold.avi (crazy gstreamer stuff to record a minute of video to current.avi) record.sh: Code: #!/bin/bash watch -n 60 ./update.sh Record.sh is what you run; every minute it runs update.sh, which deletes the oldest recording and starts a new one. Control-c stops and leaves you with between 2 and 3 minutes of the most recent video. Anyone want to figure out the gstreamer command?
#!/bin/bash rm twominutesold.avi mv oneminuteold.avi twominutesold.avi mv current.avi oneminuteold.avi (crazy gstreamer stuff to record a minute of video to current.avi)
#!/bin/bash watch -n 60 ./update.sh