mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
814 B
Plaintext
30 lines
814 B
Plaintext
listen 1935;
|
|
vhost __defaultVhost__ {
|
|
transcode {
|
|
enabled on;
|
|
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
|
engine ff {
|
|
enabled on;
|
|
vfilter {
|
|
}
|
|
vcodec libx264;
|
|
vbitrate 500;
|
|
vfps 25;
|
|
vwidth 768;
|
|
vheight 320;
|
|
vthreads 12;
|
|
vprofile main;
|
|
vpreset medium;
|
|
vparams {
|
|
}
|
|
acodec libaacplus;
|
|
abitrate 70;
|
|
asample_rate 44100;
|
|
achannels 2;
|
|
aparams {
|
|
}
|
|
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
|
|
}
|
|
}
|
|
}
|