disable source hls

This commit is contained in:
deflax 2021-10-11 22:24:16 +00:00
parent 4e7558dfdc
commit afb230c61d

View file

@ -171,8 +171,8 @@ rtmp {
-c:v libx264 -b:v 800k -maxrate 856k -vf "scale=640:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 96k -bufsize 1200k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_360p -c:v libx264 -b:v 800k -maxrate 856k -vf "scale=640:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 96k -bufsize 1200k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_360p
-c:v libx264 -b:v 1400k -maxrate 1498k -vf "scale=842:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 128k -bufsize 2100k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_480p -c:v libx264 -b:v 1400k -maxrate 1498k -vf "scale=842:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 128k -bufsize 2100k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_480p
-c:v libx264 -b:v 2800k -maxrate 2996k -vf "scale=1280:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 128k -bufsize 4200k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_720p -c:v libx264 -b:v 2800k -maxrate 2996k -vf "scale=1280:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 128k -bufsize 4200k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_720p
-c:v libx264 -b:v 5000k -maxrate 5350k -vf "scale=1920:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 192k -bufsize 7500k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_1080p -c:v libx264 -b:v 5000k -maxrate 5350k -vf "scale=1920:trunc(ow/a/2)*2" -c:a aac -ar 48000 -b:a 192k -bufsize 7500k -tune zerolatency -preset veryfast -crf 23 -g 60 -hls_list_size 0 -f flv rtmp://localhost/hls/$name_1080p;
-c copy -f flv rtmp://localhost/hls/$name_source; # -c copy -f flv rtmp://localhost/hls/$name_source;
## YOUTUBE PUSH OPTIONS ## ## YOUTUBE PUSH OPTIONS ##
# push rmtp://localhost/youtube; # Uncomment this to use application on localhost (MUST BE SPECIFIED). OR simply use the following line: # push rmtp://localhost/youtube; # Uncomment this to use application on localhost (MUST BE SPECIFIED). OR simply use the following line: