[gst-devel] Camera Configurations with Gstreamer

Marlos C. Machado dreedmurdock at gmail.com
Fri Oct 15 01:37:25 CEST 2010


It would be amazing if you could share this codes, it seems it will
solve my problem.

Thanks!

(Sorry, sent 2 e-mails from different accounts)

-- 
Marlos Cholodovskis Machado <marlos at dcc.ufmg.br>

o <andreynech at googlemail.com>:
> Hi,
>
>> I'm developing a game which uses a PSEye (Camera) in Ubuntu. I'm able
>> to play what the camera captures in the game but the camera is auto
>> adjusting its gain (V4L2_CID_AUTOGAIN on Video For Linux Two API). I
>> don't want this behavior. Can I disable the camera AUTOGAIN using only
>> the Gstreamer?
>
> AFAIK, you can not do it neither with v4l2src nor with any other
> elements available. I agree, that it would be nice feature for
> v4l2src.
>
>> I've understood that I need to develop a mini-driver using the V4L2
>> API, which is time-consuming for a simple task, since I'm able to do
>> all the rest I need using Gstreamer it would be wonderful to use only
>> it. I'm programming in C++ on Ubuntu 10.04.
>
> I do not think that driver is necessary in this case. If the camera
> already supported by V4L2 (and as I understand it is the case) then
> you can use V4L2 API from your application to set controls as you like
> before using gstreamer.
>
> For example, recently I did something similar (disable auto exposure
> to increase the frame rate) before running gstreamer pipeline. To
> learn how it works, I've written small program which prints available
> camera controls and could be used to set these controls. Let me know
> if you want to take a look at sources. I'll be glad to share it.
>
> Regards,
> Andrey.
>
>>
>> Thanks in advance,
>>
>> --
>> Marlos Cholodovskis Machado
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Marlos Cholodovskis Machado




More information about the gstreamer-devel mailing list