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. Change QML Camera viewfinder and capture pixel format
Forum Updated to NodeBB v4.3 + New Features

Change QML Camera viewfinder and capture pixel format

Scheduled Pinned Locked Moved Solved QML and Qt Quick
19 Posts 2 Posters 2.1k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #10

    I just had a doubt, what if you use the xvimagesink ?
    Are you seeing the live image of your camera ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    NoodlesDevN 1 Reply Last reply
    0
    • SGaistS SGaist

      I just had a doubt, what if you use the xvimagesink ?
      Are you seeing the live image of your camera ?

      NoodlesDevN Offline
      NoodlesDevN Offline
      NoodlesDev
      wrote on last edited by
      #11

      @SGaist xvimagesink does not support image/jpeg, I just get:

      WARNING: erroneous pipeline: could not link v4l2src0 to xvimagesink0, xvimagesink0 can't handle caps image/jpeg
      
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #12

        Can you open the camera with VLC ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        NoodlesDevN 1 Reply Last reply
        1
        • SGaistS SGaist

          Can you open the camera with VLC ?

          NoodlesDevN Offline
          NoodlesDevN Offline
          NoodlesDev
          wrote on last edited by
          #13

          @SGaist I've never used VLC on the command line, and I'm having trouble figuring out how to stream directly from my local camera. Could you please provide me with some indications on how to do?

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

            I meant just testing with the VLC application.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            NoodlesDevN 1 Reply Last reply
            0
            • SGaistS SGaist

              I meant just testing with the VLC application.

              NoodlesDevN Offline
              NoodlesDevN Offline
              NoodlesDev
              wrote on last edited by
              #15

              @SGaist Yeah sorry, I've just noticed the "Open capture device" option in the GUI program... My bad.
              Anyway, I get the same problem, VLC defaults to YUYV and I get extremely low FPS. As far as I could see there were no option to set the capture format at all.

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

                Then I fear you are going to have to go lower level to set the stream type...

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                NoodlesDevN 1 Reply Last reply
                0
                • SGaistS SGaist

                  Then I fear you are going to have to go lower level to set the stream type...

                  NoodlesDevN Offline
                  NoodlesDevN Offline
                  NoodlesDev
                  wrote on last edited by
                  #17

                  @SGaist Yes, that's what I feared too.
                  Since there seems to be no suitable Qt-based solution at all, I'm closing the topic as solved.

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

                    Did you check with the GStreamer folks whether there was something possible with directly from their v4l2 plugin ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    NoodlesDevN 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Did you check with the GStreamer folks whether there was something possible with directly from their v4l2 plugin ?

                      NoodlesDevN Offline
                      NoodlesDevN Offline
                      NoodlesDev
                      wrote on last edited by
                      #19

                      @SGaist Well, no, but I might as well try at this point.

                      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