Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
3D stereoscopic video, line-by-line (interlaced) in QML.
pauldotknopf last edited by
I'd like to implement a QML component that accepts two video inputs (using the
MediaPlayercomponent) to combine them into a single line-interlaced image for 3D monitors. Each horizontal line alternates between left and right image.
Here is a demo: https://www.youtube.com/watch?v=KS2g8k1tkmg
I found an example of someone using
QPainterand masking to paint two images, but I don't think it is very performant.
With that said, what is my best approach here?
I don't have a problem with getting the
Should I try to use the
QSGVideoNode? Will the
QSGNodetypes allow me to achieve combine/render two
QSGVideoNodeinstances in line-interlaced mode?
Should I just use the
QQuickFramebufferObjectclass and do things myself with traditional OpenGL commands?