If you want to use the Flash Media Encoder for broadcasting, there is a neat way to do it using FFMPEG (stock version on Ubuntu 11.04)
ffmpeg -f video4linux2 -s 640x480 -r 15 -i /dev/video1 -f alsa -i pulse -ac 1 -ab 64kb -ar 22050 -r 15 -b 400kb -f flv "rtmp://live.justin.tv/app/live_1234567_1E1GFDetUFDtNL5o9JxQsAwlp9sRtGf flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)"Make sure to put your video device for WebcamStudio and your own magic key in the script... This one will work with Justin.tv... Here's an example for UStream... ffmpeg -f video4linux2 -s 640x480 -r 15 -i /dev/video1 -f alsa -i pulse -ac 1 -ab 64kb -ar 22050 -r 15 -b 400kb -f flv "rtmp://1.395474.fme.ustream.tv/ustreamVideo/395474/1E1GFDetUFDtNL5o9JxQsAwlp9sRtGf flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)"Note that the key in the XML file ends with "offair"... remove it to get online as soon as you are broadcasting... This is a basic setup that should work without any glitch. Feel free to improve the script on the FFMPEG parameters like changing the bitrates, output size, etc... For now, FFMPEG seems to only be able to support YUV webcam, RGB does not seems to work for now. On my laptop, I was able to broadcast at 10 fps, maybe recompiling FFMPEG could improve that... Surely it will work with other provider like Bambuser, or any other supporting FME broadcast... Have fun! Some tips:
|

