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

Unable to use IPU based camera on Linux mainline based device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.4
    • Multimedia
    • None
    • 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

            artemiy Artem Dyomin
            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