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. [desktop] Video recording is not working
Qt 6.11 is out! See what's new in the release blog

[desktop] Video recording is not working

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 1.4k 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.
  • nishiokasN Offline
    nishiokasN Offline
    nishiokas
    wrote on last edited by
    #1

    Hello there.
    I'd like to video recording with usb camera on qml application for linux.
    I use "QML Camera Example declarative-camera".
    https://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-example.html

    CameraButton {
        text: "Record"
        onClicked: camera.videoRecorder.record()
    }
    

    when I clicked "Record" button then I can see error message on Qt creator's application output window.
    CameraBin error: "Device '/dev/video0' is busy"
    CameraBin error: "Internal data flow error."
    Next I clicked "Stop" button then clicked "Record" button again.
    I can see it.
    CameraBin warning: "Can't record audio fast enough"
    I don't know how to do but sometome I can see it.
    ** (declarative-camera:439): CRITICAL **: No headers or buffers on pad muxer:video_941036892

    I wonder if I have to change setting on linux or something?

    Thanks for any advice.

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

      Hi and welcome to devnet,

      Please add more details to your post like Qt version, Linux distribution version, device you are using, your computer specs, etc.

      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
      1
      • nishiokasN Offline
        nishiokasN Offline
        nishiokas
        wrote on last edited by
        #3

        @SGaist
        thanks for reply!

        more details.
        ・Qt varsion 5.9.1( I tried 5.7.0 but same)
        ・board Colibri iMX6
        ・Linux Kernel 4.1.39
        ・USB camera

        run the program on board.

        thanks.

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

          Is there anything else also accessing /dev/video0 beside your application ?

          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

          • Login

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