Streaming

various notes on streaming.

use VLC to recode a network-stream (from an IP-camera or whatever) display and stream it via icecast:

 vlc $STREAM_IN_URL 
 --sout transcode{vcodec=theora,vb=300,venc=theora,width=320,
   height=240,fps=12}:duplicate{dst=display,dst=standard{access=shout,
   mux=ogg,dst=source:$IC_PASSWORD@$ICE_SERVER:$ICE_PORT/live.ogg}}" 
 --sout-shout-name="$STREAM_NAME" 
 --sout-shout-description="$STREAM_DESC" 
 --sout-shout-genre="$STREAM_GENRE" --sout-shout-url="$STREAM_URL"