Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt::TransformationMode with QGraphicsVideoItem?



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


  • Lifetime Qt Champion

    Hi,

    AFAIK, it's not something you can change.


  • Lifetime Qt Champion

    Hi,

    AFAIK, it's not something you can change.



  • 😭😭😭😭😭😭😭😭


Log in to reply