User guide
15
Getting started
Last updated 8/28/2014
To package an on-demand file for HTTP Dynamic Streaming, use the File Packager tool.
1 Do the following to copy an FLV or F4V/MPEG-4 file from your local computer to the /webroot/vod directory on
the Adobe Media Server instance:
• Open an SSH client and issue the following command to copy a file to the instance:
scp -i keypair.pem filename.xxx amsadmin@public-dns:/mnt/webroot/vod
For example, the following command copies the file sample.f4v to an instance:
scp -i amsdocs.pem sample.f4v amsadmin@ec2-184-72-148-15.compute-
1.amazonaws.com:/mnt/webroot/vod
Note: Use the Key Pair file you downloaded when you created the instance.
2 Connect to the instance:
ssh -i keypair.pem amsadmin@public-dns
3 Change directories to the File Packager directory:
cd /opt/adobe/ams/tools/f4fpackager
4 Run the following command:
export LD_LIBRARY_PATH=.
Note: If you aren’t in the f4fpackager directory, specify the full path to the f4fpackager.
5 Run the following command to package the sample.f4v file and copy the output files to the vod application’s media
directory:
./f4fpackager --input-file=/mnt/webroot/vod/sample.f4v --output-path=/mnt/webroot/vod
For more information, see Package content on Linux.
6 Go to the Flash Media Player Setup page at http://sourceforge.net/projects/smp.adobe/files/ and do the following:
a For Video Source, enter:
http://public-dns/vod/filename.f4m
For example, if the video you packaged was sample.f4v, the Video Source is:
http://ec2-184-72-148-15.compute-1.amazonaws.com/vod/sample.f4m
b Are you using HTTP Streaming or Flash Access 2.0? Select Yes.
c Click Preview to update the Embed Code.
d Click the Play button to play the video from your Adobe Media Server on Amazon Web Services instance.
7 When you terminate the instance, the data is deleted. To keep the recorded stream, copy it to a storage volume (S3
or EBS). For information about transferring files, see
Managing content.
Multicast streaming
Note: Adobe Media Server on Amazon Web Services supports peer-assisted multicast streaming. It does not support IP
multicast or fusion multicast.
Copy the multicast tools to the webroot folder