Closed
Description
Hi, the SRS is crashed for some reason that I couldn't research further but getting crash log(attached below).
It's happened yesterday, though it was working more than 2 months perfectly.
SRS version:XCORE-SRS/2.0.221(ZhouGuowen)
OS type:Ubuntu 14.04. deployed on AWS EC2 t2.medium instance\
SRS config file:
# main config for srs.
# @see full.conf for detail config.
listen 1935;
max_connections 100;
srs_log_tank file;
srs_log_file ./objs/srs.log;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
stats {
network 0;
disk sda sdb xvda xvdb;
}
vhost __defaultVhost__ {
transcode liveff {
enabled on;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine ff {
# whether the engine is enabled
# default: off.
enabled on;
iformat flv;
vcodec libx264;
vfps 20;
vthreads 2;
vprofile baseline;
vpreset ultrafast;
# other x264 or ffmpeg video params
vparams {
# # ffmpeg options, @see: http://ffmpeg.org/ffmpeg.html
# #t 100;
level 30;
crf 28;
# # 264 params, @see: http://ffmpeg.org/ffmpeg-codecs.html#libx264
coder 1;
b_strategy 2;
bf 0;
refs 6;
g 40;
}
acodec copy;
oformat flv;
output rtmp://127.0.0.1:[port]/livelow/[stream];
}
}
gop_cache on;
queue_length 5;
}