you might want to try <br><br><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><span style="font-family:arial"><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">gst-launch v4l2src ! image/jpeg, framerate=30/1, width=1280, height=720 ! decodebin ! xvimagesink</font></span></font><br>
<br>here decodebin will use appropriate jpegdecoder.<br><br>Best<br>Kapil<br><br><div class="gmail_quote">On Sat, Sep 10, 2011 at 7:15 AM, Garth Tissington <span dir="ltr"><<a href="mailto:gtissington@gmail.com">gtissington@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi <div><br></div><div>I'm a gstreamer newb.. would appreciate any advice on this one.<div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px"><br>
</span></div><div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px">I have a Logitech c910 web ca connected to a debian 6 machine.</span></div>
<div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px"><br></span></div><div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px">GUVCview can use it at 30/1 fps, w=1920 h=1080.<span> </span>Picture is beautiful and real time.<span> </span>I just can't get the caps filter right to do the same from gst-launch.<span> </span> </span></div>
<div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px"><br></span></div><div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px"><br>
</span></div><div><span style="font-family:Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif';font-size:13px"><br></span></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">1) gst-launch v4l2src ! xvimagesink</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">This works... the image is about 720p I think but frame rate is about 5fps</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">2) gst-launch v4l2src ! video/x-raw-yuv, framerate=30/1, width=640, height=360 ! xvimagesink</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">This works pretty well. Size and frame rate appear to be correct. </font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><span style="font-family:arial"><div>
<font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">3) gst-launch v4l2src ! video/x-raw-yuv, framerate=30/1, width=1280, height=720 ! xvimagesink</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">This pipeline reports: v4l2src0: Could not negotiate format </font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">Now, I kind of get why. Because this camera will only deliver 720p30fps in MJPEG format.</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">However, I've tried everything I an think of and I just can't get the caps filter right.</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">How can I connect to the web cam in higher resolutions with mjpeg format?</font></div>
<div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">Thanks for your help.</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div><font color="#888888"><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'">Garth</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br></font></div></font></span></font></div><div><font face="Consolas, 'Lucida Console', monospace, Verdana, sans-serif, 'sans serif'"><br>
</font></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>