Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT6.5 QtMultimedia ffmpeg problems.
QtWS25 Last Chance

QT6.5 QtMultimedia ffmpeg problems.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
ffmpegqtmultimediaqtquickqt6.5
2 Posts 2 Posters 669 Views
  • 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.
  • S Offline
    S Offline
    sethsource
    wrote on last edited by sethsource
    #1

    Re: QTMultimedia FFMPEG backend preview

    So i've waited until the full stable release of QT6.5 as instructed by many people. I'm still facing the same issues.

    playing rtsp video is still not working. MediaPlayer status gives me "invalid media" and errorstring gives me "could not open file"

    this code works perfectly on linux. this is a WINDOWS ONLY problem that needs to be fixed.

    Running latest qt6.5 release as of 4/3/23. running MSVC2019 with cmake.

    import QtQuick
    import QtMultimedia
    
    Window {
        width: 1280
        height: 720
        visible: true
    
        MediaPlayer {
            id: player
            source: Qt.resolvedUrl("rtsp://192.168.2.18/h264_stream")
            audioOutput: AudioOutput {}
            videoOutput: videoOutput
            onErrorOccurred: console.log(errorString)
        }
    
        VideoOutput {
            id: videoOutput
            anchors.fill: parent
            anchors.margins: 20
    
        }
    
        Component.onCompleted: {
            player.play()
        }
    }
    
    O 1 Reply Last reply
    1
    • S sethsource

      Re: QTMultimedia FFMPEG backend preview

      So i've waited until the full stable release of QT6.5 as instructed by many people. I'm still facing the same issues.

      playing rtsp video is still not working. MediaPlayer status gives me "invalid media" and errorstring gives me "could not open file"

      this code works perfectly on linux. this is a WINDOWS ONLY problem that needs to be fixed.

      Running latest qt6.5 release as of 4/3/23. running MSVC2019 with cmake.

      import QtQuick
      import QtMultimedia
      
      Window {
          width: 1280
          height: 720
          visible: true
      
          MediaPlayer {
              id: player
              source: Qt.resolvedUrl("rtsp://192.168.2.18/h264_stream")
              audioOutput: AudioOutput {}
              videoOutput: videoOutput
              onErrorOccurred: console.log(errorString)
          }
      
          VideoOutput {
              id: videoOutput
              anchors.fill: parent
              anchors.margins: 20
      
          }
      
          Component.onCompleted: {
              player.play()
          }
      }
      
      O Offline
      O Offline
      oniongarlic
      wrote on last edited by
      #2

      @sethsource same with HLS

      1 Reply Last reply
      0

      • Login

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