OBS Business: Weight so you’re able to several systems otherwise streams at a time

OBS Business: Weight so you’re able to several systems otherwise streams at a time

UPD azing SoraYuki composed the obs-multi-rtmp plugin, you really don’t require this article more, since the plugin is a lot easier to utilize. Such as for instance, easier. But if you you need FFmpeg strain, or you have to returns within various other frame prices, read on.

Before you can see, please be aware that this is helpful in the event the a 3rd party provider instance does not meet your requirements. Also, a few of the harder setups might require a good information regarding command-line FFmpeg. If you prefer let for your specific configurations, ping Nakajima Megumi#7432 from the obsproject service Discord.

Discover numerous choice for this


All round idea is as follows: machine a beneficial RTMP servers on your computer, stream to that host, after that fool around with FFmpeg to reproduce brand new weight so you can as much online streaming systems as you need so you can, that have otherwise instead of reencoding.

The only I would recommend personally to possess Window are MonaServer, since it is relatively easy to arrange – merely pull and you may work at. Get it right here: Extract it, upcoming discharge MonaServer.exe in the order range. Analogy demand:

Go ahead and forget about error texts not strongly related to new RTMP host powered by vent 1935. This may servers an effective RTMP machine in your Window Desktop; automagically, simply you need to be able to weight to it if you do not submit vent 1935. While you are having fun with Linux, otherwise you would want to created a ability-rich host, you should use the fresh publication of dodgepong, right here

When you look at the OBS Business, content your current real time-online streaming character because of the clicking Profiles > Content. This may allow you to effortlessly undo every change, if you would like.

Without having FFmpeg installed yet ,, to visit and download the 64-portion static build. Extract ffmpeg.exe, ffprobe.exe and ffplay.exe towards the exact same folder the place you has MonaServer.exe. Now, let’s verify that the fresh new weight try alive.

As I am watching my own personal stream, I discover videos opinions effect. Don’t be concerned in regards to the higher stream decelerate, the majority of it originated ffplay’s buffering, RTMP is to expose about 800 ms of extra latency at worst, 100-200 ms on average. End ffplay by hitting q with its screen or Ctrl+C regarding the demand line screen the place you spawned it.

So now you need your own stream tips and accurate full path for every single transmit you should focus on. Including, Twitch’s ingest machine within the France can be acquired on rtmp://live-fra.twitch.tv/app/ and you can Youtube’s primary take-in machine is rtmp://a great.rtmp.youtube/live2 . This simply means that your full play highway getting sending out to the Twitch might be rtmp://live-fra.twitch.tv/app/my-stream-secret, in which my-stream-trick is your complete weight key. Observe an entire list of absorb server OBS Facility reveals, see .

Keep in mind that I am able to be utilizing line breaks for much more smoother reading in example requests; attempt to take them out.

To do that, manage a separate CMD otherwise Powershell screen and rehearse ffplay out-of their download away from ffmpeg:

For this, you should launch another type of FFmpeg eg per service. Which escalates the total RAM and you will Cpu impact a bit. Just to illustrate order first off online streaming to at least one platform: ffmpeg -i rtmp://localhost:1935/live/weight -c:v duplicate -c:a copy -f flv rtmp://live-fra.twitch.tv/app/my-stream-trick You can prevent the load of the both closure the CMD/PowerShell screen, or from the pressing Ctrl+C. FFmpeg will attempt to go out of cleanly, and this can be sluggish; if you want to push-prevent FFmpeg, sending Ctrl+C four or higher minutes can cause a power-quit.

To help you broadcast to help you multiple systems otherwise avenues at the same time, we are able to utilize the “tee” process and separate play paths towards | character. Let us test it basic from the remuxing neighborhood load and you may lso are-streaming they to our very own servers:

Let’s say we should weight to Twitch in the 720p 60fps six mbps, also to Youtube during the 1080p 60fps 20 mbps. There are two an easy way to means which – sometimes stream in your town inside top quality (target a hundred-230 mbps, or have fun with CQP) and you will perform one or two reencodes, a bit improving the performance impact, or stream when you look at the a little while rates sufficient for Youtube and you can reencode it to own Twitch, hurting the caliber of Twitch’s load.

If we features a leading-top quality local load and want to perform a few x264 reencodes, remaining our 160kbps songs both for avenues, we had be indicating outputs one after another, similar to this:

Mention incorporating -vf “scale=” – that it adds a video clip filter out to downscale the brand new stream so you can 720p getting Twitch. I’m incase new enter in would be 1080p 60fps, which is exactly what Youtube gets.

Or, let’s say you may be online streaming out-of OBS Business at 20 mbps 1080p 60fps and want to duplicate the load as the-should be to Youtube, and you will reencode in order to cuatro mbps 720p 29 frames per second to have Twitch:

Mention the addition of -r 30 to drop out of sixty fps in order to 29 fps. In the event the enter in are fps (6), you could lose so you’re able to that with -r step three .

Note to your FFmpeg selection and you will preset choices: -predetermined veryfast picks new x264 predetermined, “veryfast”. FFmpeg may use NVENC having -c:v h264_nvenc – if so, I might strongly recommend playing with -predetermined sluggish (2-admission high quality) towards the all notes except Turing notes; on the Turing notes I would suggest -predetermined head office (solitary admission top quality). Note that due to NVIDIA’s income limits you might use only 2 concurrent NVENC lessons to your GeForce notes; seeking initiate a third you to definitely often place an enthusiastic “of memory” error (even if you have sufficient spare VRAM). FFmpeg can also explore AMD AMF having -c:v h264_amf , please relate to it papers for using AMF: ffmpeg -hide_banner -h encoder=h264_amf

This package demands an excellent knowledge of this new demand range interface and FFmpeg. I shall attempt to define it and supply advice, in case that does not let, you might still need certainly to sift through FFmpeg’s paperwork.

Imagine if i bring a superior quality enter in, save your self it-is to try to document, up coming reencode to 2 mbps and you may upload so you’re able to 2 features: Take the stream ffmpeg -hide_banner -i rtmp://localhost:1935/live/load Rescue in your town -c:v content -c:a duplicate -f mp4 source.mp4 Reencode that have several outputs -c:v libx264 -b:v 2000k -c:a duplicate -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 need let for your certain setup, or particular areas of this new book was not sure, ping Nakajima Megumi#7432 throughout the obsproject Dissension together with your concerns.

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Başa dön