PDA

View Full Version : Unable to play RTSP video in Qt media player demo



sandeep.theartist
2nd July 2012, 14:25
I was trying to develop a video management software for which I was evaluating Qt Phonon. The software would be built on windows platform and I understand that Phonon uses Directshow as windows backend and if it runs on Linux it uses GStreamer. Using Qt 4.7.4 on Linux which has a demo example of a video player using phonon I was successfully able to see video stream from panasonic IP camera (RTSP stream), however when I tried the same example on windows platform it does not work (returns error 0x800c0000d). What could be the problem?

yandi
5th July 2012, 11:03
Hi Sandeep,

can you share your experience, I also try to play from rtsp stream but no luck
show me some error


perfect player(7500)/: couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'rtsp'.

I already have this lib of gstreamer in my PC
gst-plugins-base-0.10.32-i486-1
gst-plugins-good-0.10.28-i486-2
gstreamer-0.10.32-i486-1

and I use this method to play the url

media->setCurrentSource(Phonon::MediaSource(QUrl("rtsp://192.168.88.243:8554/stream.mp4")));

what am I missing? what library I need to install ?


Regards
Yandi

Agroni
19th October 2012, 16:47
Hey Yandi I think I am having the exact same problem


Starting /home/agron/QtSDK/Demos/4.7/qmediaplayer-build-desktop-Desktop_Qt_4_7_3_for_GCC__Qt_SDK__Release/qmediaplayer...
Media Player(10178): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'rtsp'."

Looks like it's been some time since you reported the error, but did you ever make it work?

Is your distro OpenSUSE 11.4?