Howto play SDP
#1
Hi,
I have a video stream that I can play on my Linux box with VLC with this SDP definition:
---
[email protected] ~ $ cat raspberry_pi.sdp
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 192.168.1.5
t=0 0
a=tool:libavformat 58.28.101
m=video 1234 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=J2QAKKwrQCIC3y8A8SJq,KO4CXLAA; profile-level-id=640028
---

How to see this on my XBian Kodi box?

Thanks in advance for the answers to this stupid question,
Christof
Reply
#2
No ideas?

Maybe I should post the way I generate the video. It's a Raspberry Pi with a camera module. The command to generate the RTP stream is
---
raspivid  -hf -vf -t -0 -w 1080 -h 720 -awb auto -fps 15 -rot 90 -b 1200000 -o - |ffmpeg -loglevel quiet -i - -vcodec copy -an -r 15 -f rtp rtp://192.168.188.5:1234
---

I can also generate a stream for a Javascript player, but this is not my preferred version as I do not like JS. The setup to show this is not so easy as one needs the Javascript infrasctructure as described in http://www.toptechboy.com/tutorial/low-c...ip-camera/
---
raspivid  -hf -vf -t -0 -w 1080 -h 720 -awb auto -fps 15 -rot 90 -b 1200000 -o - |ffmpeg -loglevel quiet -i - -vcodec copy -an -r 15 -f flv -metadata streamName=myStream tcp://0.0.0.0:6666
---

So again, how to show the RTP stream in KODI?

KR,
Christof
Reply
#3
Have you tried creating a strm file? You can even create an nfo file alongside it so it can be added to your video library.

Internet_video_and_audio_streams (wiki)
Reply
#4
(2019-07-17, 17:52)MrTarantula Wrote: Have you tried creating a strm file? You can even create an nfo file alongside it so it can be added to your video library.

Internet_video_and_audio_streams (wiki)
I created a strm-file with just one line:
rtps://hostname:port/link

Thanks for your answer!

KR,
Ch.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Howto play SDP00