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

Implement custom gstreamer pipelines in QML MediaPlayer

    XMLWordPrintable

Details

    Description

      I am using Qt5 for development on an imx6 based embedded system. Especially with one of the last zero-copy patches the performance of QtMultimedia is really great.

      Unfortunately, I frequently come to the limits of the "playbin" element used in the MediaPlayer (e.g. can't stream from local webcams or ONVIF compliant IP cams), while it is perfectly possible to view these streams with simple custom pipelines in gstreamer.

      While there is the QtGstreamer project, its complexity makes it difficult to use, and it misses important features such as the zero-copy patch in Qt5.3, thus making it performance-wise unusable on the imx6 and other platforms.

      I think that it would be VERY helpful, if the QML MediaPlayer could be enhanced to not only accept URIs, but also custom pipelines.

      Currently qgstreamerplayersession.cpp builds the pipeline with

      m_playbin = gst_element_factory_make("playbin2", NULL);

      If this could be change so that the pipeline is constructed from a string (Gstreamer does provide such a function), that would be EXTREMELY helpful.

      Any chance to develop something like this?

      I would need this pretty badly and would be willing to sponsor this development.

      Michael

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            neuer_user Michael B.
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes