So via VLC + FFMPEG I can easely broadcast flv live streams via such command:
"C:\VideoLAN\VLC\vlc.exe" -I -rc -vvv dshow:// vdev adev size="640x480" --sout="#transcode{vcodec=FLV1,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{flv},dst=:8080/stream.flv}}"
This makes VLC capture video from default windows camera and audio from default microphone, transcode it via ffmpeg to FLV video and stream it onto localhost:8080/stream.flv
You can try it at home by downloading FFmpeg.exe
from here and VLC client from here.
FLV can be downloaded or played in real time by any flash video player app you can create.
I wonder is it possible to make it generate video that could be played in real time by HTML 5 <video>
tag, What would be VLC + FFMpeg command line argument for that?