<div style="text-align: left;">Hi John,<br><br>Yes, you can do this. You can open another file on the same device using following function, even if the device is already streaming video. <br><br>  fd = open (videoDevName, O_RDWR /* required */ | O_NONBLOCK, 0);<br>
<br>Usually it is allowed by the v4l2 driver, as long as you are not trying to stream video in the second opened instance.<br><br>Yiliang<br></div><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 8:59 PM, John Buckley <span dir="ltr">&lt;<a href="mailto:buckleyassoc@comcast.net">buckleyassoc@comcast.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0);">Hello,<br>I would like to set the V4L2 zoom and focus controls on a compatible camera while using a Gstreamer pipeline to stream video.<br>
<br>I see the documentation on how to get and set the controls using VIDIOC_G_CTRL &amp; VIDIOC_S_CTRL commands but this assumes that you have opened a connection using v4l2-open and have a file handle to the v4l2 camera.<br>
<br>Can v4l2 commands to set control values be sent while a Gstreamer pipeline is active?<br><font color="#888888"><br>- John<br></font></div></div><br>------------------------------------------------------------------------------<br>

Download Intel&amp;#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>