diff --git a/README.md b/README.md
index 5e10e7e9a..8daf0cf9d 100755
--- a/README.md
+++ b/README.md
@@ -43,6 +43,8 @@ step 6: play live stream auto transcoded
rtmp url: rtmp://127.0.0.1:1935/live/livestream_fast m3u8 url: http://127.0.0.1:80/live/livestream_fast.m3u8 +rtmp url: rtmp://127.0.0.1:1935/live/livestream_sd +m3u8 url: http://127.0.0.1:80/live/livestream_sd.m3u8### System Requirements diff --git a/trunk/conf/srs.conf b/trunk/conf/srs.conf index 5e669be06..464341e88 100755 --- a/trunk/conf/srs.conf +++ b/trunk/conf/srs.conf @@ -20,14 +20,14 @@ vhost __defaultVhost__ { enabled on; ffmpeg ./objs/ffmpeg/bin/ffmpeg; #ffmpeg ./research/ffempty/ffempty; - engine fd{ + engine fast{ enabled on; vcodec libx264; vbitrate 300; vfps 20; vwidth 480; vheight 320; - vthreads 2; + vthreads 1; vprofile baseline; vpreset superfast; vparams { @@ -40,6 +40,26 @@ vhost __defaultVhost__ { } output rtmp://[vhost]:[port]/[app]/[stream]_fast; } + engine sd{ + enabled on; + vcodec libx264; + vbitrate 500; + vfps 20; + vwidth 720; + vheight 480; + vthreads 1; + vprofile main; + vpreset fast; + vparams { + } + acodec libaacplus; + abitrate 40; + asample_rate 44100; + achannels 2; + aparams { + } + output rtmp://[vhost]:[port]/[app]/[stream]_sd; + } } } # transcode all app and stream of vhost