Greetings. Tried to deal with mp4 pseudo streaming Nginx ... And since there is not much knowledge in this area, questions have arisen.

I compiled nginx with --with-http_mp4_module, registered in the config

location /opt/video/mp4/ { mp4; mp4_buffer_size 1m; mp4_max_buffer_size 5m; } 

Now, to start streaming, it is enough for me to fill in an ordinary mp4 file and insert it into the html5 video tag? Yes, the video starts, but I'm not sure that this is pseudo-streaming, so I get absolutely identical results when I give the file and without the --with-http_mp4_module module in the video tag ...

Is it better to use the video tag or a player like videojs for cross-plastering?

  • ibid for this special directive vod and application - etki

1 answer 1

According to the documentation, you must also specify the start argument.

If the request processed by this module does not contain the start and end arguments, additional resources are not spent, and the file is sent directly as a static resource.

  • It is only about flash player.

It seems that logs can tell about what is actually happening.

  • Try to hit the link through curl or wget. So it will be easier to settle.