OBS Studio: Load so you’re able to multiple programs or streams at once

OBS Studio: Load so you’re able to multiple programs or streams at once

UPD azing SoraYuki typed its obs-multi-rtmp plug-in, you really don’t require this informative guide any more, because plug-in is easier to use. Particularly, much simpler. But if you you desire FFmpeg filters, or you need production on additional physical stature prices, continue reading.

Before you could comprehend, please note that this is useful when the an authorized service such does not meet your requirements. Together with, a number of the much harder configurations need a beneficial wisdom from demand-line FFmpeg. If you’d like let for the certain options, ping Nakajima Megumi#7432 in the obsproject service Discord.

Discover several options for this

The entire idea can be as employs: servers an effective RTMP server on your pc, load to that particular host, following explore FFmpeg to reproduce new weight so you can as much online streaming networks as you need in order to, that have or in place of reencoding.

One I would suggest privately to have Window is actually MonaServer, as it’s apparently painless to set up – just pull and you can work on. Obtain it here: Pull they, next discharge MonaServer.exe regarding the command range. Analogy command:

Feel free to ignore error texts perhaps not strongly related the latest RTMP server powered by port 1935. This will machine a great RTMP server on the Windows Pc; automatically, merely you need to be able to load so you can it unless you pass port 1935. If you are using Linux, or you would want to establish a more ability-steeped servers, you should use the new guide out of dodgepong, right here

Inside OBS Facility, copy your current alive-online streaming character by the pressing Users > Backup. This will enable you to with ease undo all the alter, if you want to.

Without having FFmpeg strung yet, to visit and you can download the fresh 64-section fixed make. Pull ffmpeg.exe, ffprobe.exe and you can ffplay.exe with the exact same folder for which you provides MonaServer.exe. Now, why don’t we check if the new weight is live.

Since the I’m viewing my load, We discover a video clip feedback effect. Don’t get worried in regards to the high weight slow down, much of they originated ffplay’s buffering, RTMP should expose regarding the 800 ms of most latency at worst, 100-2 hundred ms an average of. Stop ffplay by hitting q within its window otherwise Ctrl+C regarding the demand line screen for which you produced it.

Now you you need the load important factors additionally the specific complete roadway each shown you intend to work on. Particularly, Twitch’s absorb machine from inside the France is available from the rtmp://live-fra.twitch.tv/app/ and Youtube’s first ingest machine try rtmp://a great.rtmp.youtube/live2 . Meaning that complete enjoy road having sending out on Twitch could be rtmp://live-fra.twitch.tv/app/my-stream-trick, in which my personal-stream-key is the full weight key. To see an entire variety of take-in server OBS Business exposes, discover .

Observe that I will use range holidays to get more convenient reading in example sales; just be sure to remove them.

To accomplish this, carry out a new CMD or Powershell windows and rehearse ffplay regarding the install off ffmpeg:

Because of it, you should discharge another FFmpeg particularly for every single solution. It increases the overall RAM jak usunД…Д‡ konto fdating and you may Central processing unit impact slightly. Here’s an example command to begin with streaming to a single program: ffmpeg -i rtmp://localhost:1935/live/load -c:v duplicate -c:a duplicate -f flv rtmp://live-fra.twitch.tv/app/my-stream-key You can avoid the load by the both closing the latest CMD/PowerShell window, otherwise by pressing Ctrl+C. FFmpeg will attempt to go away cleanly, that can easily be slow; if you want to push-stop FFmpeg, delivering Ctrl+C four or more moments can cause an energy-prevent.

So you can transmitted so you can several platforms otherwise channels at a time, we could use the “tee” protocol and independent gamble routes for the | profile. Why don’t we test it first by remuxing your regional weight and you may re also-online streaming it to your individual server:

Let’s say we need to load so you can Twitch for the 720p 60fps 6 mbps, also to Youtube into the 1080p 60fps 20 mbps. There have been two a way to means this – often weight in your community inside quality (target 100-230 mbps, otherwise have fun with CQP) and you will do a couple of reencodes, a little enhancing the show footprint, or weight for the a bit price satisfactory getting Youtube and you will reencode they for Twitch, hurting the grade of Twitch’s weight.

If we provides a premier-quality local stream and want to manage one or two x264 reencodes, remaining all of our 160kbps tunes for both avenues, we had become indicating outputs one-by-one, such as this:

Note the addition of -vf “scale=” – so it adds videos filter out to downscale the newest stream to help you 720p having Twitch. I’m whenever the enter in will be 1080p 60fps, that is exactly what Youtube get.

Otherwise, imagine if you may be online streaming away from OBS Facility at the 20 mbps 1080p 60fps and want to duplicate the stream once the-is to try to Youtube, and you will reencode in order to 4 mbps 720p 29 fps getting Twitch:

Note incorporating -roentgen 29 to drop out of 60 frames per second so you’re able to 29 frames per second. In the event the input is frames per second (6), you can shed to that with -r step three .

Notice towards the FFmpeg selection and you will preset alternatives: -preset veryfast chooses new x264 predetermined, “veryfast”. FFmpeg also can explore NVENC that have -c:v h264_nvenc – if so, I’d highly recommend playing with -preset sluggish (2-solution high quality) to the every cards except Turing notes; on Turing notes I would personally highly recommend -predetermined head office (single citation high quality). Note that due to NVIDIA’s sales limitations you could potentially use only 2 concurrent NVENC courses to the GeForce notes; trying begin a 3rd you to often put an “away from memory” mistake (even though you have enough free VRAM). FFmpeg can also use AMD AMF with -c:v h264_amf , delight relate to so it paperwork for using AMF: ffmpeg -hide_flag -h encoder=h264_amf

This option means an excellent knowledge of the brand new command line interface and FFmpeg. I shall you will need to explain it and provide examples, however if that doesn’t let, you may still need certainly to dig through FFmpeg’s files.

What if we just take a top quality type in, save your self it as-will be to document, upcoming reencode to 2 mbps and post in order to 2 functions: Do the load ffmpeg -hide_banner -i rtmp://localhost:1935/live/stream Rescue in your area -c:v content -c:a duplicate -f mp4 resource.mp4 Reencode with two outputs -c:v libx264 -b:v 2000k -c:a duplicate -map 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’d like let for your particular options, otherwise particular elements of the fresh book is not sure, ping Nakajima Megumi#7432 about obsproject Discord along with your concerns.

You may also like