Adobe MEDIA SERVER User Manual
Adobe MEDIA SERVER User Manual

Adobe MEDIA SERVER User Manual

Using adobe media server on amazon web services

Advertisement

Quick Links

Using ADOBE
MEDIA SERVER on
®
Amazon Web Services

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MEDIA SERVER and is the answer not in the manual?

Questions and answers

Summary of Contents for Adobe MEDIA SERVER

  • Page 1 Using ADOBE MEDIA SERVER on ® Amazon Web Services...
  • Page 2: Legal Notices

    Legal notices Legal notices For legal notices, see http://help.adobe.com/en_US/legalnotices/index.html. Last updated 9/20/2013...
  • Page 3: Table Of Contents

    ................6 Chapter 2: Using Adobe Media Server on Amazon Web Services Supported features .
  • Page 4: Chapter 1: Getting Started

    Read the pricing terms and click Place your order. There is a $5.00 monthly subscription fee. This fee allows you to run an unlimited number of Adobe Media Server instances. In addition to the monthly subscription fee, there is a fee for hourly usage and a fee for data transfer.
  • Page 5 35. Adobe Media Server does not require that you add any tags. However, you may choose to add tags. Use the value of the Name tag to identify the instance in the AWS Management Console, for example, you could the Name value to My First AMS Instance.
  • Page 6 USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES Getting started Create a Security Group in the Request Instances wizard. Important: To stream media, you must open port 1935 for the RTMP protocol for TCP and UDP. You cannot add this rule in the Request Instances wizard. You will add it in the AWS Management Console.
  • Page 7 In the bottom pane, select the Description tab and scroll down to the Public DNS (domain name system). Copy the Public DNS. The public DNS is the address the public uses to connect to the instance. For example, the public DNS of the Adobe website is www.adobe.com. For more information, see Domain Name System at Wikipedia.
  • Page 8 For example, the address will look something like this: http://ec2-184-72-81-199.compute-1.amazonaws.com The Adobe Media Server Start Screen loads and begins streaming content. If the Start Screen doesn’t load or stream content, do the following: • Verify that the instance is running in the AWS Management Console. In the My Instances panel of the console, the Status column should have a green light and say “running”.
  • Page 9: Tutorials: On-Demand And Live Streaming

    Framework (OSMF). OSMF simplifies the development of video players for the Flash Platform. The first tutorial uses a video player called Flash Media Playback. Flash Media Playback is hosted by Adobe and you can embed it into any web page.
  • Page 10 USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES Getting started WinSCP graphical user interface. Local files are in the left pane. Files on the Adobe Media Server instance are in the right pane. • (Linux) Open an SSH client installed on your computer and use the command to copy a file to the instance: scp -i keypair.pem sample.mp4 root@public-dns:/mnt/applications/vod/media...
  • Page 11 , but use the file extension of the file (.f4v, .mp4, and so on). mp4: Click Preview to update the Embed Code. Click the Play button to play the video from your Adobe Media Server on Amazon Web Services instance. Last updated 9/20/2013...
  • Page 12 USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES Getting started Flash Media Playback Setup page. Copy and paste the Preview Embed Code into an HTML page to use the video player. The video player is hosted by Adobe. You can select other options in the Flash Media Playback Setup page. After you change an option, click Preview to update the embed code.
  • Page 13: Live Streaming

    Open the StrobeMediaPlayback.html file in a browser and click Play. The file streams from Adobe Media Server on Amazon Web Services to the local version of Strobe Media Playback. You can also serve Strobe Media Playback and its supporting files from the Apache web server installed with Adobe Media Server on Amazon Web Services.
  • Page 14 Click Preview to update the Embed Code. Click the Play button to play the video from your Adobe Media Server on Amazon Web Services instance. You can select other options in the Flash Media Playback Setup page. After you change an option, click Preview to update the embed code.
  • Page 15 "rtmp://public-dns/live/streamname" Open the StrobeMediaPlayback.html file in a browser and click Play. The file streams from the Adobe Media Server on Amazon Web Services to the local version of Strobe Media Playback. You can also serve Strobe Media Playback and its supporting files from the Apache web server installed with Adobe Media Server on Amazon Web Services.
  • Page 16 Click Preview to update the Embed Code. Click the Play button to play the video from your Adobe Media Server on Amazon Web Services instance. You can select other options in the Flash Media Playback Setup page. After you change an option, click Preview to update the embed code.
  • Page 17 Click Preview to update the Embed Code. Click the Play button to play the video from your Adobe Media Server on Amazon Web Services instance. You can select other options in the Flash Media Playback Setup page. After you change an option, click Preview to update the embed code.
  • Page 18 IP multicast or fusion multicast. Copy the multicast tools to the webroot folder Adobe Media Server includes a Multicast Configurator tool and a Multicast Player. To access these tools from a web browser, move them to the webroot directory on the instance.
  • Page 19 For example: http://ec2-174-129-151-131.compute-1.amazonaws.com/multicast/configurator/configurator.html Select Peer to Peer multicast. Adobe Media Server on Amazon Web Services does not support Fusion or IP Multicast. Enter the server name (or IP address) and the full path to the multicast application: rtmfp://public-dns/multicast Enter the name of the live stream. This tutorial uses livestream.
  • Page 20 For AMS URL, enter the URL of the multicast service: rtmp://public-dns/multicast Note: Flash Media Live Encoder connects to Adobe Media Server over the RTMP protocol, not over the RTMFP protocol. Return to the Multicast Configurator and click Copy next to the Publisher Stream Name.
  • Page 21 Use Flash Media Live Encoder to capture and encode a live stream Play a multicast stream ❖ Open the following URL in a web browser: http://public-dns/multicast/multicastplayer/multicastplayer.html The Adobe Flash Player Settings manager displays a Peer Assisted Networking dialog. Click Allow to allow the peer-to-peer connection. Last updated 9/20/2013...
  • Page 22 USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES Getting started Flash Player opens a Peer Assisted Networking dialog before the Multicast Player starts streaming The Multicast Player plays the stream that Flash Media Live Encoder is publishing. Last updated 9/20/2013...
  • Page 23 For information about installation directories, see “Managing the server” on page 24. Also, substitute the Public DNS of the Adobe Media Server instance for localhost in the examples. Last updated 9/20/2013...
  • Page 24: Chapter 2: Using Adobe Media Server On Amazon Web Services

    Flash Media Server on Amazon Web Services is identical to Flash Media Enterprise Server except that Adobe Media Server on Amazon Web Services limits the number of RTMFP introductions. For a list of Adobe Media Server Amazon Machine Images (AMIs) and a list of which version of Flash Media Enterprise Server each AMI uses, see www.adobe.com/go/learn_fms_aws_en.
  • Page 25: Securing The Server

    Using Adobe Media Server on Amazon Web Services Amazon Web Services features Adobe Media Server on Amazon Web Services supports all HTTP streaming features supported on Adobe Media Server including HLS and HDS. Adobe Media Server on Amazon Web Services does not support the following Amazon Web Services features: •...
  • Page 26 Using Adobe Media Server on Amazon Web Services Add rules to the Security Group By default, Adobe Media Server is configured to use the following ports and protocols to stream media. Define the following ports in a Security Group: Connection...
  • Page 27: Managing The Server

    To configure additional ports for streaming, add the ports to the Security Group and add the ports to the Adobe Media Server configuration files. See Configure IP addresses and ports in Adobe Adobe Media Server 5.0.1 Configuration and...
  • Page 28 Using Adobe Media Server on Amazon Web Services Adobe Media Server Administration Console Adobe Media Server Administration Console is not configured to run by default. To use it, you must enable it in the ams.ini configuration file and start it.
  • Page 29 Restart the server and the Administration Server: ./amsmgr adminserver restart ./amsmgr server ams restart Note: When you edit a configuration file, restart Adobe Media Server. When you edit the Users.xml configuration file, restart Adobe Media Server and Flash Media Administration Server. Secure the Administration Console ❖...
  • Page 30 Restart the server and the Administration Server: ./amsmgr adminserver restart ./amsmgr server ams restart Note: When you edit a configuration file, restart Adobe Media Server. When you edit the Users.xml configuration file, restart Adobe Media Server and Flash Media Administration Server. For more information, see Working with the Administration API.
  • Page 31 Start and stop the server on Linux On Linux, Adobe Media Server is installed as a service. Start and stop the Adobe Media Server service using the amsmgr utility. Use the amsmgr utility to perform other tasks as well, such as configuring the service to start automatically when the system is started.
  • Page 32: Configuration Files

    Apache HTTP Server configuration The Apache HTTP Server configuration on Adobe Media Server on Amazon Web Services is the same as it is on other editions of Adobe Media Server. Adobe Media Server listens on port 80 and proxies unknown HTTP requests to port 8134.
  • Page 33: Managing Content

    Where to store content on an instance The Adobe Media Server vod (video on demand) application has a default directory in which it looks for content (media files) to stream. However, you can configure the server to use any directory. On Adobe Media Server on...
  • Page 34 Instead of using a password, SSH clients use a key pair to verify their identity with the server. When you launch a Adobe Media Server on Amazon Web Services instance, you generate and download a key pair. A key pair consists of a public key and a private key.
  • Page 35 USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES Using Adobe Media Server on Amazon Web Services Note: You can use other SSH clients as well. This document provides instructions for WinSCP and PuTTY, but other clients work similarly. Use WinSCP to connect to an instance and copy files The following example uses the WinSCP SCP client for Windows.
  • Page 36 WinSCP may display a Security Alert. Read the alert and click Yes or No. To manage files, use the graphical user interface. WinSCP graphical user interface. Local files are on the left. Remote files (on the Adobe Media Server instance) are on the right. Last updated 9/20/2013...
  • Page 37 Click Browse to locate the .ppk file you just generated, and click Open. Click Open at the bottom of the window to connect to your Adobe Media Server on Amazon Web Services instance. PuTTY may display a Security Alert. Read the alert and click Yes or No.
  • Page 38 Create an Amazon S3 account to store content. Adobe Media Server on Amazon Web Services installs with FuseOverAmazon (s3fs) which allows you to mount an S3 bucket as a local file system on the Adobe Media Server instance. Copy files from the S3 bucket to the /mnt/applications/vod/media directory to stream them from the vod application.
  • Page 39 S3 each time the content is requested. The /mnt/bucket/setup.sh script is a file on S3 that runs additional configuration steps. For example, the script could modify Adobe Media Server to look for streams in the /mnt/bucket directory. The script is not provided; you must write it.
  • Page 40: Working With Applications

    To create an new application, create a directory in the /mnt/applications directory. For example, to create an application called myapplication, create the following directory: /mnt/applications/myapplication Working with applications on Adobe Media Server on Amazon Web Services is no different than with other editions of Adobe Media Server. For complete documentation, see Adobe Media Server Developer's Guide.
  • Page 41 Record a live event You can record archives of live events just as you would with any edition of Adobe Media Server that supports recording. To store the archives, copy them from the instance to a storage volume (either EBS or S3) before you stop or terminate the instance.
  • Page 42: Chapter 3: Getting Help And Support

    Adobe Help and Support resources Documentation Adobe Media Server Technical Overview Adobe Media Server Developer's Guide Adobe Media Server Configuration and Administration Guide Support Adobe Media Server forum To contact Adobe Support, go to www.adobe.com/support/contact/. Amazon Help and Support resources...

Table of Contents