It is currently Wed Dec 04, 2024 4:25 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Jun 16, 2023 1:49 am 
Offline
User avatar

Joined: Fri Nov 02, 2018 12:02 pm
Posts: 2201
Location: What are you, my mother?
pizza_Place: D'Agostino's
How would one go about it? I am completely naive about this stuff...

kinda looking to figure out the costs for dedicated servers (?) if that is what I would need...that could house large amounts (such as 1K-10K total) of 1 minute videos that are full HD resolutions, perhaps several versions of both 720 and 1080, maybe even 4K...

searchable via a cloud database (perhaps a completely different issue)...and which could then be easily downloaded, (for whatever it would cost)...

So Chop, Chop, lets get at it


:alien: :drunken: :roll: :lol:

Look, I am clearly in over my already short head, so any advice about where to start would be greatly appreciated :)


Top
 Profile  
 
PostPosted: Fri Jun 16, 2023 7:28 am 
Offline
User avatar

Joined: Mon Apr 14, 2014 10:45 am
Posts: 16843
pizza_Place: Salerno's
probably uploading them to an AWS s3 bucket and then throwing up a React/Vue Material UI web interface for searching/retrieving/playing/downloading.

Image


AWS s3 bucket to host / store the video files (relatively easy and way more inexpensive to generate different resolutions on upload and store all of them, rather than re-encode on demand)

CloudFront is optional--it pushes your media files out to the "edge" across Amazon's vast network and therefore closer to your end users...with the associated benefits.

if you wanna go even cheaper, instead of using CloudFront and what's likely Amazon's managed ECS for the front-end, put the front-end UI app on an EC2 instance (use a "spot" ec2 instance to get mad cheap) and you get free transfers between s3 and ec2 on AWS and then the only recurring charge would be the bandwidth as users viewed / downloaded the videos as they hit your web UI on the EC2 instance.


There are commercial services that do all of this for you; they all use some version of the above infrastructure and building it yourself on AWS is anywhere from 10x to 20x less expensive than paying pcloud or sync or Publitio or whomever.

If the idea of using AWS is intimidating, Digital Ocean's a competing cloud provider that offers services that replicate AWS's at similar or even cheaper prices (esp initially):

https://www.digitalocean.com/products/spaces

https://reelnreel.com/building-own-vide ... italocean/

And Digital Ocean's tutorials tend to be the easiest for a newbie to grok. When I started fucking with the cloud several years back, I'd often use DO's tutorials for kubernetes / docker etc even tho I was deploying to AWS. It's all the same between AWS and DO, just DO isn't necessarily a place you'd host a commercial business. Not that people don't but if you're gonna scale, you'll end up on AWS.

Notice DO makes a big deal about how their stuff is compatible with AWS. They're aware people are coming to them as a first ever cloud deployment learning experience (which they specialize in and are the best to use when first learning, saves money and they keep it simple) but eventually going to jump to AWS.


Top
 Profile  
 
PostPosted: Fri Jun 16, 2023 8:02 am 
Offline
User avatar

Joined: Thu Feb 17, 2005 2:35 pm
Posts: 82292
you should do all that and also have porn

_________________
O judgment! Thou art fled to brutish beasts,
And men have lost their reason.


Top
 Profile  
 
PostPosted: Fri Jun 16, 2023 8:08 am 
Offline
User avatar

Joined: Wed Jun 21, 2006 6:57 pm
Posts: 92212
Location: To the left of my post
OscarTangoEcho wrote:
How would one go about it? I am completely naive about this stuff...

kinda looking to figure out the costs for dedicated servers (?) if that is what I would need...that could house large amounts (such as 1K-10K total) of 1 minute videos that are full HD resolutions, perhaps several versions of both 720 and 1080, maybe even 4K...

searchable via a cloud database (perhaps a completely different issue)...and which could then be easily downloaded, (for whatever it would cost)...

So Chop, Chop, lets get at it


:alien: :drunken: :roll: :lol:

