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! ! !
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.
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
It’s better to use the cloud. Qiniu and the like not only store data, but also process videos, etc. CDN is definitely required.
Xinzhiyun’s is also good. Website storage solutions.