[GEM-dev] [pix_video]: issue with swapped colors

Roman Haefeli reduzierer at yahoo.de
Tue May 8 18:28:26 CEST 2007


yeah, i am pretty sure. if i record it to a file.mov, i can swap R and
B, when playing with mplayer and then it looks fine. a similar issue,
but with wrong colorspace, i have in gridflow with the same usb-cam,
therefor i know, how it looks, when rgb is displayed as yuv.

roman

On Tue, 2007-05-08 at 12:13 -0400, marius schebella wrote:
> are you sure R and B are swapped? or is it a YUV/RGB problem?
> because I found similar problems and thought is was a problem of colorspace.
> marius.
> 
> Roman Haefeli wrote:
> > hello everyone
> > 
> > 
> > when using [pix_video] with my built-in tv/video-card, colors look ok,
> > but when i use it with the  usb_cam [1], R and B are swapped. this
> > happens only in gem. with other softwares (mplayer, camorama) both
> > devices appear to have correct colors. 
> > 
> > is it possible to _slightly_ change the source code of [pix_video], so
> > that R- and G-subpixels are swapped?
> > if yes, would it be possible with reasonable little effort to copy the
> > source of [pix_video] to a new object called e.g. [pix_videoBGR], so
> > that i can decide at runtime, which version i want to use? 
> > 
> > thanks for any hints
> > 
> > roman 
> > 
> > 
> > [1] philips spc900nc with latest pwc-driver from:
> > http://www.saillard.org:8080/linux/pwc/
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 	
> > 		
> > ___________________________________________________________ 
> > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > GEM-dev mailing list
> > GEM-dev at iem.at
> > http://lists.puredata.info/listinfo/gem-dev
> 




	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de





More information about the GEM-dev mailing list