<p>Noob Question: What is the ideal framework, stack, language, algorithm or method to build a video site.
Something like a self hosted YouTube or Vimeo clone with minimal features.</p>
<p>Should I learn how to build a cms first or is there a simpler and elegant way to implement this without reinventing the wheel.</p>
<hr/>**评论:**<br/><br/>xiegeo: <pre><p>You will be look at building a content delivery network more than building a website. </p></pre>Pls_I_Need: <pre><p>I used YouTube as functional description. This will be for hosting proprietary videos so it will be a lot smaller in terms of traffic and global cdn.</p></pre>Redundancy_: <pre><p>Note that there are existing solutions for doing this internal to a company, one of the best approximate algorithms to solving a problem at a company is to only solve things with proprietary solutions if you're going to sell them, you can't find a solution you can buy or they have a big return on investment :)</p></pre>Pls_I_Need: <pre><p>Can it be done in Golang?</p></pre>steve_in_finland: <pre><p>Your question is akin to asking "Can I build a library with concrete?"</p>
<p>Yes. It is possible to do this in Golang. Did that help? No. What you need is a design:</p>
<ul>
<li>User uploads video.
<ul>
<li>What happens?</li>
<li>It gets transcoded, processed, and stored "somewhere"?</li>
</ul></li>
<li>User visits site.
<ul>
<li>What happens?</li>
<li>You have to talk to the back-end and get a list of videos, tags, meta-data, etc.</li>
</ul></li>
<li>User clicks "play" on a video
<ul>
<li>What happens?</li>
<li>File must be streamed.</li>
</ul></li>
</ul>
<p>All of that ignores the fancy front-end and javascript magic people expect. If you can break the process down into steps you might be able to hack things together. Otherwise your qusetion reads a littley naively and I would ask "What is your budget?"</p></pre>Pls_I_Need: <pre><p>Indeed I'm naive! I should have said "Is anyone aware of a open source CMS written in" Golang "which I can make a site like YouTube?" I'm told Golang handles concurrency better than any other language (Nodejs)</p>
<p>I found a lengthy answer here <a href="https://stackoverflow.com/questions/4216430/python-cms-to-create-a-video-site-like-youtube" rel="nofollow">https://stackoverflow.com/questions/4216430/python-cms-to-create-a-video-site-like-youtube</a></p>
<p>Next time I'll frame the question better. The budget will come after I have figured the ideal way forward; off-the-shelf or custom dev. </p></pre>unix15e8: <pre><p>Searching for <a href="https://www.google.com/search?q=site:github.com+video+streaming+golang" rel="nofollow">video streaming</a> and <a href="https://www.google.com/search?q=site:github.com+video+server+golang" rel="nofollow">video server</a> on GitHub returned some interesting projects.</p></pre>Pls_I_Need: <pre><p>Awesome, thank you very much!</p></pre>xiegeo: <pre><p>Then Go is a good language to use, especially if the businesses wants to keep their videos in their own servers. </p>
<p>On the hard requirements side of things, you can really use any language for the website, since most of the work is in transfering, transcoding, and storing of the videos, what you use to serve the front end and fire of transcoding scripts are going to have negligible resource usages. </p></pre>SeriousM00nlight: <pre><p>Video encoding and queues too but AWS has a few services to turn that into an easy to scale solution with a few API calls. It’s s massive project, but perhaps less so than when YouTube was created. Still don’t underestimate it.</p></pre>tv64738: <pre><p>Hi, I worked for one of those "we could have been Youtube" online video sites back in the day. The core functionality (ignoring things like recommendations, DMCA, massive popularity, etc) is not a massive project at all. Three programmers and a couple of months should get you set up well enough; even more so in this modern world of on-demand cloud storage and compute.</p></pre>SeriousM00nlight: <pre><p>There’s a lot more than just the programming. You’re underestimating it.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传