Here’s my latest Arduino Experiment.
It’s an arduino decimila board with a special shield designed by my friend Ivo Noorhoff.
The shield replaces the remote control for one or more Philips Living Color Lamps.
in this Example I’m taking the center 80×60 pixel of a webcam image an getting the average color.
I’m sending this color (if changed from the last sample) once every second to a wowza-media server app on my server that has the arduino board attached. (the server is close enough to a living colors lamp !!)
[ Now all it needs is some proper error handling.. ]
Et voila! Remote Controled Ambient lighting.
I’ll try to get a video up soon.
Running your own server and doing socket connections in flash?
Then you need a flash-policy server.
I tried the one on adobe devnet but it seems to require python 2.5
I found this one that runs fine on centos 5.2
I upgraded my develoopment-server to Fedora Core 6 , so I had to reinstall some apps.
Getting Flash Media Server to run on FC4 wasn’t easy so I knew trying the same on FC6 would also be a challenge.
Here’s what I got so far.
Get the latest version of FMS from adobe.
flashmediaserver2.tar.gz
unpack and change into the ‘ FMS_2_0_4_r79_linux’ dir
install with:
./installFMS -platformWarnOnly
Don’t choose to start the server, cause your (probably) missing some some symbolic links
get openssl097a
yum install openssl097a-0.9.7a-9
now you should be able to start fms.
If it doesn’t work, try running fmsmanager in de fms directory
./fmsmanager &
and see if it throws any errors
Happy streaming
Ok, It took me a while te get Red5 v04 to work on Fedora Core 4, so I thought I’d share.
[update: also works for version 0.5]
First of all, you will need to get the sun 1.5 jdk… The jdk that comes with fc4 will not work!!!
You can find the instructions to get and install the sun 1.5 jdk here.
Next up: installing apache ant.
Dont bother trying to get apache ant via yum… It won’t work..
Follow these instructions.
dont’ forget to add the dir (I use /urs/local/bin/) where you put the ant file to your path.
Ow, and don’t forget to stop FMS if you have it running, or change the ports for either FMS or Red5
(thnx Jay, for reminding me)
And adjust your router settings to forward the rtmp ports
This should do the trick,
Happy Experimenting!
It took me a while, but I finally got Flash Media Server 2 talking to Jabber.
It still a very unintelligent piece of code that just sends a message to my jabberaccount saying that My FMS-App just started.
But this could be the start of a notification / control tool.
While installing Flash Media Server 2 on Fedora Core 4 with the -platformWarnOnly option didn’t produce any errors,
it refused to actually run. So I statted a topic on the Adobe (formerly Macromedia) Flash Media Server forum.
The first reply solved my Problem, thnx MIBTwo
FMS2 needs libssl.so.4 and libcrypto.so.4
Both not present on FC4. Linking the current versions of the two libraries solves the problem.
So if you want to install Flash Media Server 2 on Fedora Core 4, here’s what you do:
1. get the fms2 package from Adobe [Macromedia]
2. unpack
3. move into the unpacked directory (FMS_2_0_r1145_linux)
4. install using ./installFMS -platformWarnOnly
5. fill in details , say no to’ run FMS after install’
6. After installation change dir to /lib
7. Make symbolic link ln -s libssl.so.0.9.7f libssl.so.4
8. Make another symbolic link ln -s libcrypto.so.0.9.7f libcrypto.so.4
9. Start FMS service fms start
10. You’re Laughing
Happy streaming