How to setup Twitch RTMP Transcoding Server - Dual PC BEST QUALITY STREAMING GUIDE

preview_player
Показать описание
In this tutorial I show you how to setup your nginx-rtmp server to perform video transcoding on docker for linux. Perfect for youtube and twitch livestreaming.

Set up your own RTMP Transcoding Server Playlist

FFMPEG ENCODE COMMAND LINK TO DOC

The command if the doc is not working:
exec ffmpeg -i rtmp://127.0.0.1/yoursourcertmpstream -vcodec libx264 -framerate 60 -profile:v high -level:v 4.2 -tune film -preset veryfast -threads 0 -x264opts nal-hrd=cbr:force-cfr=1:keyint=120:qcomp=1.0:scenecut=0 -b:v 6000k -maxrate 6000k -bufsize 6200k -acodec copy -f flv rtmp://127.0.0.1/youroutputstream;
Рекомендации по теме
Комментарии
Автор

This is awesome information. I found you because this is exactly what I'm looking for. However, I want to take it to the next level. I would like to have an admin page that would allow me to setup which streams are being sent to. And to allow me to put in the keys etc. Maybe even adjust what the predominance is set to fast, medium, or slow. This way you wouldn't have to go into your docker every time to make an adjustment.

GlenBarnhardt
Автор

Thank you for your explanation. Did anyone build a new Docker image based on this instructions?

VergissBerlin
Автор

I forgot to include i am using Windows 10 pro with Docker. Installed ffmpeg and nano.

reclusivegamers
Автор

For a dual pc stream setup how would the quality compare to using ndi or a capture card? I currently have a HD60 Pro and am looking to stream at 1440p and I am looking for alternatives to the 4K60 Pro.

JeffMacTV
Автор

Just wondering. what would be the config for the main pc streaming into the rtmp server? Just curious

PrisonYT
Автор

Hello i setup a RTMP server in docker with FFMEG and ran a test stream on twitch, the stream was in 1440p and it looked great, but i dont see any option for different levels of video qualities. I was wondering if you might be able to help me get other quality option for my live streams. Thanks in advance

reclusivegamers
Автор

Would it be possible to encode to NDI using ffmpeg? Thanks!

robertmoix
Автор

Hey, Does this works for facebook live which uses rtmps

OverlightDev