mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, dumps the http static, remux and globals.
This commit is contained in:
parent
5efd1912f2
commit
bdfd0ae09e
4 changed files with 326 additions and 2 deletions
|
@ -443,6 +443,50 @@ vhost ingest.srs.com {
|
|||
}
|
||||
}
|
||||
|
||||
# the vhost for intest with transcode engine.
|
||||
vhost transcode.ingest.srs.com {
|
||||
ingest livestream {
|
||||
enabled on;
|
||||
input {
|
||||
type file;
|
||||
url ./doc/source.200kbps.768x320.flv;
|
||||
}
|
||||
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
||||
engine {
|
||||
enabled off;
|
||||
iformat flv;
|
||||
vfilter {
|
||||
i ./doc/ffmpeg-logo.png;
|
||||
filter_complex 'overlay=10:10';
|
||||
}
|
||||
vcodec libx264;
|
||||
vbitrate 1500;
|
||||
vfps 25;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 12;
|
||||
vprofile main;
|
||||
vpreset medium;
|
||||
vparams {
|
||||
t 100;
|
||||
coder 1;
|
||||
b_strategy 2;
|
||||
bf 3;
|
||||
refs 10;
|
||||
}
|
||||
acodec libfdk_aac;
|
||||
abitrate 70;
|
||||
asample_rate 44100;
|
||||
achannels 2;
|
||||
aparams {
|
||||
profile:a aac_low;
|
||||
}
|
||||
oformat flv;
|
||||
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# vhost for http static and flv vod stream for each vhost.
|
||||
vhost http.static.srs.com {
|
||||
# http static vhost specified config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue