From Toplap
Jump to navigation Jump to search

Chat on the #toplap channel on the server during the 'performance'.

The recommended player for watching the stream is VLC. Point it at .


  • 22:00h, Saturday 13th December 2008 - Yaxu from his sofa in South London, archived here

Tips for how to stream

This is info for how to send a stream if you're thinking of doing a livecoding performance yourself. If you just want to listen and watch, use vlc like it says above.

One way of a/v streaming of a desktop is with gstreamer, which seems cross-platform, available under linux, mac os x and windows. To stream to the icecast server on you will need a password - ask alex (yaxu) for that.

Here's an example of how to start gstreamer from a linux commandline:

 sudo nice -n -10 gst-launch-0.10 oggmux name=mux ! shout2send ip= password=xxx mount=live ximagesrc \
 name=videosource use-damage=false endx=484 endy=244 ! video/x-raw-rgb,framerate=4/1 ! videorate ! ffmpegcolorspace \
 ! videoscale method=1 ! video/x-raw-yuv,width=484,height=244,framerate=4/1 ! theoraenc ! queue ! mux. alsasrc \
 name=audiosource ! audio/x-raw-int,rate=22000,channels=2,depth=16 ! audioconvert ! vorbisenc quality=0.9 ! queue ! mux.

The width/height will need to be changed to the size of the window you want to be captured. Under linux you can find the width/height of a window using 'xwininfo'.

It would also be possible to mix in a webcam feed using gstreamer...