X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/6d11b8850e3f9dafecec47d05236f3681364e376..f24e5af9c158afe144778b34f5614abdd7383633:/blog/data/2018-07-12-kodi-linux-desktop-vlc.txt 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
-
I did not spend much time investigating codeces. I combined the
rtp and rtsp recipes from
-
-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