handaxe
|
2011-03-22
, 14:18
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#11
|
|
2011-03-22
, 14:35
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#12
|
The Following 20 Users Say Thank You to nicolai For This Useful Post: | ||
|
2011-03-22
, 15:23
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#13
|
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
|
2011-03-22
, 16:03
|
Posts: 54 |
Thanked: 14 times |
Joined on Oct 2010
|
#14
|
Here you are:
You should still need to start it and break it manually as it's just a shell command.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
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.
|
2011-03-22
, 16:31
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#15
|
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
|
2011-03-22
, 17:07
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#16
|
|
2011-03-22
, 17:41
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#17
|
gst-launch v4l2camsrc device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! queue ! videorate ! ffmpegcolorspace ! jpegenc ! queue ! mux. pulsesrc ! audioconvert ! audioresample ! nokiaaacenc ! queue ! mux. avimux name=mux ! filesink location=/home/user/MyDocs/output.avi
The Following User Says Thank You to 9000 For This Useful Post: | ||
|
2011-03-22
, 18:17
|
Posts: 200 |
Thanked: 15 times |
Joined on Dec 2009
@ Săo Paulo - Brasil
|
#18
|
|
2011-03-23
, 01:51
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#19
|
|
2011-03-23
, 06:49
|
Posts: 54 |
Thanked: 14 times |
Joined on Oct 2010
|
#20
|
Tags |
bluetooth-pan, gstreamer, recording, spying, video |
|