[Qt-interest] Fade In/Out Video with Phonon

Josiah Bryan jbryan at productiveconcepts.com
Sat Feb 20 20:07:01 CET 2010


Hey All -

I'm designing a custom video wall program for an upcoming "event" at a 
local auditorium, and I'm trying to get phonon to do the smooth 
transitions from one video to the next that is "necessary" for a 
polished presentation.

Bottom Line: Is there a way to get Phonon to fade video in from black / 
fade out to black?

What I've tried: Since I havn't been able to find a way to cross-fade 
between videos with phonon (see previous threads for my rants on that - 
sample code available to prove my point on request), I figured i'd try 
just getting phonon to fade the video in (e.g. fade from black) and fade 
out (fade to black). I've tried using the setBrightness method on 
Phonon::VideoWidget, but at its lowest setting (-1.0), the video is 
still very clear (reds and greens show up particularly good still at 
-1.0 brightness.) Even with setting contrast down to -1 at the same 
time, video still show through. Going the other way (fade to white, or 
+1.0 brightness) - works  a bit better, but even at 1.0, video still 
legible.

Any ideas anyone?

Thanks!
-josiah





More information about the Qt-interest-old mailing list