Hello,
I have successfully installed the “S3FS Fuse-based file system” by following steps.
- Open SSH connection to the instance, then create a new directory:
mkdir/mnt/s3
Answer: I have created the new directory by above step
- Then mount an S3 bucket like this:
/usr/bin/s3fs your.S3.Bucket -o accessKeyId=yourAccessKey -o secretAccessKey=yourSecretAccessKey -o default_acl=public-read /mnt/s3
Answer: I have mounted the S3 bucket by above step.
3)Now modify a Wowza application that records video, change Application.xml /Streams /StorageDir to:
/mnt/s3
Answer: I have changed the
${com.wowza.wms.context.VHostConfigHome}/content
into
/mnt/s3
in home/wowza/conf/Application.xml, home/wowza/conf/live/Application.xml, home/wowza/conf/vods3/Application.xml
Now i can able to see the my video files(which is s3 bucket) in local wowza server(/mnt/s3). All files are showing in mnt/s3 directory.
I have pasted my embeded code, please let me know, shall i need to change the streamer or file parameter due to “S3FS Fuse-based file system” installation.
<embed height=“349” width=“500” type=“application/x-shockwave-flash” src=“player.swf” id=“mpl” name=“mpl” quality=“high” allowscriptaccess=“always” allowfullscreen=“true” wmode=“opaque”
flashvars="streamer=rtmp://ec2-174-129-80-132.compute-1.amazonaws.com/vods3&file=amazons3/bucketname/TEST.Title7.mp4&largecontrols=false&overstretch=fit&image=images/NEWBREED.jpg&frontcolor=0xffffff&backcolor=0x000000&flashvars=foo=Hello&lightcolor=0xDB5131&logo=images/action_videos.gif&bwfile
=images/oscmax.gif&bwstreams=100,250,500"/>
Parameters:
streamer=rtmp://ec2-174-129-80-132.compute-1.amazonaws.com/vods3
file=amazons3/bucketname/TEST.Title7.mp4
Please let me know what all are changes need to get fast streaming while using wowza server. Is any other module available or any other parameter will add/update in embed code?
Note:It was streaming fast when we used the videos directly from s3 storage, but now it is very slow due to wowza streaming server.