Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. 3D stereoscopic video, line-by-line (interlaced) in QML.

3D stereoscopic video, line-by-line (interlaced) in QML.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 564 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pauldotknopf
    wrote on last edited by
    #1

    I'd like to implement a QML component that accepts two video inputs (using the MediaPlayer component) 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 QPainter and 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 QVideoFrame from the MediaPlayer components.

    Should I try to use the QSGVideoNode? Will the QSGNode types allow me to achieve combine/render two QSGVideoNode instances in line-interlaced mode?

    Should I just use the QQuickFramebufferObject class and do things myself with traditional OpenGL commands?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved