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. QML Camera works strange in Linux Framebuffer

QML Camera works strange in Linux Framebuffer

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlcameraembedded
1 Posts 1 Posters 477 Views
  • 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.
  • M Offline
    M Offline
    MintogoDeveloper
    wrote on 6 Nov 2019, 05:14 last edited by MintogoDeveloper 11 Jun 2019, 05:16
    #1

    Hi I develop some camera application on embedded environment.

    Here is my develop environment and qt versoin

    • Develop environment
    • device : Odroid C2
    • CPU : ARM 64
    • OS: Ubuntu 18.04 minimal
    • Qt : 5.9.5 build against to eglfs
    • Camera : USB Web cam

    I need to use QML Camera module on my app, so I added below code to test it.

    import QtQuick 2.9
    import QtQuick.Window 2.0
    import QtMultimedia 5.9

    Window {
    id: window
    visible: true
    width: 1280
    height: 800
    title: qsTr("Hello World")

    Item {
        id: item
        width: 640
        height: 480
    
        Camera {
            id: camera
    
            viewfinder.resolution: Qt.size(640, 480)
        }
    
        VideoOutput {
            source: camera
            anchors.fill: parent
            focus : visible
        }
    }
    

    }

    above code is very simple camera viewer code.

    In desktop environment, camera image is very cool and smooth.

    but In my develop environment (Odroid C2 Ubuntu 64 eglfs)

    camera image is broken like a tearing (please show attatced Images)

    1.png
    2.png

    How can I resolve or reduce it?

    1 Reply Last reply
    0

    1/1

    6 Nov 2019, 05:14

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved