a noob qustion( i did not understand you) i put same code as you posted in xterminal and give me this "i opened the lence cover and closed camera app and put your code in xterminal" where is video?(i could not find it in media player) how to know that it has started captruing? where the video is stored?
gst-launch v4l2camsrc device=/dev/video0 ! 'video/x-raw-yuv,width=800,height=480,framerate=30/1' ! tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue ! videorate ! ffmpegcolorspace ! jpegenc ! queue ! mux. avimux name=mux ! filesink location=/home/user/MyDocs/output.avi