From: Petter Reinholdtsen Date: Wed, 11 Jul 2018 23:55:36 +0000 (+0200) Subject: Improve text. X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/f24e5af9c158afe144778b34f5614abdd7383633 Improve text. --- diff --git a/blog/data/2018-07-12-kodi-linux-desktop-vlc.txt b/blog/data/2018-07-12-kodi-linux-desktop-vlc.txt index 5d67362b62..a36df04104 100644 --- a/blog/data/2018-07-12-kodi-linux-desktop-vlc.txt +++ b/blog/data/2018-07-12-kodi-linux-desktop-vlc.txt @@ -10,7 +10,7 @@ install on either side. Today I found a way that seem to kind of work. Not great, but it si a start.

I had a look at several approaches, for example -using uPnP +using uPnP DLNA as described in 2011, but it required a uPnP server, fuse and local storage enough to store the stream locally. This is not going to work well for me, lacking enough free space, and it would @@ -31,25 +31,30 @@ the programs I work on.

I did not spend much time investigating codeces. I combined the rtp and rtsp recipes from -the +the VLC Streaming HowTo/Command Line Examples, and was able to get -this working on the desktop/streaming end. Note the 192.168.0.4 IP -address is my desktops IP address:

+this working on the desktop/streaming end.

-vlc screen:// --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=projector.local,port=1234,sdp=rtsp://192.168.0.4:8080/test.sdp}'
+vlc screen:// --sout \
+'#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=projector.local,port=1234,sdp=rtsp://192.168.11.4:8080/test.sdp}'
 

I ssh-ed into my Kodi box and created a file like this with the same IP address:

-echo rtsp://192.168.0.4:8080/test.sdp > /storage/videos/screenstream.m3u
+echo rtsp://192.168.11.4:8080/test.sdp \
+> /storage/videos/screenstream.m3u
 
-

Next, first locate the file in Kodi and select the m3u file while -the VLC stream is running. The desktop then show up in my big -screen. :)

+

Note the 192.168.11.4 IP address is my desktops IP address. As far +as I can tell the IP must be hardcoded for this to work. In other +words, if someone elses machine is going to do the steaming, you have +to update screenstream.m4u on the Kodi machine and adjust the vlc +repice. To get started, locate the file in Kodi and select the m3u +file while the VLC stream is running. The desktop then show up in my +big screen. :)

When using the same technique to stream a video file with audio, the audio quality is really bad. No idea if the problem is package