View Single Post
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#15
Originally Posted by hathoda View Post
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?
From the screenshot the location is /home/user/output.avi

You know it'd grow in size so it'd use up your /home/user very soon.

Therefore, you should have cd to /home/user/MyDocs first or enter the absolute path in the command such that the video could be stored in a relative large space.

The video is start recording once you start the command, and will stop when you break it with CTRL-C. You don't see the playback because OP asked for _stealth mode_.

If you wanna see the playback while video-taking, you could use the following:

Code:
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
I use the absolute path above so that the video can be stored under MyDocs.

Again, no sound! It can be done very easily, as long as I know the sound device of N900. ^^

EDIT: missed the word 'large'

Last edited by 9000; 2011-03-22 at 16:58.
 

The Following 4 Users Say Thank You to 9000 For This Useful Post: