Remove sizes
This commit is contained in:
parent
55afa4bf7e
commit
998e59ef52
10
nginx.conf
10
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 {
|
||||
|
|
Loading…
Reference in New Issue