MP4 pseudo-streaming over HTTP

polaris · · 1280 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi folks,</p> <p>I&#39;m developing a simple app that should stream mp4 files over HTTP. Actually it should act like Nginx MP4 module <a href="http://nginx.org/en/docs/http/ngx_http_mp4_module.html">http://nginx.org/en/docs/http/ngx_http_mp4_module.html</a></p> <p>I can stream a file using net/http package but it is not possible to get it working with ?offset=12345- argument. This arg tells the server to start streaming from the exact &#34;chunk&#34; of file (MP4 files consist of chunks of data called atoms). </p> <p>Is there any module to come with it?</p> <hr/>**评论:**<br/><br/>sdobz: <pre><p>A good place to start is using ffmpeg to serve a sliced version of the file.</p></pre>YuryOdin: <pre><p>there is rtmp module <a href="https://github.com/arut/nginx-rtmp-module" rel="nofollow">https://github.com/arut/nginx-rtmp-module</a> that can stream HLS(chunks over http)</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1280 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传