2014-03-13, 18:18
I was looking for a way to stream the desktop of some of my PCs (all running Linux) to my XMBC install on a Raspberry Pi. I came up with this:
https://github.com/brutus/Desktop-Streamer
Not realy an XBMC Addon but a tool you have to use on the PC which desktop you want to stream. Written in Python though.
It uses `avconv` and `vlc` to grab audio and video from the desktop and stream it to the XBMC. After you started it, XBMC can grab the stream and show it.
I use a source containing STRM files for all my devices, for easy access.
I use a command like this:
It works. I would love to get some feedback though, about wich codec and transport mechanism I should use.
Since I only stream on my own LAN, I guess I dont need to compress audio and especially video so much?
Don't know which transport format would be best also (RST)?
https://github.com/brutus/Desktop-Streamer
Not realy an XBMC Addon but a tool you have to use on the PC which desktop you want to stream. Written in Python though.
It uses `avconv` and `vlc` to grab audio and video from the desktop and stream it to the XBMC. After you started it, XBMC can grab the stream and show it.
I use a source containing STRM files for all my devices, for easy access.
I use a command like this:
Code:
avconv -f alsa -ac 2 -i pulse -acodec libmp3lame -f x11grab -r 25 -s 1920x1080 -i :0.0 -vcodec libx264 -preset ultrafast -s 1280x720 -threads 0 -f mpegts -
cvlc -I dummy - --sout=#std{access=http,mux=ts,dst=:1312}
It works. I would love to get some feedback though, about wich codec and transport mechanism I should use.
Since I only stream on my own LAN, I guess I dont need to compress audio and especially video so much?
Don't know which transport format would be best also (RST)?