Home  >  Q&A  >  body text

php - Video website storage solution?

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! ! !

曾经蜡笔没有小新曾经蜡笔没有小新2661 days ago1359

reply all(4)I'll reply

  • 某草草

    某草草2017-07-06 10:37:19

    1. OSS is better.

    2. Of course you must use a CDN. It would be a tragedy if the video website did not have a CDN.

    3. Using a CDN path can prevent crawlers/anti-cross-domain.

    4. Not recommended.

    reply
    0
  • 大家讲道理

    大家讲道理2017-07-06 10:37:19

    Talk about our plan

    1. Using third-party storage

    2. added cdn

    3. The path to the cdn given

    Third-party storage:

    1. Pay according to space or traffic, there are also some free functions

    2. Using CDN means using cache to reduce traffic loss and reduce the traffic maliciously pulled by others

    3. The third party is still relatively mature at present, and can also help you transcode, obtain cover images, etc.

    4. Save server (no need to consider transcoding, etc.), storage

    5. Comprehensive server cost, CDN cost and third-party storage cost

    reply
    0
  • ringa_lee

    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.

    reply
    0
  • 巴扎黑

    巴扎黑2017-07-06 10:37:19

    Xinzhiyun’s is also good. Website storage solutions.

    reply
    0
  • Cancelreply