Answer the question
In order to leave comments, you need to log in
Need to understand what is DASH (mpeg-dash) and how to use it?
Help me figure out what DASH (MPEG-DASH) is and how to use it, first I will describe it as I understand it. DASH is a technology with which you can stream video or just broadcast static video (like on YouTube), with dynamic upload. Since in my case it is necessary to broadcast a static (saved on the server) video, I will talk about it. In order to start broadcasting using this technology, you need to connect the nginx-rtmp-module module to nginx ( or is it done using another tool? ) and specify in it:
rtmp {
server {
listen 1234;
application videos/{
dash on;
dash_path /path/to/;
}}}
http {
server {
location videos{
root /path/to/;
}}}
Answer the question
In order to leave comments, you need to log in
DASH works over HTTP, not RTMP, rtmp
in the nginx config - nginx-rtmp-module settings. For static content, the rtmp module is not needed (DASH itself is built on the fact that all fragments should be available as regular files).
Accordingly, only the second part is needed from your config.
mp4box -dash XXXX -rap -profile "dashavc264:onDemand"
- for static, "dashavc264:live"
- for streams. Why nginx-rtmp-module and not nginx-vod-module? If rtmp is not needed, then it is better to use nginx-vod-module. Here and drm can be screwed.
I agree with Andrey Hammer , it will be clearer this way https://github.com/kaltura/nginx-vod-module
I use it myself to play via HLS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question