[gst-devel] VIDIOC_S_CTRL with GStreamer
Yiliang Bao
yiliangb at gmail.com
Sat Mar 20 07:50:04 CET 2010
Hi John,
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.
fd = open (videoDevName, O_RDWR /* required */ | O_NONBLOCK, 0);
Usually it is allowed by the v4l2 driver, as long as you are not trying to
stream video in the second opened instance.
Yiliang
On Fri, Mar 19, 2010 at 8:59 PM, John Buckley <buckleyassoc at comcast.net>wrote:
> Hello,
> I would like to set the V4L2 zoom and focus controls on a compatible camera
> while using a Gstreamer pipeline to stream video.
>
> I see the documentation on how to get and set the controls using
> VIDIOC_G_CTRL & 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.
>
> Can v4l2 commands to set control values be sent while a Gstreamer pipeline
> is active?
>
> - John
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100319/b21a02c1/attachment.htm>
More information about the gstreamer-devel
mailing list