mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update nginx.conf
mp3 is not what rtmp-nginx page recommends , but mp3 does work as expected. If issues happens , then the default option should be .audio.flv
This commit is contained in:
parent
be28e167a9
commit
1b39617697
1 changed files with 11 additions and 1 deletions
|
@ -29,12 +29,22 @@ worker_processes 1;
|
|||
# -c:v libx264 -vf scale=-2:720 -re 30 -g 60 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 2400k -maxrate 3000k -bufsize 6000k -c:a aac -strict -2 -b:a 128k -f hls -hls_time 2 -hls_list_size 0 -f flv rtmp://localhost/adaptive/$name_hi;
|
||||
|
||||
|
||||
#recorder video{
|
||||
#recorder video {
|
||||
# record all;
|
||||
# record_path /var/www/tmp;
|
||||
# record_notify on;
|
||||
# record_max_size 2048M;
|
||||
# record_suffix -%d-%b-%y-%T.flv;
|
||||
###If live-stream is over 30FPS and you want to limit it to 30FPS recording to light the encoding task #record_max_frames 30;
|
||||
# record_max_frames 30;
|
||||
#}
|
||||
|
||||
### Record Audio Separately ( For podcast )
|
||||
#recorder audio {
|
||||
# record audio;
|
||||
# record_path /var/www/tmp;
|
||||
# record_max_size 1024M;
|
||||
# record_suffix -%d-%b-%y-%T.mp3;
|
||||
#}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue