1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00
srs/trunk/conf/ffmpeg.transcode.conf

28 lines
752 B
Text
Raw Normal View History

2014-03-18 07:38:34 +00:00
# the config for srs use ffmpeg to transcode
2015-11-11 02:37:50 +00:00
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleFFMPEG
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;
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];
}
}
}