1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/conf/ffmpeg.transcode.conf

30 lines
807 B
Text
Raw Normal View History

2014-03-18 07:38:34 +00:00
# the config for srs use ffmpeg to transcode
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ffmpeg
2014-03-18 07:38:34 +00:00
# @see full.conf for detail config.
2014-03-10 15:13:09 +00:00
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
2014-03-10 15:13:09 +00:00
vhost __defaultVhost__ {
transcode {
enabled on;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine ff {
enabled on;
vfilter {
}
vcodec libx264;
vthreads 4;
2014-03-10 15:13:09 +00:00
vprofile main;
vpreset medium;
vparams {
}
2015-03-06 14:35:02 +00:00
acodec libfdk_aac;
2014-03-10 15:13:09 +00:00
aparams {
}
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
}
}
}