We help IT Professionals succeed at work.

Playing the video files through Flash player with the use of CDN

Medium Priority
313 Views
Last Modified: 2012-05-12
HI Everyone,

Actually in my website i want to play videos with a very good quality and good streaming , i am planning to use Jwplayer and i am deplyoing in the Google cloud service , But i want to use a very good CDN for storing my images , css, js and also the player.swf file can anyone proppose a very good CDN with cost effecctiove , akami is very costly,  i am planning to whether amazon cloud front or edge cast , can anyone help  me in this which one is better
Comment
Watch Question

Amazon is amazingly cheap, and has a very good global coverage. And it's easy both to set up and to use.

We use them for most of our hosting here at work and I can gladly recommend them!

Cheers,
Chris

Author

Commented:
But actually i heard that amazon is only good for images,css,js files , it doesnt have the video streaming which other CDN s have
We're using Amazon for RTMP streaming a lot, it's really easy to set up using FTP-clients too.

You can read more about the streaming here:
http://aws.amazon.com/cloudfront/faqs/#Does_Amazon_CloudFront_support_streaming_protocols

Hope that helps!
Chris

Author

Commented:
For how many years you are using the amazon cloud front, most of our  user base is in India , i heard from reviews that there are some  times downtime with amazon cloud front
I've been using it for two years, and I've myself yet to experience any downtime at all with the hosting.

You could try looking up some Amazon Cloudfront Reviews on google to get an even better idea of what people think of it. Here's one written 2 months back:
http://www.ruchirablog.com/amazon-s3-cloudfront-review/

Hope that helps!
Chris

Author

Commented:
SO then in my case actually i am using Google cloud services for my wen hosting and if i want to use the Amazon cloud Front service for my images and videos , i have to take S3 bucket and keep my all js,css,images and player.swf file to play the videos .  and i have to keep all my html,jsp and video mp3 files in the Google cloud server , am i right?
You can pretty much distribute it as you want.

You could perhaps keep the basic files(html, javascript, stylesheets, jsp, swf etc that don't weigh too much) on your google cloud services, and then have all the bandwidth heavy content on Amazon(images, videos, mp3s etc).

Author

Commented:
Is the video files i have to keep at the cloud front or at the Google web hosting? , actually  my website hosts lot of video files where users will watch online through the player
The video files you should host at Amazon(as it's quite fast and the bandwidth is very cheap), and you can can either stream or load from Amazon through your players.

Author

Commented:
in your case do you also keep the video files and player files at the amazon , and for  player i am using JWPlayer can you let me know how to stream it and can you let me know the difference between rtmp and http steaming and which one is better
You don't need to keep the player files at amazon unless you wish to, you set up an FLV file to be RTMP streaming with Amazon by right clicking it in your FTP-client and choosing the distribution method.

Here is a bit of info about RTMP:
http://flashvisions.com/general/http-vs-rtmp-streaming-a-visual-example/ 
www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming

I guess the overall consensus is that it's just better in most aspects over HTTP streaming.

Hope that helps!

Chris

Author

Commented:
from your experience and knwoledge do you recommend me to go for Amazon EC2 or google cloud , i am thinking to for google cloud for serves and amazon s3 for storing  with Amazon cloud front , pls suggest
I think your idea to keep the Amazon for storing and Google cloud for hosting is the best way to go about it. Amazon can also do web hosting but the caching that occurs can be very frustrating if you want to rapidly update something on your website.

Go with Google Cloud for hosting web-files and Amazon for storing the bigger stuff, just as you're thinking to do!

Hope that helps,
Chris

Author

Commented:
Thank you

Author

Commented:
Sorry for the delay and thanks for the info , and one last question i have , for videos i am planning to use only .mp4 files as these files can play on apple devices also , do you have any idea on any tools which can convert the files to mp4 or does amazon only takes care of this with the inbuilt jwpalyer they have, what all formats you use for streaming
You can try Visualhub or Sorensen Squeeze for converting, there is even some online converters which are surprisingly good actually.

Besides f4v/flv for flash players, we tend to try and use OGG(Firefox) and MP4(webkit) for HTML5 video playback.

Cheers!
Chris

Author

Commented:
Can you tell me the online converter which you told the surprisingly good , can you tell me some more info on the sentence "OCG(Forefox) and MP4(webkit) for HTMl5 video playback"
David Johnson, CDSimple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
I use handbrake for h.264 encoding.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.