Hi,<div><br><div>I hope you have already gone through following phrase(specially lines in red);</div><div><br></div><div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: 19px; font-weight: bold; background-color: rgb(255, 255, 255); ">Image capture</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; background-color: rgb(255, 255, 255); font-size: medium; "><p>Image capture is selected by switching <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#GstCameraBin--mode" title="The &quot;mode&quot; property" style="text-decoration: none; color: rgb(52, 101, 164); "><span class="type">&quot;mode&quot;</span></a> to <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#MODE-IMAGE:CAPS" style="text-decoration: none; color: rgb(52, 101, 164); "><code class="literal">MODE_IMAGE</code></a>. Taking still images is initiated with the <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#GstCameraBin-capture-start" title="The &quot;capture-start&quot; signal" style="text-decoration: none; color: rgb(52, 101, 164); "><span class="type">&quot;capture-start&quot;</span></a> action signal. Once the image has been captured, &quot;image-captured&quot; gst message is posted to the bus and capturing another image is possible. If application has set <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#GstCameraBin--preview-caps" title="The &quot;preview-caps&quot; property" style="text-decoration: none; color: rgb(52, 101, 164); "><span class="type">&quot;preview-caps&quot;</span></a> property, then a &quot;preview-image&quot; gst message is posted to bus containing preview image formatted according to specified caps. Eventually when image has been saved <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#GstCameraBin-image-done" title="The &quot;image-done&quot; signal" style="text-decoration: none; color: rgb(52, 101, 164); "><span class="type">&quot;image-done&quot;</span></a> signal is emitted.</p>
<p>Available resolutions can be taken from the <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#GstCameraBin--video-source-caps" title="The &quot;video-source-caps&quot; property" style="text-decoration: none; color: rgb(52, 101, 164); "><span class="type">&quot;video-source-caps&quot;</span></a> property. <font class="Apple-style-span" color="#ff0000">Image capture resolution can be set with <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-camerabin.html#GstCameraBin-set-image-resolution" title="The &quot;set-image-resolution&quot; signal" style="text-decoration: none; "><span class="type">&quot;set-image-resolution&quot;</span></a> action signal.</font></p>
<p>Some video source elements implement the <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/GstPhotography.html" title="GstPhotography" style="text-decoration: none; color: rgb(52, 101, 164); "><span class="type">GstPhotography</span></a> interface, which contains functions and properties for setting photography parameters. One can use<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html#gst-bin-iterate-all-by-interface" style="text-decoration: none; color: rgb(52, 101, 164); "><code class="function">gst_bin_iterate_all_by_interface()</code></a> to get a reference to it.</p>
</span><div><br></div><div><br></div>If this does not work for you then use camerabin2 :) <div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On Wed, Nov 16, 2011 at 1:18 PM, cokelid <span dir="ltr">&lt;<a href="mailto:justin@knib.net">justin@knib.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I&#39;m using camerabin to grab stills from a webcam showing a video stream.<br>
I&#39;ve set the image-capture-width and height properties to give a larger<br>
image than the video stream size, however they&#39;re being ignored and the<br>
jpegs being created (from the capture-start signal) are the same size as the<br>
video.<br>
<br>
Am I missing something I need to do to get different sized images? The size<br>
I&#39;m requesting is supported by the webcam...<br>
<br>
Thanks!<br>
Justin<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Camerabin-image-capture-width-height-tp4076010p4076010.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Camerabin-image-capture-width-height-tp4076010p4076010.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div></div>