QT6.5 QtMultimedia ffmpeg problems.
-
wrote on 4 Apr 2023, 14:17 last edited by sethsource 4 Apr 2023, 14:32
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() } }
-
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() } }
wrote on 5 Apr 2023, 12:01 last edited by@sethsource same with HLS
1/2