Here you are: Code: gst-launch v4l2camsrc device=/dev/video0 ! 'video/x-raw-yuv,width=800,height=480,framerate=30/1' ! videorate ! ffmpegcolorspace ! jpegenc ! queue ! mux. avimux name=mux ! filesink location=output.avi You should still need to start it and break it manually as it's just a shell command. Slide open the camera, close the camera app, start the script, put it aside; collect it later if it's not stolen, play the output.avi with mplayer, etc. No sound, though, as I'm still not quite familiar with N900's way of dealing with sound. Please advise if anyone knows. May be you could try nicolai's method first.
gst-launch v4l2camsrc device=/dev/video0 ! 'video/x-raw-yuv,width=800,height=480,framerate=30/1' ! videorate ! ffmpegcolorspace ! jpegenc ! queue ! mux. avimux name=mux ! filesink location=output.avi