STRM Files: Best settings for local stream?
#1
I want to stream my Desktop (audio & video) to the XBMC via STRM files.

I wrote a litte Python tool for that, standing on the shoulders of `avconv` and `vlc`. The code is hosted on GitHub and I introduced the tool in this thread. A sample commandline it generates might look 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}

As you can see, I use `libx264` for video and `libmp3lame` for audio, packed into a MPEG transport stream. The stream is used by `vlc` and distributed over `HTTP`.

This works. But I think there might be a better setup.

Especially since I only stream in my local network (Gigabit-Ethernet); I want to be as light on CPU / GPU resources as possible. Of course I can only use formats that XBMC understands (ie. I can't get RAW video to work). All the PCs I want to stream from run on Linux. XBMC runs on a Raspberry Pi (Raspbmc).

Are there better options for audio / video codec, for the transport stream and / or the methode used (eg. `upd` or `rts` instead of `http`)?
Reply

Logout Mark Read Team Forum Stats Members Help
STRM Files: Best settings for local stream?0