1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update readme

This commit is contained in:
winlin 2013-11-30 23:12:47 +08:00
parent 100a48795f
commit 52e6115f9a
2 changed files with 24 additions and 2 deletions

View file

@ -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