Camera exposure

Stefan Kost ensonic at hora-obscura.de
Thu Jul 7 09:31:00 PDT 2011


On 07/07/11 05:59, Ian Liu Rodrigues wrote:
> The implementation of the interface would require knowledge in Linux
> drivers or is there already a layer between the driver and GStreamer?

Most of the setting in the interface would be mapped to v4l2-controls.
Have a look at the v4l2src source code and checkout how e.g. the
videobalance interface works. You would need to do the same for
additional controls. Its all user-space code, no driver modifications
needed.

Stefan
>
> Cheers,
> Ian L.
>
> On Thu, Jul 7, 2011 at 2:46 AM, Stefan Kost <ensonic at hora-obscura.de
> <mailto:ensonic at hora-obscura.de>> wrote:
>
>     On 07/06/11 07:12, Ian Liu Rodrigues wrote:
>>     Hi list!
>>
>>     This is my first mail to the list, salut.
>>
>>     I would like to know if it is possible to control some USB webcam
>>     properties, such as exposure time. I see there is an interface
>>     called GstPhotography but it seems the "camerabin" element does
>>     not implement it.
>     Yes, ideally the camera-source elements would need to implement
>     it. Right now v4l2src cannot implement it easily as the interface
>     is in bad. It would be good to add a copy to v4l2src and implement
>     the iface to see how well it goes, then the interface should go to
>     base and the copies get removed.
>
>     Stefan
>>
>>     Thanks and cheers,
>>     Ian L.
>>
>>
>>     _______________________________________________
>>     gstreamer-devel mailing list
>>     gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
>>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110707/bed44b6a/attachment.htm>


More information about the gstreamer-devel mailing list