Last active
February 8, 2018 15:28
-
-
Save cAstraea/bcb5c33225f1dc442b0fcf10c5d4b21b to your computer and use it in GitHub Desktop.
Revisions
-
cAstraea revised this gist
Feb 8, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,14 +8,14 @@ thumbnail every 2 minutes /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/greenchannel1 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel1.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-2 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-2.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/greenchannel2 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel2.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-3 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-3.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-5 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-5.jpg -
cAstraea revised this gist
Feb 8, 2018 . 1 changed file with 10 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,14 @@ thumbnail every 2 minutes /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.220:1935/live1/greenchannel1 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel1.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.220:1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.220:1935/live1/nar-2 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-2.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.220:1935/live1/greenchannel2 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel2.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.220:1935/live1/nar-3 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-3.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.220:1935/live1/nar-5 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-5.jpg -
cAstraea revised this gist
Feb 8, 2018 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,6 @@ thumbnail every 2 minutes /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22*:1935/live1/greenchannel1 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel1.jpg usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22):1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22):1935/live1/nar-2 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-2.jpg -
cAstraea revised this gist
Feb 8, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,5 @@ thumbnail every 2 minutes /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22*:1935/live1/greenchannel1 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel1.jpg usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22):1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg -
cAstraea revised this gist
Feb 8, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,5 @@ thumbnail every 2 minutes /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22*:1935/live1/greenchannel1 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel1.jpg usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.22*:1935/live1/nar-4 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/nar-4.jpg -
cAstraea revised this gist
Feb 8, 2018 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,11 @@ //transmux rtmp to hls stream with encoding ./ffmpeg -v verbose -i rtmp://52.197.22.*:1935/live1/nar-4 -c:v libx264 -c:a aac -ac 1 -strict -2 -tune zerolatency -crf 23 -preset veryfast -profile:v baseline -maxrate 1560k -bufsize 1560k -x264opts keyint=30:min-keyint=10:no-scenecut -b:v 500k -threads 0 -g 60 -movflags +faststart -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /var/www/symfony/nar-4.m3u8 //transmux rtmp to hls stream without encoding ./ffmpeg -v verbose -i rtmp://52.197.22.*:1935/live1/nar-4 -c copy -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /var/www/symfony/nar-4.m3u8 thumbnail every 2 minutes /usr/local/bin/ffmpeg/ffmpeg-3.4.1-64bit-static/ffmpeg -i rtmp://52.197.22.*:1935/live1/greenchannel1 -s 1000x564 -r 1 -vf fps=1/120 -an -updatefirst 1 -y /var/www/symfony/img/greenchannel1.jpg -
cAstraea created this gist
Feb 8, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ ./ffmpeg -v verbose -i rtmp://52.197.22.*:1935/live1/nar-4 -c:v libx264 -c:a aac -ac 1 -strict -2 -tune zerolatency -crf 23 -preset veryfast -profile:v baseline -maxrate 1560k -bufsize 1560k -x264opts keyint=30:min-keyint=10:no-scenecut -b:v 500k -threads 0 -g 60 -movflags +faststart -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /var/www/symfony/nar-4.m3u8 ./ffmpeg -v verbose -i rtmp://52.197.22.*:1935/live1/nar-4 -c copy -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /var/www/symfony/nar-4.m3u8