Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Flip camera output horizontal or vertical?
Qt 6.11 is out! See what's new in the release blog

Flip camera output horizontal or vertical?

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 1 Posters 661 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.
  • davecotterD Offline
    davecotterD Offline
    davecotter
    wrote on last edited by
    #1

    In Qt5, when using a QGraphicsVideoItem to display the output of a QCamera in your QGraphicsScene, you must "start" the abstract video surface of your VideoItem, and at that point you pass in the format of the frames. It is here you can specify these settings:

    format.setMirrored(true);
    format.setScanLineDirection(QtVideoFrameFormat::BottomToTop);
    

    for flip horizontal and vertical, respectively.

    Since, in Qt6, you no longer need to "start" a VideoSink, and there is no method to set the format, how do i accomplish the same thing?

    1 Reply Last reply
    0
    • davecotterD Offline
      davecotterD Offline
      davecotter
      wrote on last edited by
      #2

      https://bugreports.qt.io/browse/QTBUG-96073

      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