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

Unable to use IPU based camera on Linux mainline based device

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.4
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Linux/Yocto

      Description

      On i.MX6DL based board with an ADV7280, I can successfully capture from an analog camera using the following Gstreamer pipeline:

       

      gst-launch-1.0 v4l2src device=/dev/video2 ! kmssink 
      

      The next goal is to integrate it within the Qt multimedia application:

      https://github.com/qt/qtmultimedia/blob/5.15.2/src/gsttools/qgstutils.cpp#L631-L687

      The Qt app uses the VIDIOC_ENUMINPUT and VIDIOC_S_INPUT ioctl's, but as these are not implemented by the imx-media-capture driver yet, it causes the camera not to be detected.

      In contact with Linux media mailing list fellows, it has been commented it seems not correct to implement those to an IPU-based device however we're failing to find a way to make it work using current Qt Multimedia code.

      Are we missing something?

        Attachments

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

          Activity

            People

            Assignee:
            valentyn.doroshchuk Valentyn Doroshchuk
            Reporter:
            otavio Otavio Salvador
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes