[maemo-developers] Single frame capture with gstreamer
From: Mohammed Hassan mohammed.2.hassan at nokia.comDate: Thu Nov 19 15:58:37 EET 2009
- Previous message: Single frame capture with gstreamer
- Next message: Single frame capture with gstreamer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2009-11-19 at 12:01 +0100, ext Fabrice Desré wrote: > hello, > > I'm trying to build a gstreamer pipeline to take snapshots (only on > picture) from the camera. I'd like one for the N810 and one for the N900. > > On the N810, I came up with : > gst-launch v4l2src num-buffers=1 ! video/x-raw- > rgb,width=640,height=480,framerate=8/1 ! ffmpegcolorspace ! jpegenc ! > filesink location=test.jpg Use v4l2camsrc instead of v4l2src > The pipeline is executed as it should, but the jpeg file is a black > frame... I tested v4l2src ! ffmpegcolorspace ! xvimagesink to check the > camera hardware and it's ok. > > For the N900, I'd be grateful for any help since I don't have this lovely > device yet ;-) I guess you need gst-launch camerabin filename="foo.jpg" (Not 100% sure). Try gst-inspcct camerabin Maybe you can use gdigicam (http://maemo.gitorious.org/fremantle-gdigicam) for that ? Cheers, -- Senior Software Engineer Maemo Software
- Previous message: Single frame capture with gstreamer
- Next message: Single frame capture with gstreamer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]