subik hosting platform family and friend web hostingSerious Problems with this site:

desktop streaming

Finally I come around to publish an 3.5y old draft.
On 20120130 (iso style date), I was closing a project where I needed streaming a (Linux/X11) desktop to (Digital) TVs.
So I wanted to flush out my notes to this blog, but never did, until today. You still need to tell the TV to watch it, so there might be some work to get this signal to the TV (DVB-C/S/T/IP).

Here is an example for ffmpeg use, that might be already outdated, and ffmpeg might write to a multicast socket itself, but I leave it here anyway for reference. It might be a clue if I ever need it again.

ffmpeg -f x11grab -y -r 25 -s 1280×720 -i :0.0+0,40 -vcodec mpeg2video -b 16M -an -f mpegts – | socat -b1024 – UDP4-DATAGRAM:,ip-multicast-ttl=10

Here is the version for unicast TODO ADJUST SIZE, BANDWIDTH,CODEC
ffmpeg -f x11grab -y -r 25 -s 1440×900 -i :0.0+0,40 -vcodec mpeg2video -b 16M -an -f mpegts – | socat -b1024 – UDP4-DATAGRAM:

I found this snippet on

Comments are closed.