Amazon s3 streaming with JW Player

10 replies
Hi Warriors,

I have been using Amazon s3 for a long time, but I'm having more and more long presentations that are 90 minutes or so and no matter how much I convert them to flash and shrink the file size, they are taking a while to download so they can start playing, especially if the person downloading has a slow connection.

I would like to stream them using JW Player (or some other player), but this is the one I purchased a license to and they have instructions on Pseudo-streaming and RTMP Streaming.

I'm not sure what is the best most optimal route to go and I'm trying to learn this today and I thought maybe I'll try to ask if someone has struggled with this and figured it out, what do you recommend I should do? I'm open to any ideas.

PS: Also when they stream they can't download the presentation using download helper or other download tools?

Thanks in advance. :confused:
#amazon #player #streaming
  • The problem is that you don't optimize your video for online streaming, thus the player has to download the whole video size before it starts streaming.

    You wanna re-encode your video with HandBrake (or any other video app) to enable the "fast-start" feature: the player only downloads the initial 5% of the video size, then it starts streaming, and from there the download/streaming happens simultaneously.
    {{ DiscussionBoard.errors[7704567].message }}
  • Thanks. I do it with handbrake. What I can't get working in the streaming feature not the regular http download.
    Signature

    Join Next Live Mastermind Zoominar 100% Real World Secrets to Get Up And Running. Are you Stuck? Don’t miss it www.MonthlyMastermind.org
    {{ DiscussionBoard.errors[7704780].message }}
  • Profile picture of the author Bruce Wedding
    I use the JW Player WP Plugin with S2 Member and have implemented RTMP streaming with the Amazon CDN. S2 Member makes it easy, doing the Amazon configuration for you but I don't really think it's that difficult doing it straight up with the JW Player.

    Once you get it working, it's awesome. I can click anywhere in a 90 minute video and it starts playing in seconds.

    Do you have a specific question?
    {{ DiscussionBoard.errors[7705215].message }}
    • Originally Posted by Bruce Wedding View Post

      I use the JW Player WP Plugin with S2 Member and have implemented RTMP streaming with the Amazon CDN. S2 Member makes it easy, doing the Amazon configuration for you but I don't really think it's that difficult doing it straight up with the JW Player.

      Once you get it working, it's awesome. I can click anywhere in a 90 minute video and it starts playing in seconds.

      Do you have a specific question?
      Thanks Bruce, basically I'm trying to do what you did to get RTMP steaming. I don't mind getting s2 member is that a player? In JW player they have instruction I have been trying for hours but can't get it to stream only to download, and even with handbrake if the file is long it takes a while so I know RTMP is probably the answer. Plus I want the ability on the control that they can skip and instantly plan any part of a long video.

      In any case are there any dummy proof instruction to make this happen? Thanks. :confused:
      Signature

      Join Next Live Mastermind Zoominar 100% Real World Secrets to Get Up And Running. Are you Stuck? Don’t miss it www.MonthlyMastermind.org
      {{ DiscussionBoard.errors[7705345].message }}
      • Profile picture of the author Bruce Wedding
        Originally Posted by HelpingYouBeAnExpert View Post

        Thanks Bruce, basically I'm trying to do what you did to get RTMP steaming. I don't mind getting s2 member is that a player? In JW player they have instruction I have been trying for hours but can't get it to stream only to download, and even with handbrake if the file is long it takes a while so I know RTMP is probably the answer. Plus I want the ability on the control that they can skip and instantly plan any part of a long video.

        In any case are there any dummy proof instruction to make this happen? Thanks. :confused:
        S2 Member is a membership script. You don't need that, though you could use it to set things up and not even use the membership parts of it. That's overkill in my opinion.

        Are you using Amazon CDN? Did you create a stream or a distribution? Sounds like that may be the issue, not something with JWPlayer. I'll look for some code for your player though.
        {{ DiscussionBoard.errors[7707389].message }}
        • Profile picture of the author Bruce Wedding
          Ok, I just did a very BASIC Amazon CDN RTMP streaming video setup. This is just the stock JW Player on a basic HTML page. No plugins, no wordpress, no nothing. Here it is, on RTMP naturally

          This is NOT my usual video quality, just something I threw together for you quickly. Feel free to steal the HTML code from my site if you wish to have a working example.

          www.freetrainingtexas.com

          Here's a link to the JW Player Wizard.
          JW Player Wizard | Easy HTML5 & Flash Setup | LongTail Video

          If you don't have an Amazon AWS account for the CDN, you can get one in minutes for no money down.

          Enjoy
          {{ DiscussionBoard.errors[7707733].message }}
          • Profile picture of the author solae
            Originally Posted by Bruce Wedding View Post

            Ok, I just did a very BASIC Amazon CDN RTMP streaming video setup. This is just the stock JW Player on a basic HTML page. No plugins, no wordpress, no nothing. Here it is, on RTMP naturally

            This is NOT my usual video quality, just something I threw together for you quickly. Feel free to steal the HTML code from my site if you wish to have a working example.

            www.freetrainingtexas.com

            Here's a link to the JW Player Wizard.
            JW Player Wizard | Easy HTML5 & Flash Setup | LongTail Video

            If you don't have an Amazon AWS account for the CDN, you can get one in minutes for no money down.

            Enjoy
            Hi,
            I just tried playing this on my iPhone but it is not playing. I am looking for a free solution that will play on iPads, iPhones, etc.
            Any ideas?
            Thanks
            {{ DiscussionBoard.errors[7732457].message }}
    • Profile picture of the author Brandon Tanner
      If you are using JWPlayer, use the HTML5 version (mp4, ogv, webm) with Flash fallback.

      And make sure the metadata info is at the beginning of your mp4 file (a lot of video editors/converters put it at the end of the file by default). If you are using Handbrake, you can accomplish this by checking the "web optimized" box. Another way to do it is to use this.
      Signature

      {{ DiscussionBoard.errors[7705368].message }}
  • Profile picture of the author WillR
    1. Your video file shouldn't be in flash format it should be in mp4 format nowadays. That gives the best quality/size ratio.

    2. When using Handbrake make sure you select the 'Web Optimized' box as that will put the meta data at the BEGINNING of the video. If you do not tick that box then the meta data will most likely be at the end of the video meaning the whole video file needs to download before it will start playing which creates a huge delay for your viewers.

    {{ DiscussionBoard.errors[7706629].message }}
    • Profile picture of the author Snow_Predator
      I don't know what the file-size limit is on youtube, but I've find that videos that stream from youtube, do just as well as those you stream from Amazon S3 (i.e. the cheaper, non-rtmp/cloud service).

      You can use JW player to show youtube videos on your site. With JW Player, you can customise the video so it looks and behaves just like an Amazon S3 file.

      The only reason I still use Amazon S3 is because I can't get youtube videos to auto-play on iPhones and iPads.
      {{ DiscussionBoard.errors[7707055].message }}

Trending Topics