From 998e59ef52c27da1a044c687fe2aaa0660c846b3 Mon Sep 17 00:00:00 2001 From: Ismail Pelaseyed Date: Sun, 22 Oct 2017 00:24:11 +0200 Subject: [PATCH] Remove sizes --- nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx.conf b/nginx.conf index c9ebd0c..f696613 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,11 +15,11 @@ rtmp { live on; exec ffmpeg -i rtmp://localhost:1935/stream/$name - -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 2500k -f flv -g 30 -r 30 -s 1280x720 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_720p2628kbs - -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 1000k -f flv -g 30 -r 30 -s 854x480 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_480p1128kbs - -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 750k -f flv -g 30 -r 30 -s 640x360 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_360p878kbs - -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 400k -f flv -g 30 -r 30 -s 426x240 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_240p528kbs - -c:a libfdk_aac -b:a 64k -c:v libx264 -b:v 200k -f flv -g 15 -r 15 -s 426x240 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_240p264kbs; + -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 2500k -f flv -g 30 -r 30 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_720p2628kbs + -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 1000k -f flv -g 30 -r 30 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_480p1128kbs + -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 750k -f flv -g 30 -r 30 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_360p878kbs + -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 400k -f flv -g 30 -r 30 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_240p528kbs + -c:a libfdk_aac -b:a 64k -c:v libx264 -b:v 200k -f flv -g 15 -r 15 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_240p264kbs; } application hls {