First, to ensure the normal operation of Nginx:
This is because we add nginx directory to the path in front, but nginx start the various paths are the current working directory as the starting point, which led to the system to "c:\users\[username]/conf/nginx.conf "This place is going to look for configuration files instead of the normal" d:\nginx-1.3.9/conf/nginx.conf ". It seems not easy to lazy ah ... This problem also exists under CentOS, but Linux can be directly to the service Nginx, so there is no requirement for the current working directory. Windows of course can also be registered as a service nginx, too lazy trouble, later used to say ...
Second, the normal operation after the configuration HLS information
1. Download nginx-1.7.11 for Windows to download directly from the Nginx website
2. Create a new subdirectory: Nginx-1.5.10\html\hls, copy the generated m3u8 and sliced TS files or directories into the HLS directory
3. Open task to manage it, kill Ngnix.exe, restart Ngnix.exe
4. Open VLC Player, "open network Stream" menu, input url:http://192.168.1.100/hls/playlist.m3u8 can test play, on your ipad, can also play, simple!!
Third, use FFMEPG to turn TS file m3u8 and slice
Online a lot of rubbish articles recommended segmenter tools, but when used, 3.5G TS file lost half of the data, so think of ffmpeg turn. In the foreign web site to find orders, a word to fix, did not report half a sentence: Ffmpeg-i 12 zodiac. Ts-c copy-map 0-f segment-segment_list playlist.m3u8-segment_time . ts by the way to share with your domestic colleagues, so as to avoid suffering. After all, it is said that HLS represents FUTURE,RTSP is already a past style. In addition, for downloading the FFMEPG binary version under Windows, please go to the website http://ffmpeg.zeranoe.com/builds/win32/shared download the latest version without compiling it yourself.
Live recording screen and publish live stream, and use VLC to watch???
(go) Windows Next minute configuration Ngnix implement HLS m3u8 on demand