(Nginx-Konfigurationsdatei) OBS senden an transcode- & gt;
Anwendungs-Transcoder
{
exec ffmpeg -y -i rtmp: // localhost / transcoder -b: v 6000k -minrate 5500k -maxrate 6500k -bufsize 7000k -vcodec libx264 -preset medium -s 1920x1080 -sws_flags hal-hrd = cbr: force-cfr = 1: keyint = 120 -pass 1 -an -f flv / dev / null;
exec ffmpeg -i rtmp: // localhost / transcoder -b: v 6000k -minrate 5500k -maxrate 6500k -bufsize 7000k -vcodec libx264 -preset medium -s 1920x1080 -sws_flags bicubic -r 60 -x264-params hal-hrd = cbr: force-cfr = 1: keyint = 120 -pass 2 -acodec aac -ab 160k -strict -2 -f flv rtmp: // localhost / transcoded-1080 /; }
Anwendung transcoded-1080 { push rtmp: // ...
}
Wie schreibe ich, um 2-Pass-Streaming zu bekommen ???