Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multiple video display with Qt
Forum Updated to NodeBB v4.3 + New Features

Multiple video display with Qt

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.8k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mikecarlos
    wrote on last edited by
    #1

    Hi,

    I am kind of new to Qt and trying to develop a desktop application where I want to display multiple videos (five of them or more, no audio) on the screen. The videos will be streamed from the memory for now. I am just asking for suggestions for where to start. The options in my mind are

    • Use QGLPixelBuffer's and textures
      OR
    • Use multiple QVideoFrame's which I recently came across...

    Any other suggestions are welcome. I want to load the CPU as less as possible of course so I want to make use of the opengl buffers as much as possible. The videos are not HD or anything. Just VGA videos.

    thanks
    mike

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AlterX
      wrote on last edited by
      #2

      Hello,
      I am using the qtmultimedia example as base for my app.
      I am doing a same app where video objects are created dynamically...I'm just experiencing problem with multiple video initializations and sometimes videos swapping among my video objects.
      First thing to do (if you are using windows):

      1. download offline version of Qt without opengl (it uses ANGLE)
      2. set QGraphicsView's viewport with an instance of QGLWidget
      3. disable some optimization flags of QGraphicsView

      I've lost lots of time trying opengl version without success; opengl version use cpu decoding and ha some bug like "fast-forwording" of video. ANGLE version use directx hardware accelleration and has no bug inside

      Setting QGLWidget as viewport, speeds up your application enabling opengl

      Optimization flags, maybe can useless, but are not hurting...
      I've opened a bug on multiple instance of video object in the same app just to have official interesting and informations.

      Qt Ambassador
      Real-time cooperative teams: http://www.softairrealfight.net
      Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

      https://codereview.qt-project.org/...

      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