1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00
srs/trunk/conf/transcode2hls.audio.only.conf

29 lines
815 B
Text
Raw Normal View History

2014-03-18 07:38:34 +00:00
# the config for srs to delivery hls
2015-04-29 09:06:32 +00:00
# @see https://github.com/simple-rtmp-server/srs/wiki/v1_CN_SampleHLS
2014-03-18 07:38:34 +00:00
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
hls {
enabled on;
hls_fragment 10;
hls_window 60;
hls_path ./objs/nginx/html;
hls_m3u8_file [app]/[stream].m3u8;
hls_ts_file [app]/[stream]-[seq].ts;
}
transcode {
enabled on;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine ff {
enabled on;
vcodec copy;
2015-03-06 14:35:02 +00:00
acodec libfdk_aac;
aparams {
}
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
}
}
}