gst-launch-0.10 --eos-on-shutdown v4l2src device=/dev/video1 ! video/x-raw-yuv,width=360,height=288,framerate=25/1,norm=NTSC ! tee name=my_videosink ! videorate ! jpegenc ! avimux ! filesink location=video.avi my_videosink. ! queue ! ffmpegcolorspace ! ximagesink