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. Qt::TransformationMode with QGraphicsVideoItem?
Forum Updated to NodeBB v4.3 + New Features

Qt::TransformationMode with QGraphicsVideoItem?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 315 Views 2 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.
  • D Offline
    D Offline
    davecotter
    wrote on last edited by davecotter
    #1

    I'm manually rendering video frames for my QGraphicsVideoItem, and when presented, they seem to always scale up using Qt::FastTransformation scaling. see:

    sharp.png

    I know i can call setTransformationMode() on a QGraphicsPixmapItem, but I'm wondering if there is some way to do something similar for a QGraphicsVideoItem ?
    So it looks more like this:

    fuzzy.png

    1. i know it's not a dramatic improvement, but i'd like to try it if i can
    2. no i can not change the size / pixel density of the original image
    3. no, i can't switch to using QGraphicsPixmapItem
    4. pre-upscale is a different topic than this one, let's stick to this topic

    The answer may just be "sorry, there's no way to set the transform mode on the upscale that QGraphiscScene provides for QGraphicsVideoItem", and if so, I'd just like to know that so I don't waste my time.

    thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, it's not something you can change.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        davecotter
        wrote on last edited by
        #3

        😭😭😭😭😭😭😭😭

        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