Look, I am clearly in over my already short head, so any advice about where to start would be greatly appreciated :)
Hussra covered a lot. I'll still to the pricing. I do Azure stuff but AWS is similar. Basically, it's expensive.
https://docs.aws.amazon.com/solutions/latest/video-on-demand-on-aws-foundation/cost.html

Most of the cost is not storage but the amount of users who are getting the content and how big that file is. 480p will be much cheaper than 1080p and 4k just isn't going to be an option unless you can sell a premium plan to your users to make up the huge increase in streaming costs. That's why Netflix and others charge you extra for 4k.

So step 1 is to figure out how many users you will have. Step 2 is to figure out how big the video you have is per minute. Basically, you take (Users) x (Size per second) x (Expected watch length) x .085 to get your expected cost.

If you don't want to try and figure out your individual situation, you can also calculate it this way using these general stats.
https://www.uscreen.tv/blog/video-storage-solutions/
720p: 900 mb an hour(15 mb per minute)
1080p: 1.4 gb an hour(23.5 mb per minute)
4k: 22 gb an hour(366 mb per minute)

_________________
You do not talk to me like that! I work too hard to deal with this stuff! I work too hard! I'm an important member of the CSFMB! I drive a Dodge Stratus!


Top
 Profile  
 
PostPosted: Fri Jun 16, 2023 11:49 am 
Offline
User avatar

Joined: Sun Jul 02, 2006 6:08 am
Posts: 7220
Location: Section 433
pizza_Place: 1. Homemade 2. Jewels
:lol: Just like our IT dept. Someone asks for help and includes a disclaimer they are naïve but still get a response loaded with jargon and alphabet soup.

OscarTangoEcho wrote:
How would one go about it? I am completely naive about this stuff...


Hussra wrote:
probably uploading them to an AWS s3 bucket and then throwing up a React/Vue Material UI web interface for searching/retrieving/playing/downloading.

AWS s3 bucket to host / store the video files (relatively easy and way more inexpensive to generate different resolutions on upload and store all of them, rather than re-encode on demand)

CloudFront is optional--it pushes your media files out to the "edge" across Amazon's vast network and therefore closer to your end users...with the associated benefits.

if you wanna go even cheaper, instead of using CloudFront and what's likely Amazon's managed ECS for the front-end, put the front-end UI app on an EC2 instance (use a "spot" ec2 instance to get mad cheap) and you get free transfers between s3 and ec2 on AWS and then the only recurring charge would be the bandwidth as users viewed / downloaded the videos as they hit your web UI on the EC2 instance.


There are commercial services that do all of this for you; they all use some version of the above infrastructure and building it yourself on AWS is anywhere from 10x to 20x less expensive than paying pcloud or sync or Publitio or whomever.

If the idea of using AWS is intimidating, Digital Ocean's a competing cloud provider that offers services that replicate AWS's at similar or even cheaper prices (esp initially):

https://www.digitalocean.com/products/spaces

https://reelnreel.com/building-own-vide ... italocean/

And Digital Ocean's tutorials tend to be the easiest for a newbie to grok. When I started fucking with the cloud several years back, I'd often use DO's tutorials for kubernetes / docker etc even tho I was deploying to AWS. It's all the same between AWS and DO, just DO isn't necessarily a place you'd host a commercial business. Not that people don't but if you're gonna scale, you'll end up on AWS.

Notice DO makes a big deal about how their stuff is compatible with AWS. They're aware people are coming to them as a first ever cloud deployment learning experience (which they specialize in and are the best to use when first learning, saves money and they keep it simple) but eventually going to jump to AWS.

_________________
"I honestly don't see a good bet on the board here."


Top
 Profile  
 
PostPosted: Fri Jun 16, 2023 12:24 pm 
Offline
User avatar

Joined: Thu Jul 13, 2006 1:25 pm
Posts: 27055
Don't use nextcloud to do this, that is certain.

_________________
the world will always the world. your entire existence is defined by your response.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group