Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer - bad video performance on Windows and wrong colors
Qt 6.12 LTS is out! See what's new in the release blog

QMediaPlayer - bad video performance on Windows and wrong colors

Scheduled Pinned Locked Moved General and Desktop
qmediaplayervideoperformancewindowslinux
1 Posts 1 Posters 1.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello

    In my QT5 (C++) project I use QMediaPlayer to play a video file and QVideoProbe to grab single frames.

    The video file is displayed on a QGraphicsView as a QGraphicsVideoItem. The grabbed frames are displayed on another QGraphicsView.

    The same code is running on Linux and Windows on the same system. But on Linux the performance is much better than on Windows. When I try to play the video file in normal speed the QGraphicsView stays black but the video progress slider keeps moving. When I play the video on half speed the video is getting displayed.

    Another problem is, that the colors in the video are wrong on Windows. It seems that the color chanels are swaped. Blue gets yellow and yellow gets blue. Red seems to be OK (maybe).
    For example a red umbrella gets purple or a blue box gets yellow.

    Do I need some extra codec or a special hardware accellerated version of QT?

    I search already for this problems but I didn't find anything.

    My test files are MP4 files from a Bebop Drone. But I also have these problems with other formats from other devices.

    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
    • Unsolved