[MPlayer-users] Flicker Black Bars on videos

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Aug 29 20:11:27 CEST 2014


On Fri, Aug 29, 2014 at 07:14:14PM +0200, X3fil wrote:
> Il 29/08/2014 18:03, Reimar Döffinger ha scritto:
> >This is more complicated.
> >The OSD is drawn using a completely different layer of the graphics
> >hardware, so that it works is not surprising.
> >I suspect the flickering is a bug/limitation of the libvdpau-sunxi when
> >the output surface is larger than the (upscaled) video surface.
> >Looking at the code it seems to do XClearWindow.
> >I could imagine that the problem is that XBMC uses -wid, with the
> >window being the one it does OpenGL drawing into?
> >That would then mean that its OpenGL drawing will be fighting
> >with that XClearWindow, with random results on who "wins"
> >and is displayed.
> >I see no really easy solution, though XBMC probably should stop
> >drawing its UI when it won't be visible anyway, that certainly
> >is a waste of CPU and GPU power!
> >Or is it supposed to be visible? Then commenting out that XClearWindow
> >might fix it.
> 
> No, it's not supposed to be visible. mplayer should gain the focus on the
> whole area. XBMC should come back only when mplayer stops to play the video.
> Do you think then I need to investigate more on xbmc or on libvdpau-sunxi? I
> could ask there as well.

My guess is that both are equally wrong, so you can investigate both
ends.
I expect XBMC to be easier to fix, can't be that hard to just stop
drawing things in the window while the video is playing?!


More information about the MPlayer-users mailing list