[vlc-devel] XV output green screen

Damien Fouilleul damien.fouilleul at laposte.net
Thu Aug 16 16:18:44 CEST 2007


I remember fixing a similar issue for win32 vouts, basically the green 
flash appears when the vout is open, but has no picture to display yet; 
the buffer is 0 filled initially, which translates as green in YUV 
colorspace. The best fix is to delay filling the vout window with the 
colorkey until the first picture has been rendered, the vout window 
should be filled with 'ordinary' black color till then.

whenever you have it fixed, please post a patch so that we can apply it 
to VLC development tree.


Martin Forget wrote:
> hello everybody,
> i am building a digital signage player with vlc and i have a quick  
> question...
> first, i am primarly using the vlc.plugin.2 within a firefox browser  
> for display, using linux, the XV colorkey and overlaying an other window
> to display some flash OSD on top of my video... works great.
> the problem is not related to vlc.plugin because i have also  
> experienced the same issue with root window or fullscreen playback,
> on linux AND macosx.
> my problem is that when vlc has to define a new  vout, (like running  
> a new window, changing codec... or sometime (not all the time)  
> starting a video
> of the same video as the last played... it creates a green flash.
> btw, my XV colorkey is set to black, so it's not related... the fact  
> that it does it also on mac sounds like more like a codec thing (like  
> the first frame would be green), but i am not sure why it would only  
> do it  on a new vout... thne it sounds like vout related???
> anyway,  i would like to force this flash to a black (or black like)  
> color, for estethic reasons,
> would someone have an idea where to look in the code for this? and  
> point me in the right direction
> thanks a lot!
> great work on vlc... !
> -martin
> _______________________________________________
> vlc-devel mailing list
> vlc-devel at videolan.org
> http://mailman.videolan.org/listinfo/vlc-devel

vlc-devel mailing list
vlc-devel at videolan.org

More information about the vlc-devel mailing list