Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to design a custom videoOutput?
Forum Updated to NodeBB v4.3 + New Features

How to design a custom videoOutput?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 822 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.
  • S Offline
    S Offline
    stereomatching
    wrote on last edited by
    #1

    The videoOutput I mean is
    @
    Rectangle {
    width: 320
    height: 240

        Camera{
            id: camera
        }
     
        VideoOutput {
            id: videoOutput
     
            anchors.fill: parent
            source: camera
        }    
     
        GammaAdjust {
            id: gammaAdjust
     
            anchors.fill: videoOutput
            source: videoOutput
            gamma: 0.5
        }
    }
    

    @

    How could design the videoOutput by myself?
    Maybe this is the fastest and easiest way to save the
    image after postprocessing,thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stereomatching
      wrote on last edited by
      #2

      I tried grab() function before, but this solution can't work on android,it will crash
      I find through the document and exmaples but have no clue of how to get the buffer of videoOutput, safe the result after postprocess or create my own videoOutput

      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