<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.2">
</HEAD>
<BODY>
I think you should better use camerabin <BR>
<BR>
El mar, 26-01-2010 a las 21:01 -0500, Aldon Hynes escribi&#243;:
<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:
&gt; When I tried jpegenc I got
&gt;
&gt; WARNING: erroneous pipeline: could not link v4l2camsrc0 to jpegenc0
&gt;
&gt; When I tried pngenc I got
&gt;
&gt; WARNING: erroneous pipeline: could not link v4l2camsrc0 to pngenc0
&gt;
&gt; 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>
</BODY>
</HTML>