Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124464

[Boot2Qt] Capture error appears when switching the camera from CSI one to USB one (webcam) while recording

    XMLWordPrintable

Details

    • Linux/Yocto

    Description

      Linux Ubuntu 22.04.4 / Wayland

      Qt Creator 13.0.0

      Device: Raspberry Pi4 64 bit 

      Steps to reproduce:

      1. Run widgets camera example.
      2. Change the capture mode to video.
      3. Change the camera to CSI one.
      4. Change the camera settings accordingly (see attached screenshot)
      5. Start recording.
      6. Change the camera to USB connected one (HD webcam)
      7. Change back to CSI and then back to USB. 

      Expected: The recording should continue. Even in case of error, camera should be re-initialized when switched back.

      Actual: Internal data stream error appears. Camera cannot be used again and the app has to be relaunched.

      Reproducibility:  100% 

       

      NOTE: It works when starting the recording from USB camera and then switching multiple times the camera doesn't produce the error.

      Attachments

        1. CSI_to_USB.txt
          16 kB
        2. dotfiles-csi-to-usb.zip
          27 kB
        3. dotfiles-usb-to-csi.zip
          21 kB
        4. IMG_6955.jpg
          IMG_6955.jpg
          5.39 MB
        5. IMG_6957.mp4
          7.65 MB
        6. USB_to_CSI.txt
          62 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              timblechmann tim blechmann
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes