View Single Post
Posts: 54 | Thanked: 14 times | Joined on Oct 2010
#14
Originally Posted by 9000 View Post
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.
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?
Attached Images