If you only need to decode and play the video and require overlays, I would think about using the Phonon infrastructure and use QT Graphics View using Phonon :: VideoWidget inside QGraphicsProxyWidget. This way you can easily get overlays, cross fading, animations, etc. Phonon on Windows uses DirectShow as its source. You can install FFDShow and get the same codecs that ffmpeg should play video.
source share