mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update readme, add wiki sample:transcode2hls
This commit is contained in:
parent
f9590f81b3
commit
b9613fd0d1
2 changed files with 28 additions and 0 deletions
|
@ -52,6 +52,10 @@ cd simple-rtmp-server/trunk
|
||||||
<strong>See also:</strong><br/>
|
<strong>See also:</strong><br/>
|
||||||
[Usage: How to delivery RTMP?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRTMP)<br/>
|
[Usage: How to delivery RTMP?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRTMP)<br/>
|
||||||
[Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS)<br/>
|
[Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS)<br/>
|
||||||
|
[Usage: How to delivery HLS for other codec?](https://github.com/winlinvip/simple-rtmp-server/wiki/Transcode2HLS)<br/>
|
||||||
|
[Usage: How to transode RTMP stream by SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleFFMPEG)<br/>
|
||||||
|
[Usage: How to forward stream to other server?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleForward)<br/>
|
||||||
|
[Usage: How to deploy low lantency application?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRealtime)<br/>
|
||||||
[Usage: How to show the demo of SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleDemo)<br/>
|
[Usage: How to show the demo of SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleDemo)<br/>
|
||||||
|
|
||||||
### Architecture
|
### Architecture
|
||||||
|
|
24
trunk/conf/transcode2hls.audio.only.conf
Normal file
24
trunk/conf/transcode2hls.audio.only.conf
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
listen 1935;
|
||||||
|
vhost __defaultVhost__ {
|
||||||
|
hls {
|
||||||
|
enabled on;
|
||||||
|
hls_path ./objs/nginx/html;
|
||||||
|
hls_fragment 10;
|
||||||
|
hls_window 60;
|
||||||
|
}
|
||||||
|
transcode {
|
||||||
|
enabled on;
|
||||||
|
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
||||||
|
engine ff {
|
||||||
|
enabled on;
|
||||||
|
vcodec copy;
|
||||||
|
acodec libaacplus;
|
||||||
|
abitrate 45;
|
||||||
|
asample_rate 44100;
|
||||||
|
achannels 2;
|
||||||
|
aparams {
|
||||||
|
}
|
||||||
|
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue