El mar, 26-01-2010 a las 21:01 -0500, Aldon Hynes escribió:
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 That gave me the error about omx_jpegenc When I tried using jpegenc instead of omx_jpegenc I got a message: could not link videoscale0 to jpegenc0 I tried dropping videoscale, I tried using pngenc, none of these worked. The suggestion about dspjpegenc worked nicely, except that the images turned out all black or all white. Is there a png counterpart? I also tried adding capture-mode=1 to the v4l2camsrc element, which didn't make any difference. I haven't done anything with ffmpegcolorspace, so I'll look at that next. If you know of any good documentation on using the gst-tools, that would be greatly appreciated. Aldon -----Original Message----- From: Attila Csipa [mailto:maemo@xxxxxxxxxxx] Sent: Tuesday, January 26, 2010 6:42 PM To: maemo-users@xxxxxxxxx Cc: Aldon Hynes Subject: Re: gst-launch and openmax On Tuesday 26 January 2010 23:21:49 Aldon Hynes wrote: > When I tried jpegenc I got > > WARNING: erroneous pipeline: could not link v4l2camsrc0 to jpegenc0 > > When I tried pngenc I got > > WARNING: erroneous pipeline: could not link v4l2camsrc0 to pngenc0 > > When I tried dspjpegenc, it captured a picture, but my image was all black. Can you post the whole pipeline you're using ? Seems you're missing an element (likely ffmpegcolorspace or sorts). Regards, Attila _______________________________________________ maemo-users mailing list maemo-users@xxxxxxxxx https://lists.maemo.org/mailman/listinfo/maemo-users
_______________________________________________ maemo-users mailing list maemo-users@xxxxxxxxx https://lists.maemo.org/mailman/listinfo/maemo-users