Posts tagged wms
How to read VOD files from Amazon S3 on Standalone Wowza Server
10I’ll explain how to is possible read the files from Amazon S3 Storage but without using a EC2 instance.
For example your “localhost” or your Standalone Wowza server running on your own datacenter.
I did this for working on my local development environment, I’ll describe the steps for a Linux environment.
1- Download from this URL the 2 Jars, and copy this in /lib directories.
wms-plugin-amazonaws.jar (1077)
wms-plugin-mediacache.jar (1083)
2- Create the MediaCache folder:
mkdir /mnt/mediacache
3- Insert into the conf/Server.xml this lines:
<ServerListeners> <ServerListener> <BaseClass>com.wowza.wms.plugin.amazonaws.ec2.mediacache.MediaCacheServerListenerAmazonEC2</BaseClass> </ServerListener> </ServerListeners>
4- Insert into the conf/vods3/Application.xml (create this first) this lines:
<MediaReader> <Properties> <Property> <Name>randomAccessReaderClass</Name> <Value>com.wowza.wms.plugin.amazonaws.ec2.mediacache.MediaCacheRandomAccessReaderAmazonEC2</Value> </Property> <Property> <Name>bufferSeekIO</Name> <Value>true</Value> <Type>Boolean</Type> </Property> </Properties> </MediaReader>
And in the end of the file, add this properties (I don’t know is needed this for read Public content):
<Properties> <!-- Set these two properties to do S3 authentication --> <Property> <Name>awsAccessKeyId</Name> <Value>KEY</Value> </Property> <Property> <Name>awsSecretAccessKey</Name> <Value>KEY</Value> </Property> </Properties>
5- Restart the Wowza Server and try reading from S3 Bucket.
The URL can be like this:
rtmp://localhost/vods3/_definst_/mp4:amazons3/wmconsulting.content/Extremists.m4v
Tell me is I missing some step or need some extra help.
VOD Demo (Amazon EC2 instance, S3 storage)
0THIS DEMO IS NOT WORKING NOW, Whe are Updating the Server
All this demos are Hosted in a Standalone Instance, and the files are serving from S3 Storage platform.
Demo a 778k (650k video + 128k audio)
[pro-player width='568' height='320' type='rtmp' streamer='rtmp://wms1.wmconsulting.info/vods3/1001/']amazons3/wmconsulting.content/BigBuckCupertinoHi.mov[/pro-player]
Demo a 578k (450k video + 128k audio)
[pro-player width='568' height='320' type='rtmp' autostart='false' streamer='rtmp://wms1.wmconsulting.info/vods3/1001/']amazons3/wmconsulting.content/BigBuckCupertinoMed.mov[/pro-player]
Demo a 328k (200k video + 128k audio)
[pro-player width='560' height='320' type='rtmp' autostart='false' streamer='rtmp://wms1.wmconsulting.info/vods3/1001/']amazons3/wmconsulting.content/BigBuckCupertinoHi.mov[/pro-player]
Demo a 328k (200k video + 128k audio) Tamaño Original
[pro-player width='284' height='160' type='rtmp' autostart='false' streamer='rtmp://wms1.wmconsulting.info/vods3/1001/']amazons3/wmconsulting.content/BigBuckCupertinoLo.mov[/pro-player]