[Qt-interest] phonon and rtsp mpeg4 stream
Aleksandar Lazic
al-qtinterest at none.at
Sun Jun 7 19:03:40 CEST 2009
Dear List,
I try to get the picture from a Axis Network camera.
With mplayer and vlc i can receive the stream with
mplayer -mc 10 -v rtsp://192.168.1.200/mpeg4/media.amp
vlc -v rtsp://192.168.1.200/mpeg4/media.amp
I have tried it with phonon like this:
###
QUrl url("rtsp://192.168.1.200/mpeg4/media.amp");
mediaObject = new Phonon::MediaObject(this);
videoWidget = new Phonon::VideoWidget(this);
Phonon::createPath(mediaObject, videoWidget);
mediaObject->play();
###
The output in the command line is:
###
(<unknown>:17647): GStreamer-CRITICAL **:
Trying to dispose object "sink", but it still has a parent "decodebin0".
You need to let the parent manage the object instead of unreffing the
object directly.
**
GStreamer:ERROR:gstghostpad.c:1131:gst_ghost_pad_set_target: assertion
failed: (internal)
###
The question is now:
Is this a gstream problem?
Is this a phonon problem?
Is this a caller problem?
I have also tried to get the stream display thru gst-launch-0.10 but
I'am not ver familiar with gstreamer so I was not able to see the
stream.
Please can anybody help me?
I will also get the stream on Windows with phonon is this also possible?
BR
Aleks
More information about the Qt-interest-old
mailing list