Posts tagged "Flash Media Server"

Video: Install Flash Media Server 4.5 and stream content to Flash and iOS

Flash Media Server 4.5 documentation | Stream video to Flash/AIR and iOS

Hey Everybody!

Flash Media Server 4.5 is out the door! Download the development version of the server and check out how cool it is to stream on-demand and live video to media players running in Flash/AIR and iOS devices.

After you download the development server, here are some tutorials to get you started:

For detailed information about HTTP streaming to Flash and iOS, see Configure HTTP Dynamic Streaming and HTTP Live Streaming.

Other new features in Flash Media Server 4.5:

Enjoy, and please let me know if you have any questions.

Jody

Configure Flash Media Server for optimum performance

Choppy video. No one likes it. To stream video smoothly, start by tuning Flash Media Server for your situation. Are you streaming on-demand (recorded) or live video? If you’re streaming live, which is more important to you, scale (reaching as many people as possible) or latency (the time elapsed between the live event and when the viewer sees the live event)?

In the Configuration and Administration Guide, FMS engineers provide tuning recommendations for on-demand and live streaming:

Progressive download is dead. Long live on-demand HTTP dynamic streaming. Stream FLV/F4V/MP4 files to Flash over HTTP.

When you view content on YouTube, you don’t have to wait for the content to download to skip ahead to the end of the file. Progressive download is dead, this is on-demand HTTP streaming.

Use Adobe HTTP Dynamic Streaming to serve on-demand video over HTTP on your web site.

  1. Download the File Packager
  2. Download the Apache HTTP Origin Module
  3. Install the HTTP Origin Module to Apache HTTP Server 2.2
  4. Use the File Packager off-line tool to package an FLV, F4V, or MP4 file for HTTP streaming.
  5. Copy the packaged files to the Apache webroot folder.
  6. Play the files in Flash Media Playback or OSMF Sample Player for HTTP Dynamic Streaming.

These are the high-level steps, for the nitty-gritty, check out the On-demand HTTP Dynamic Streaming tutorial.

To stream live media over HTTP to Flash/AIR, use Flash Media Server. Check out the Live HTTP Dynamic Streaming tutorial in the FMS Developer’s Guide.

Stream with the big fish: Flash Media Server is available on Amazon Web Services

Flash Media Enterprise Server 4 is now available on Amazon Web Services:

Use Flash Media Server on Amazon Web Services to create social media games, multicast live events, and deliver streaming video like the pros (think Hulu and mlb.com) for pennies on the hour with no fear of success–when your business takes off, you can stand on the shoulders of Amazon as your grow. You’ll never have to buy or maintain any hardware or software. Ahhhh. Sounds relaxing, right? You pay only the Amazon Web Services $5 monthly charge and pennies an hour for bandwidth and machine time. For more information about pricing and benefits, see the FMS on AWS product page at adobe.com.

The FMS on AWS documentation walks you through setting up an Amazon Web Services account, ordering and launching Flash Media Server, and verifying that the server is running. It also includes the following tutorials:

And yes, you can build P2P apps with FMS on AWS. Start with the Multicast streaming tutorial, then check out Tom Krcha’s P2P game-building tutorials at  flashrealtime.com.

Enjoy!

Flash Media Server 4 Documentation

Flash Media Server 4 shipped on 9/9. Check out the official announcement from Product Manager Kevin Towes.

The docs are available from http://www.adobe.com/support/flashmediaserver:

Note: The Plug-in Developer’s Guide is now a chapter in the Developer’s Guide.

Quick links:

To try Flash Media Server, download the developer edition.

Tutorial: HTTP Dynamic Streaming

Until now, there have been two fundamental ways to deliver video to Flash Player/AIR:

  • Progressive download. Progressive download transfers files sequentially over HTTP from a web server to Flash Player/AIR. Users can’t skip ahead until all the previous content has downloaded.
  • RTMP streaming. RTMP streaming transfers content between Flash Player/AIR and Flash Media Server in real-time (Real-Time Media Protocol). Users can skip to any location without waiting.

Now there’s a third way to deliver content to Flash Player 10.1 and AIR 2:

  • HTTP Dynamic Streaming. HTTP Dynamic Streaming delivers content over HTTP and lets users skip to any location without waiting.

To stream on-demand (recorded, not live) content over HTTP, you can use any installation of Apache 2.2, including the version that installs with Flash Media Server 3.5. Using Adobe HTTP Dynamic Streaming has an end-to-end tutorial that steps you through configuring Apache, packaging content for delivery, and playing the content in the OSMF Player.

Using Adobe HTTP Dynamic Streaming also contains a live tutorial, and detailed information about how this new solution works. To stream live content over HTTP, you need Flash Media Server 3.8.

For more information about the HTTP Dynamic Streaming ecosystem, see Kevin Towes’ blog and www.adobe.com/products/httpdynamicstreaming.

Flash Media Server: Stream Reconnect and Smart Seek doc and example

Flash Player 10.1 and Flash Media Server 3.5.3 support two exciting new buffer management features: Stream Reconnect and Smart Seek. To see them in action, check out this example: Stream Reconnect and Smart Seek example. Right-click on the example and choose View Source to see the code.

The example is also linked from the Flash Media Server 3.5.3 New Features Guide. This doc has all information you need about how to use the Smart Reconnect and Smart Seek ActionScript APIs.

Here’s a quick, high-level view:

Stream Reconnect

With the release of Flash Player 10.1, you can deliver video players that continue to play media seamlessly when a connection is dropped or when a client switches from a wired to a wireless network connection. Adobe Product Manager Kevin Towes says:

We’ve essentially decoupled the buffer from the connection – which allows video to play back even if the connection drops. Developers can use ActionScript to reconnect to FMS and resume playback – and if this is done before the buffer empties, then there will be no perceived disruption.

Smart Seek

Flash Media Server 3.5.3 and Flash Player 10.1 work together to support smart seeking in VOD streams and in live streams that have a buffer. Smart seeking uses back and forward buffers to seek without requesting data from the server. You can step forward and backward a specified number of frames. (Standard seeking flushes buffered data and asks the server to send new data based on the seek time.) Smart seeking reduces server load and improves seeking performance. Use smart seeking to create:

•Client-side DVR functionality. Seek a live stream within the client-side buffer instead of going to the server for delivery of new video.

•Trick modes. Create players that step through frames, fast-forward, fast-rewind, and advance in slow-motion.