Flumotion is a streaming server product developed by Fluendo. Flumotion runs in a distributed environment, where the video capture, encoding, and transmission can be run on different computers, so the load can be better balanced.
I have found it rather difficult to find an introductory help on how to get flumotion set up and running, so I’ll share my insights with you here.
Imagine a setup where you want machine A to capture and encode the video from a DV camera, machine B relaying the stream onto the Internet to several clients, and machine C getting the stream off machine B and writing it to disk. The software that you’d need to run on each of these machines is the following:
flumotion-manageron machine B.
flumotion-manageris the central component of a flumotion streaming setup, which connects up all the components and makes sure that everything works. It has to run before anything else can happen.
flumotion-workeron every machine where you want work to be done, i.e. on machine A, B, and C. The workers are demons that connect to the manager and wait for commands to do something.
flumotion-adminon any machine to set up the details of the flumotion streaming setup.
So, here are the commands, that I use to get it running using the default setup:
(which will run
flumotion-manager -D -n default /etc/flumotion/managers/default/planet.xmlfor you).
flumotion-worker -u pants -p off &
(yes, these are the default user name and password :).
(and go through the GUI setup wizard).
… and you should be up and going with either your DV camera, your Webcam or your TV tuner card. Watch the cute smileys go happy! And connect to the stream using your favorite media player that can decode Ogg Theora/Vorbis, e.g. totem, vlc, xine.
I’ve found online man pages of
flumotion-admin helpful, because the flumotion package that my Ubuntu dapper installation installed did not have them. You might actually be better off using Jeff Waugh’s packages for each of the flumotion commands if you are setting up on Ubuntu Dapper. Another hint: use the library theora-mmx to get better performance.
Flumotion is an excellent solution to setting up video streaming. I have found the following conferences have used it before:
- GUADEC, June 2006, http://guadec.org/GUADEC2006/Live
- DebConf, May 2006, http://technocrat.net/d/2006/5/12/3384
- Linux Audio Conference, May 2006, http://lac.zkm.de/2006/streaming.shtml
- Washington DC LUG, http://dclug.tux.org/webcast/