2012-07-07, 10:08
I'm trying to play a rtsp stream in my add-on using python and the xbmc api.
Unfortunately XBMC keeps saying that the stream cannot be played although there's no problem playing the same stream in VLC.
I've also tried creating a .strm-file with the url to the rtsp stream an tried browsing for it through XBMC but I get a message saying that the stream could not be played.
I have my own python class that implements the XBMC videoplayer.
I should also mention that playing a http stream is working fine but rtsp does not.
Here's some info from the xbmc.log file:
Some of the info in the log is from me logging what's happening.
Any help is appreciated.
Unfortunately XBMC keeps saying that the stream cannot be played although there's no problem playing the same stream in VLC.
I've also tried creating a .strm-file with the url to the rtsp stream an tried browsing for it through XBMC but I get a message saying that the stream could not be played.
I have my own python class that implements the XBMC videoplayer.
I should also mention that playing a http stream is working fine but rtsp does not.
Here's some info from the xbmc.log file:
Some of the info in the log is from me logging what's happening.
Quote:10:03:54 T:7832 NOTICE: play_url: rtsp://htpc2:8082/test
10:03:54 T:7832 NOTICE: Sleeping...
10:03:54 T:6816 NOTICE: Previous line repeats 10 times.
10:03:54 T:6816 NOTICE: DVDPlayer: Opening: rtsp://htpc2:8082/test
10:03:54 T:6816 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
10:03:54 T:7832 NOTICE: Sleeping...
10:03:54 T:6260 NOTICE: Previous line repeats 1 times.
10:03:54 T:6260 NOTICE: Creating InputStream
10:03:54 T:6260 NOTICE: Creating Demuxer
10:03:54 T:7832 NOTICE: Sleeping...
10:04:02 T:6816 NOTICE: Previous line repeats 7334 times.
10:04:02 T:6816 NOTICE: Storing total System Uptime
10:04:02 T:6816 NOTICE: Saving settings
10:04:02 T:7832 NOTICE: Sleeping...
10:04:02 T:6816 NOTICE: Previous line repeats 7 times.
10:04:02 T:6816 NOTICE: stop all
10:04:02 T:6816 NOTICE: ES: Stopping event server
10:04:02 T:6816 NOTICE: stopping zeroconf publishing
10:04:02 T:7832 NOTICE: Sleeping...
10:04:03 T:6004 NOTICE: Previous line repeats 957 times.
10:04:03 T:6004 NOTICE: ES: UDP Event server stopped
10:04:03 T:7832 NOTICE: Sleeping...
10:04:03 T:6816 NOTICE: stop player
10:04:03 T:6816 NOTICE: CDVDPlayer::CloseFile()
10:04:03 T:7832 NOTICE: Sleeping...
10:04:03 T:6816 NOTICE: Previous line repeats 98 times.
10:04:03 T:6816 NOTICE: DVDPlayer: waiting for threads to exit
10:04:03 T:7832 NOTICE: Sleeping...
Any help is appreciated.