02 October 2008
Weather widget gets 30fps video
implementing Flash Media Server with Yahoo weather API
Categories: Flash Media Server Flex
I've updated the Yahoo! weather widget mashup example I previously posted due to the fact that the previous live cam feed has been out of commission for several months due to a storm, and don't know if it will come back. However, this was a blessing in disguise since I have now implemented a new and much improved version.So instead of having users stare at a blank background I installed a live camera at my house and used Adobe's Flash Media Encoder 2.5 to stream this live feed to our FMS server at 30 frames per second (full motion video). This totally beats out the 1-2 frames per second that the previous camera feed was pushing out, plus the fact that it was also an IP camera so no crossdomain policy, which meant a server polling method to go grab the image feed, also I think my view is more interesting. I have plans for a widget that can scale, so users can see a larger video feed with better resolution, but for now I just wanted to get it working again. Click the image to see it in action.
Subscription Options
You are not logged in, so your subscription status for this entry is unknown. You can login or register here.
Re: Weather widget gets 30fps video
Great going !
Posted by gpacioli on October 2, 2008 at 12:59 PM
Re: Weather widget gets 30fps video
Awesome Chris, looks like you have yourself another stream of income. I would imagine that there are a lot of applications for this that folks might spend a small fortune to attract eyes. Trendy coastal businesses, ski resorts, news (tv and newspaper) weather and traffic cams.
Posted by shanimal on October 6, 2008 at 3:37 PM
Re: Weather widget gets 30fps video
How were you able to connect your IP Camera to FME? Can you provide more details on how you did it?
Posted by Bob on October 15, 2008 at 12:10 AM
Re: Weather widget gets 30fps video
@Bob
I think you misunderstood the post. The old setup involved an IP camera which basically sucked. I had to use a server to poll the IP camera, grab and store a still image then pass that to Flex. No FMS was involved which explained the 1-2 frames per second performance. The new way uses a standard NTSC camera and feeds that into a PC via a Firewire interface. Then Flash Media Encoder 2.5 on the PC is used to broadcast the video feed to the FMS server. Hope that helps!
I think you misunderstood the post. The old setup involved an IP camera which basically sucked. I had to use a server to poll the IP camera, grab and store a still image then pass that to Flex. No FMS was involved which explained the 1-2 frames per second performance. The new way uses a standard NTSC camera and feeds that into a PC via a Firewire interface. Then Flash Media Encoder 2.5 on the PC is used to broadcast the video feed to the FMS server. Hope that helps!
Posted by admin on December 3, 2008 at 1:40 PM
