<P>
Hi Edgard,<BR>
Wish you a very happy & prosperous new year 2007.<BR>
Thanks for your reply. It is very helpful to me.<BR>
I used GstColorBalance APIs to change the brightness/contrast setting as you suggested and saw some improvement in picture quality.<BR>
I need to find out the proper values of hue/saturation/brightness/contrast to get the best picture quality out of this webcam.<BR>
Once again, thank you very much for your input.<BR>
<BR>
Regards,<BR>
Sanjay<BR>
<BR>
<BR>
On Thu, 28 Dec 2006 Edgard Lima wrote :<BR>
><BR>
>Hi,<BR>
><BR>
>first of all try to see the image you are capturing<BR>
><BR>
>v4lsrc ! xvimagesink (try also v4l2src ! xvimagesink)<BR>
><BR>
>then try some capabilities<BR>
><BR>
>v4lsrc ! video/x-raw-yuv,framerate=12/1 ! xvimagesink<BR>
><BR>
>if you get some errors look the log messages to get a hint of others framerates<BR>
><BR>
>then, if the image is too dark or whatelse bad<BR>
><BR>
>write an app and use GstColorBalance interface to modify some parameters like brightness and contrast<BR>
>(look into http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.8&view=markup to see how to write such app)<BR>
><BR>
>in addition you could also use a queue element between v4lsrc and theoraenc<BR>
><BR>
>BR,<BR>
>Edgard<BR>
><BR>
><BR>
>ext sanjay kumar gupta escreveu:<BR>
>><BR>
>>Hi,<BR>
>>I have logitech quickcam express webcam. Recorded video quality from this web cam is very bad.<BR>
>>These are the details in my system:<BR>
>>$ uname -a<BR>
>>Linux localhost.localdomain 2.6.16.20 #1 SMP Tue Dec 19 10:59:29 IST 2006 i686 i686 i386 GNU/Linux<BR>
>>$ /sbin/lsmod |grep video<BR>
>>video 18820 0<BR>
>>videodev 13440 1 spca5xx<BR>
>><BR>
>>I am using the following command to record the video:<BR>
>><BR>
>>$ gst-launch-0.10 v4lsrc ! videoscale ! 'video/x-raw-yuv,frame-rate=(double)12.0' ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=abc.ogg<BR>
>><BR>
>>I tried with different frame rates, width, height combination in the filter in command line but got same quality video.<BR>
>>Can someone please tell me how to get better video quality from this webcam using gstreamer?<BR>
>>Attaching the recorded video sample file.<BR>
>>Thanks in advance.<BR>
>>Regards,Sanjay<BR>
>><BR>
>><BR>
>><BR>
>><http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3> <BR>
>>------------------------------------------------------------------------<BR>
>><BR>
>>-------------------------------------------------------------------------<BR>
>>Take Surveys. Earn Cash. Influence the Future of IT<BR>
>>Join SourceForge.net's Techsay panel and you'll get the chance to share your<BR>
>>opinions on IT & business topics through brief surveys - and earn cash<BR>
>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV<BR>
>>------------------------------------------------------------------------<BR>
>><BR>
>>_______________________________________________<BR>
>>gstreamer-devel mailing list<BR>
>>gstreamer-devel@lists.sourceforge.net<BR>
>>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR>
><BR>
</P>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>