简体   繁体   中英

How to stream and capture MP4 file using MPEG DASH?

I am learning MPEG-DASH for a week. For testing purpose , I used : https://github.com/kaltura/nginx-vod-module -> MPEG-DASH server to stream MP4 video.

I have not found that , How to configure MP4 file path inside nginx.conf.

Can some one suggest me on it?

Thanks in Advance.

You can refer this: https://www.instructables.com/Making-Your-Own-Simple-DASH-MPEG-Server-Windows-10/ https://www.bbsmax.com/A/RnJWw1koJq/

  1. using ffmpeg convert files to different resolution ones

  2. using MP4Dash to dash mp4 files

  3. push mp4 dash files to nginx server the nginx config maybe like below:

     server { listen ; server_name www.testvideo.com; location / { add_header Access-Control-Allow-Methods “GET,HEAD; add_header Accept-Ranges "bytes"; add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Expose-Headers “Content-Lengrh,Content-Range,Date,Server,Transfer-Encoding,origin,range,x-goog-meta-foo1”; root E:/video/fragment/output; } }
  4. config node js

BR,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM