<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; CHARSET=UTF-8">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=640155913-27012010>I've
tried </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010>gst-launch camerabin
filename="cb.jpg"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=640155913-27012010>but it
just hangs and never takes a picture.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010>aldon900:~/linux1/n900# gst-launch camerabin
filename="cb.jpg"<BR>Setting pipeline to PAUSED ...<BR>Pipeline is live and does
not need PREROLL ...<BR>Setting pipeline to PLAYING ...<BR>New clock:
GstSystemClock</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=640155913-27012010>(It
never gets past the NewClock and I have to interrupt the
process)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=640155913-27012010>That
said, by adding videoscale back in with the dspjpegenc, I can now talk 640x480
jpeg pictures. However, when I try changing the width or height, I don't
have any luck. I'm also hoping to find some way of adjusting the exposure
and/or ISO settings with gst. If anyone knows how to do that, please let
me know.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=640155913-27012010>Aldon</SPAN></FONT></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
maemo-users-bounces@maemo.org [mailto:maemo-users-bounces@maemo.org]<B>On
Behalf Of </B>Iñigo Illán Aranburu<BR><B>Sent:</B> Wednesday, January 27, 2010
8:51 AM<BR><B>To:</B> Aldon Hynes<BR><B>Cc:</B>
maemo-users@maemo.org<BR><B>Subject:</B> RE: gst-launch and
openmax<BR><BR></FONT></DIV>I think you should better use camerabin <BR><BR>El
mar, 26-01-2010 a las 21:01 -0500, Aldon Hynes escribió:
<BLOCKQUOTE TYPE="CITE"><PRE>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 [<A href="mailto:maemo@csipa.in.rs">mailto:maemo@csipa.in.rs</A>]
Sent: Tuesday, January 26, 2010 6:42 PM
To: <A href="mailto:maemo-users@maemo.org">maemo-users@maemo.org</A>
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
<A href="mailto:maemo-users@maemo.org">maemo-users@maemo.org</A>
<A href="https://lists.maemo.org/mailman/listinfo/maemo-users">https://lists.maemo.org/mailman/listinfo/maemo-users</A>
</PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>