[maemo-developers] Single frame capture with gstreamer

From: Fabrice Desré fabrice.desre at gmail.com
Date: Thu Nov 19 13:01:14 EET 2009

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

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 ;-)



More information about the maemo-developers mailing list