[maemo-users] gst-launch and openmax

From: Attila Csipa maemo at csipa.in.rs
Date: Wed Jan 27 16:25:32 EET 2010
On Wednesday 27 January 2010 03:01:04 Aldon Hynes wrote:
> I am new to using gst-launch.  I've not been able to find good descriptions
> of the different options or elements to use.  So, I started by using
>
> gst-launch v4l2camsrc device=/dev/video1 num-buffers=1 ! videoscale !
> video/x-raw-yuv,width=475,height=356 ! omx_jpegenc ! filesink
> location=test.jpg

Here's a simple working starting point, you can continue on from here (note 
that this does include things like focusing, etc, just the actual image 
taking):

gst-launch v4l2camsrc num-buffers=1 device=/dev/video0 ! 
video/x-raw-yuv,width=2576,height=1936 ! ffmpegcolorspace ! jpegenc ! 
filesink location=test.jpg 


Regards,
Attila
More information about the maemo-users mailing list