• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by Nanda kumar · Dec 22, 2009 at 04:07 PM ·

How to increase the streaming speed

Hello,

I have successfully installed the " S3FS Fuse-based file system" by following steps.

1) Open SSH connection to the instance, then create a new directory:

mkdir/mnt/s3

Answer: I have created the new directory by above step

2) 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:

<StorageDir>/mnt/s3</StorageDir>

Answer: I have changed the

<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>

into

<StorageDir>/mnt/s3</StorageDir>

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ℑ=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.
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Richard Lanham · Dec 22, 2009 at 12:54 PM

You should only change the StorageDir in the application that records, in /conf/live/Application.xml.

Leave the /conf/Application.xml and /conf/vods3/Application.xml StorageDir unchanged.

Do you mean fast startup? What is the bit rate of the videos you are testing? If the item is not in cache it can be a little slower to start, especially if the bit rate is high.

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nanda kumar · Dec 23, 2009 at 11:28 AM 0
Share
Hello Richard,

One More Doubt,

I have mounted the amazon s3 bucket into local wowza streaming server(/mnt/s3) by "S3FS Fuse-based file system", but couldn't able to find whether videos are streaming from amazon s3 bucket or mounted directory which is in wowza server.

My Embed code:

<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=fi tℑ=images/NEWBREED.jpg&frontcolor=0xffffff&backcolor=0x00000 0&flashvars=foo=Hello&lightcolor=0xDB5131&logo=ima ges/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 streaming the videos from mounted directory(/mnt/s3) which is in local wowza streaming server.
avatar image

Answer by Richard Lanham · Dec 23, 2009 at 12:56 PM

s3fs probably won't work very well to stream from. If you want to try it you can set up a Wowza application that uses "default" stream type and the Application.xml /StorageDir is set to the s3fs mount point. But this is not going to work with the vods3 application.

And the vods3 app is what you should be using to stream from, and it does not involve s3fs.

s3fs is good for recording to, but not streaming from.

Take a look at the Wowza EC2 for instructions on using vods3:

http://www.wowza.com/resources/WowzaProForAmazonEC2_UsersGuide.pdf

Richard
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Looking to verify a stream is being sent to our Wowza instance for streaming... 1 Answer

Which web player are you using? 1 Answer

Preroll for VOD files 2 Answers

Secure Streaming to Iphone using AES-128 4 Answers

3.6 to 4 upgrade 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges