OBS Studio: Load so you’re able to numerous systems or channels simultaneously

OBS Studio: Load so you’re able to numerous systems or channels simultaneously

UPD azing SoraYuki wrote the obs-multi-rtmp plugin, you truly don’t require this informative guide anymore, due to the fact plug-in is a lot easier to use. For example, easier. But if you you prefer FFmpeg filter systems, or you must production during the some other body type rates, keep reading.

Before you can discover, please note that the is useful in the event that a 3rd party services eg does not work for you. Plus, a number of the more difficult setups might need good insights off demand-range FFmpeg. If you prefer help for your specific options, ping Nakajima Megumi#7432 on the obsproject service Dissension.

You can find numerous selection for this

The entire suggestion can be as uses: server good RTMP server on your computer, stream to this servers, after that have fun with FFmpeg to copy the new load so you can as numerous streaming platforms as you need to, that have otherwise instead reencoding.

The only I will suggest yourself getting Screen try MonaServer, as it is relatively painless to set up – only extract and you may work with. Get it right here: Extract they, after that discharge MonaServer.exe from the order range. Analogy demand:

Please disregard mistake messages not relevant to the fresh RTMP machine running on port 1935. This can server an effective RTMP host on your Windows Desktop; by default, just just be in a position to weight to they if you do not forward port 1935. When you’re having fun with Linux, or you’d like to establish a very function-rich servers, you need to use the guide away from dodgepong, right here

When you look at the OBS Studio, backup your live-online streaming character by pressing Profiles > Duplicate. This may enable you to without difficulty undo the alter, if you wish to.

If you don’t have FFmpeg strung yet, to go and you will down load the new 64-portion static make. Extract ffmpeg.exe, ffprobe.exe and you will ffplay.exe to your same folder in which you possess MonaServer.exe. Now, why don’t we check if the latest weight is actually real time.

As the I’m seeing personal load, We find videos opinions effect. Don’t get worried regarding the large stream reduce, most of they originated in ffplay’s buffering, RTMP will be expose regarding 800 ms regarding a lot more latency at worst, 100-2 hundred ms on average. Prevent ffplay from the hitting q within the windows or Ctrl+C in the order line screen the place you spawned they.

Now you you would like their weight points therefore the real complete roadway each broadcast you need to manage. Such as, Twitch’s absorb server inside the France is available from the rtmp://live-fra.twitch.tv/app/ and you can Youtube’s number one ingest machine try rtmp://a beneficial.rtmp.youtube/live2 . What this means is that your particular full enjoy path getting sending out to your Twitch might be rtmp://live-fra.twitch.tv/app/my-stream-secret, in which my personal-stream-key can be your complete load secret. To see the full list of take-in server OBS Studio reveals, comprehend .

Note that I’m able to be using line trips for much more much easier reading in example sales; try to remove them.

To do www.datingmentor.org/cs/filipinocupid-recenze/ that, create yet another CMD or Powershell windows and use ffplay off the down load out of ffmpeg:

For this, you will want to launch a unique FFmpeg particularly for each provider. This escalates the full RAM and you will Cpu footprint slightly. Here’s an example order to start online streaming to just one program: ffmpeg -we rtmp://localhost:1935/live/weight -c:v backup -c:a duplicate -f flv rtmp://live-fra.twitch.tv/app/my-stream-secret You could potentially avoid the stream by the often closure the fresh CMD/PowerShell window, or by the pressing Ctrl+C. FFmpeg will attempt to go out of cleanly, which can be sluggish; if you would like push-quit FFmpeg, delivering Ctrl+C four or higher moments may cause a force-stop.

So you can aired in order to numerous programs or avenues immediately, we can utilize the “tee” process and you may separate gamble paths for the | reputation. Let’s check it out first from the remuxing nearby stream and you can lso are-online streaming they to our individual machine:

Let’s say we want to stream so you’re able to Twitch into the 720p 60fps six mbps, and Youtube inside the 1080p 60fps 20 mbps. There are two main a way to means that it – often load in your town inside the top quality (target one hundred-230 mbps, otherwise use CQP) and you can perform two reencodes, somewhat enhancing the performance impact, or stream inside a little while price satisfactory having Youtube and you will reencode they getting Twitch, injuring the grade of Twitch’s weight.

When we enjoys a high-quality regional stream and would like to carry out a few x264 reencodes, keeping our very own 160kbps musical both for avenues, we had getting specifying outputs one after another, such as this:

Notice the addition of -vf “scale=” – that it contributes videos filter out to help you downscale the newest load so you’re able to 720p to possess Twitch. I am and when new type in would be 1080p 60fps, and that’s just what Youtube gets.

Or, imagine if you might be online streaming regarding OBS Studio at 20 mbps 1080p 60fps and wish to backup brand new stream due to the fact-is always to Youtube, and you may reencode to help you cuatro mbps 720p 30 fps getting Twitch:

Notice incorporating -roentgen 29 to drop out-of 60 fps in order to 30 frames per second. In the event the type in was fps (6), you might drop so you’re able to that with -r step three .

Note into FFmpeg choice and you will preset possibilities: -preset veryfast selects the latest x264 preset, “veryfast”. FFmpeg can also have fun with NVENC having -c:v h264_nvenc – if so, I would personally suggest playing with -predetermined sluggish (2-violation quality) towards the the cards except Turing cards; toward Turing notes I might strongly recommend -predetermined hq (unmarried solution high quality). Observe that because of NVIDIA’s sale constraints you could potentially use only dos concurrent NVENC lessons into GeForce cards; seeking to start a 3rd one often put an “off thoughts” error (even if you have enough free VRAM). FFmpeg can also have fun with AMD AMF with -c:v h264_amf , delight consider which documents for using AMF: ffmpeg -hide_banner -h encoder=h264_amf

This package means good comprehension of the new demand line software and you may FFmpeg. I shall you will need to define they and gives examples, but if that doesn’t assist, you might still have to search through FFmpeg’s documentation.

Let’s say we capture a high quality type in, save your self it as-will be to file, up coming reencode so you’re able to 2 mbps and you can posting so you can dos services: Make load ffmpeg -hide_flag -we rtmp://localhost:1935/live/load Save yourself locally -c:v copy -c:a duplicate -f mp4 supply.mp4 Reencode having two outputs -c:v libx264 -b:v 2000k -c:a copy -chart 0 -f tee “[f=flv]rtmp://live-fra.twitch.tv/app/my-stream-key|[f=flv]rtmp://live-fra.twitch.tv/app/my-second-stream-key”

If you would like let to suit your specific configurations, otherwise certain parts of the fresh publication was uncertain, ping Nakajima Megumi#7432 on the obsproject Discord with your issues.