How To Play RTP-VideoStreams with QML2 VideoOutput?
-
wrote on 25 Dec 2012, 09:46 last edited by
Hy!!!
I am trieing to play rtp-VideoStreams with VideoOutput using MediaPlayer-Component.
I have build a qml-File:
@
import QtQuick 2.0
import QtMultimedia 5.0Item {
property alias src : video.source MediaPlayer { id: video autoPlay: true muted: true } VideoOutput { source: video anchors.fill: parent focus : visible // to receive focus and capture key events when visible fillMode: VideoOutput.Stretch }
}
@by setting
@
src: "rtp://@239.2.16.1:8208"
@with a recordet ( by vlc ) File every thing works fine, allso work if I use vlc to restream ( without transcodeing ) from rtp to rtsp.
but on using rtp application gives folloing output:
GStreamer; Unable to pause - "rtp://@239.2.16.1:8208"
GStreamer; Unable to play - "rtp://@239.2.16.1:8208"Error: "no URI-Handler for »rtp« implemented"
put when I'm checking gst-inspect rtp-components are installed.
Has anyone an idea?
-
wrote on 30 Jan 2013, 09:57 last edited by
I'm having the same problem. Gstreamer backend only support rtsp links and not rtp. Have you found a way around this?
-
wrote on 30 Jan 2013, 11:18 last edited by
Sorry not at this time, with GStreamer.
But a possible Way ( but only for playing one Video-Stream ) is to use VLC.
If tested it, but only one rtp multicast stream can be shown.See "":http://mikesshop.net/?p=89
"libVLC"http://wiki.videolan.org/LibVLC_SampleCode_QtHope it helps on your problem.
Some time ago i tested it on Win and Linux it works on both.
But for my Problem i havn't found a solution yet,:-(
-
wrote on 30 Jan 2013, 11:36 last edited by
"I used this one:":http://qt-apps.org/content/show.php/VLC-Qt+library?content=133649
-
"I used this one:":http://qt-apps.org/content/show.php/VLC-Qt+library?content=133649
wrote on 12 May 2022, 16:42 last edited byon Linux (GStreamer backend) , usually
udp
should be used to playback the stream