ToplapStreams: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
== Tips for how to stream == | == 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 [http://www.gstreamer.net/ gstreamer], which seems cross-platform, available under linux, mac os x and windows. To stream to the icecast server on toplap.org you will need a password - ask alex (yaxu) for that. | One way of a/v streaming of a desktop is with [http://www.gstreamer.net/ gstreamer], which seems cross-platform, available under linux, mac os x and windows. To stream to the icecast server on toplap.org you will need a password - ask alex (yaxu) for that. |
Revision as of 21:54, 10 December 2008
Chat on the #toplap channel on the irc.freenode.net server during the 'performance'.
The recommended player for watching the stream is VLC. Point it at http://toplap.org:8000/live .
Streams:
- 22:00h, Saturday 13th December 2008 - Yaxu from his sofa in South London
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 toplap.org 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=193.34.28.198 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...