Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Using Gstreamer
Forum Updated to NodeBB v4.3 + New Features

Using Gstreamer

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 417 Views 2 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.
  • V Offline
    V Offline
    Vi67
    wrote on last edited by
    #1

    Hello,

    I would like to test the new gst-pipeline.

    I tried a simple qml as described in MediaPlayer.

    import QtQuick 2.15
    import QtQuick.Window 2.15
    import QtMultimedia 5.15
    
    Window {
        width: 640
        height: 480
        visible: true
        title: qsTr("Hello World")
    
        Item {
            anchors.fill: parent
    
            MediaPlayer {
                id: mediaplayer
                source: "gst-pipeline: videotestsrc ! qtvideosinks"
                onError: {
                    console.log(errorString);
                }
            }
    
            VideoOutput {
                anchors.fill: parent
                source: mediaplayer
            }
        }
    }
    

    I tried for both kits :

    • Desktop Qt 5.15.1 clang 64bit
    • Qt 5.15.1 for iOS Simulator

    And I get the same error :

    qml: Failed to load media
    

    Did I miss something ?
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From the looks of it you are trying to run that on macOS and iOS so it will not work. GStreamer is the backend for Linux.

      Therefore, unless you built GStreamer and the corresponding plugin for your platform, you will not be able to use these custom pipelines.

      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
      1

      • Login

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