winlin

update readme, add wiki sample:transcode2hls

@@ -52,6 +52,10 @@ cd simple-rtmp-server/trunk @@ -52,6 +52,10 @@ cd simple-rtmp-server/trunk
52 <strong>See also:</strong><br/> 52 <strong>See also:</strong><br/>
53 [Usage: How to delivery RTMP?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRTMP)<br/> 53 [Usage: How to delivery RTMP?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRTMP)<br/>
54 [Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS)<br/> 54 [Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS)<br/>
  55 +[Usage: How to delivery HLS for other codec?](https://github.com/winlinvip/simple-rtmp-server/wiki/Transcode2HLS)<br/>
  56 +[Usage: How to transode RTMP stream by SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleFFMPEG)<br/>
  57 +[Usage: How to forward stream to other server?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleForward)<br/>
  58 +[Usage: How to deploy low lantency application?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRealtime)<br/>
55 [Usage: How to show the demo of SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleDemo)<br/> 59 [Usage: How to show the demo of SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleDemo)<br/>
56 60
57 ### Architecture 61 ### Architecture
  1 +listen 1935;
  2 +vhost __defaultVhost__ {
  3 + hls {
  4 + enabled on;
  5 + hls_path ./objs/nginx/html;
  6 + hls_fragment 10;
  7 + hls_window 60;
  8 + }
  9 + transcode {
  10 + enabled on;
  11 + ffmpeg ./objs/ffmpeg/bin/ffmpeg;
  12 + engine ff {
  13 + enabled on;
  14 + vcodec copy;
  15 + acodec libaacplus;
  16 + abitrate 45;
  17 + asample_rate 44100;
  18 + achannels 2;
  19 + aparams {
  20 + }
  21 + output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
  22 + }
  23 + }
  24 +}