I am planning to build a video website. Now I have encountered the following problems. I urgently need the guidance of experts:
1.视频文件是MP4格式的, 把视频文件存在自己的服务器还是选择存在OSS上好呢?
2.如果用OSS,用加CDN么?
3.如果存在OSS上,网站页面打开的时候是直接用OSS的文件路径还是用CDN的路径呢?
4、如果不用OSS,用什么方式来存储视频 ?
Kneel down and beg the gods for guidance! ! !
某草草2017-07-06 10:37:19
OSS is better.
Of course you must use a CDN. It would be a tragedy if the video website did not have a CDN.
Using a CDN path can prevent crawlers/anti-cross-domain.
Not recommended.
大家讲道理2017-07-06 10:37:19
Talk about our plan
Using third-party storage
added cdn
The path to the cdn given
Third-party storage:
Pay according to space or traffic, there are also some free functions
Using CDN means using cache to reduce traffic loss and reduce the traffic maliciously pulled by others
The third party is still relatively mature at present, and can also help you transcode, obtain cover images, etc.
Save server (no need to consider transcoding, etc.), storage
Comprehensive server cost, CDN cost and third-party storage cost
ringa_lee2017-07-06 10:37:19
It’s better to use the cloud. Qiniu and the like not only store data, but also process videos, etc. CDN is definitely required.