cychiang / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
1 stars 0 forks source link

Using Pipelines to adjust video contrast #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Let me know if it is a wrong place to post this one.....

Currently using pipeline to capture desktop screen and making broadcast

pipeline=ximagesrc do-timestamp=true use-damage=true startx=1164 starty=582 
endx=1597 endy=822 ! ffmpegcolorspace ! video/x-raw-rgb,bpp=24,depth=24 ! 
videoscale ! video/x-raw-rgb,width=427,height=240 ! ffmpegcolorspace name=tosink

find my video quality is not good (a bit dark)... so try to think if possible 
to make it brigher... 

have tried the following command in terminal and work....

gst-launch -v videotestsrc pattern=smpte ! 
video/x-raw-rgb,bpp=32,depth=32,width=240,height=200 ! ffmpegcolorspace ! 
videobalance brightness=0.4 contrast=1.2 ! xvimagesink

the problem is cannot put "videobalance" into the pipeline commandline....

Any ideas?
Thanks.

Original issue reported on code.google.com by neogeo1...@gmail.com on 22 Feb 2012 at 8:00

GoogleCodeExporter commented 9 years ago
More of an issue with gstreamer.  Try inserting a ffmepgcolorspace to help a bit

Original comment by patrick.balleux on 30 Mar 2012 at 12:19