Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. DirectShow and device property dialogs
Forum Updated to NodeBB v4.3 + New Features

DirectShow and device property dialogs

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 1.1k 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.
  • U Offline
    U Offline
    unDerTech
    wrote on 21 Jul 2020, 09:07 last edited by
    #1

    Hello, I need to show the dialogs page of a Video Device from Qt.
    I need in order to use OPENCV and I need to configure the capture device to PAL_B, by default is NTSC.

    It's possible to do this?

    Thanks
    Undy

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Jul 2020, 18:10 last edited by
      #2

      Hi and welcome to devnet,

      How will you be configuring these devices ?

      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
      • U Offline
        U Offline
        unDerTech
        wrote on 22 Jul 2020, 07:26 last edited by
        #3

        Hello, and thanks for answering.

        That I need is to enum the video capture devices in a system, select one and call his property page.
        This page, I think, can have up to 3 subpages, source, format and display.

        I want to use opencv and QT and with a webcam works ok, but a camera with capture device, I need to configure it before use.
        For example, the video capture device by default is configured to NTSC and my camera is PAL_B, opencv can't change this. I think I need call driver standard DSHOW config pages to do this.

        Do you understand me?
        Thanks

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Jul 2020, 18:33 last edited by
          #4

          How are you doing it currently ?

          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
          • U Offline
            U Offline
            unDerTech
            wrote on 23 Jul 2020, 09:47 last edited by
            #5

            Currently only opening de camera. Previously with a video app, I configure de driver to PAL_B.
            I can't open this dialog from Qt, pyrhon etc.

            OpenCV is ok to work with webcams, but to work with video capture devices......... These devices need to configure their parameters in order to work.

            Thanks

            1 Reply Last reply
            0
            • B Offline
              B Offline
              Bonnie
              wrote on 23 Jul 2020, 13:59 last edited by Bonnie
              #6

              If you open the device by opencv, then I don't think Qt can configure it.
              Also, I don't find any Qt API that can show DSHOW config dialog.

              Instead, I find that there is CAP_PROP_SETTINGS in cv::VideoCaptureProperties.

              CAP_PROP_SETTINGS
              Python: cv.CAP_PROP_SETTINGS

              Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. The property value is ignored)

              Maybe you should have a look at that?

              1 Reply Last reply
              2
              • U Offline
                U Offline
                unDerTech
                wrote on 24 Jul 2020, 09:02 last edited by
                #7

                Hi, effectively. Qt can not configure it, but neither can OpenCV .
                CAP_PROP_SETTING have not access to these configurations.

                The only way is by directshow API, (or VFW).
                I have been able to find several examples in c++ but I don't unsterstand them and they don't work.

                I'm using Qt with MVS2017 64 bits.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 24 Jul 2020, 18:16 last edited by
                  #8

                  What example are these ?

                  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
                  • U Offline
                    U Offline
                    unDerTech
                    wrote on 24 Jul 2020, 19:18 last edited by
                    #9

                    I am reading about..........

                    https://docs.microsoft.com/en-us/windows/win32/directshow/display-vfw-capture-dialog-boxes

                    https://stackoverflow.com/questions/54707428/how-to-show-video-capture-filter-dialog-camera-settings-like-brightness-exposu

                    etc etc

                    1 Reply Last reply
                    0
                    • U Offline
                      U Offline
                      unDerTech
                      wrote on 27 Jul 2020, 07:31 last edited by
                      #10

                      Any idea?

                      Thanks

                      1 Reply Last reply
                      0

                      1/10

                      21 Jul 2020, 09:07

                      • Login

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