Video storage suggestions

jtanz
Posts: 28
Joined: Mon Mar 27, 2017 11:24 pm

Video storage suggestions

Postby jtanz » Wed May 17, 2017 4:32 pm

High resolution 360 video files can be huge, what are some suggestions of cloud storage that would also enable me to give the user functionality of selecting the current resolution of a clip being played in a forge.js viewer?

Would a S3 bucket work well enough or maybe cloudinary?

So similar to the video-controls sample :

Code: Select all

"media":
   {
  "uid": "video-0",
  "type": "video",

  "source":
  {
      "format": "equi",
      "levels": [
          { "url": "https://cdn.forgejs.org/samples/common/videos/omni-highlights/source.02-720p_HD.mp4" },
          { "url": "https://cdn.forgejs.org/samples/common/videos/omni-highlights/source.03-1080p_HD.mp4" },
          { "url": "https://cdn.forgejs.org/samples/common/videos/omni-highlights/source.04-1440p_HD.mp4" },
          { "url": "https://cdn.forgejs.org/samples/common/videos/omni-highlights/source.07-2160p_4K_H264_12M.mp4" }
      ]
  },

  "options":
  {
      "autoPlay": false,
      "loop": true,
      "volume": 0.5
  }
}
               

User avatar
rroux
ForgeJS Team
Posts: 145
Joined: Wed Oct 26, 2016 12:19 pm

Re: Video storage suggestions

Postby rroux » Thu May 18, 2017 3:29 pm

Hello jtanz,

We currently have a S3 + cloudfront for video delivery, but we are not happy with it because it is really slow!
We don't know if it comes from our configuration or if it comes from amazon.
We have to find a better way to store our videos, so if you find something good do not hesitate to share with us.

Have a nice day!
- Raphaël

jtanz
Posts: 28
Joined: Mon Mar 27, 2017 11:24 pm

Re: Video storage suggestions

Postby jtanz » Fri May 19, 2017 5:59 pm

When using the video controls, does the 'auto' option use adaptive bitrate streaming? So if the user has the 'auto resolution' options selected it first detects that the user has fast internet connection, 10 seconds later if they go to a lower connection will the video automatically play the lower resolution or will it stop and buffer the high quality resolution?

I guess the real question is, does the code use the latest Progressive Web App technologies like : service workers to cache video and adaptive bitrate streaming?

Who is online

Users browsing this forum: No registered users and 2 guests