EasyManua.ls Logo

Adobe MEDIA SERVER - Page 17

Adobe MEDIA SERVER
42 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
14
USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES
Getting started
Last updated 9/20/2013
Deselect Save to File.
Click Start to publish a stream to the livepkgr application on the instance.
2 Go to the Flash Media Playback Setup page at http://www.osmf.org/configurator/fmp/ and do the following:
a For Video Source, enter:
http://public-dns/live/events/livepkgr/events/_definst_/liveevent.f4m
For example, if the Public DNS of the instance is ec2-184-72-148-15.compute-1.amazonaws.com, the Video
Source is:
http://ec2-184-72-148-15.compute-1.amazonaws.com/live/events/livepkgr/events/_definst_/liveevent.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.
You can select other options in the Flash Media Playback Setup page. After you change an option, click Preview to
update the embed code.
To embed Flash Media Playback in your own web page, copy the Preview Embed Code, and paste it into your
HTML page.
On-demand HTTP Dynamic Streaming
Flash Player 10.1, AIR 2
Note: This tutorial assumes that you’ve completed the on-demand streaming tutorial and know how to launch an
instance and connect to an instance.
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 root@public-dns:/mnt/webroot/vod
For example, the following command copies the file sample.f4v to an instance:
scp -i amsdocs.pem sample.f4v root@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 root@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:

Related product manuals