Playback of local live stream fails

Hi,
on my up-to-date pi2 with osmc I am trying to view a stream from my local networkk.

The stream is broadcasted by another pi with a pi-camera using the following command:
raspivid -o - -t 0 -n -w 1280 -h 720 -fps 25 -g 100 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/,mux=ts}' :demux=h264

In kodi I have added a file named rascam-stream.strm containing the adress of the stream rtsp://192.168.178.144:8554/, which is available for my VLC clients on android and windows.

But kodi returns Playback failed as I try to open rascam-stream.strm in the videos section. The relevant lines in the log should be this:

19:40:47 3265.317139 T:1958474288  NOTICE: DVDPlayer: Opening: rtsp://192.168.178.144:8554/
19:40:47 3265.317383 T:1958474288 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:40:47 3265.323730 T:1644164128  NOTICE: Thread DVDPlayer start, auto delete: false
19:40:47 3265.324219 T:1644164128  NOTICE: Creating InputStream
19:40:47 3265.324707 T:1644164128  NOTICE: Creating Demuxer
19:40:47 3265.478760 T:1644164128   ERROR: OpenDemuxStream - Error creating demuxer
19:40:47 3265.479004 T:1644164128  NOTICE: CDVDPlayer::OnExit()
19:40:47 3265.479492 T:1958474288   ERROR: Playlist Player: skipping unplayable item: 0, path [rtsp://192.168.178.144:8554/]

I am not sure if this could mean the “codec/format or the network-protocol it uses it not supported by Kodi” and if so, if there are any options to make this work.

I tried searching the net, but I am not sure what to look for, so I would appreciate if someone could point me in the right direction…#

Thanks!

Hi John,

I get the same error when trying to stream from a HDMI H264 encoder box.

Works fine with VLC on Windows and iPhone…

“16:36:57 T:17268 ERROR: Playlist Player: skipping unplayable item: 0, path [rtsp://192.168.1.168:554/hdmi]”

Did you get any further with this?