OBS Studio: Load to several programs otherwise streams simultaneously

OBS Studio: Load to several programs otherwise streams simultaneously

UPD azing SoraYuki penned their obs-multi-rtmp plugin, you actually don’t need this guide any more, since the plugin is easier to use. Such as for example, simpler. But when you you want FFmpeg filter systems, or you need certainly to productivity at different figure prices, read on.

Before you Dating by age quality singles site login can realize, take note that this is only of good use in the event the a 3rd party services such as for example cannot work for you. Along with, a number of the more challenging setups might require an effective facts out-of command-range FFmpeg. If you want let for your particular setup, ping Nakajima Megumi#7432 throughout the obsproject help Discord.

There are numerous alternatives for it

The entire idea is really as follows: server a RTMP host on your computer, weight to this host, following explore FFmpeg to reproduce this new stream so you’re able to as many streaming platforms as you need to, that have or in the place of reencoding.

Usually the one I will suggest actually to have Windows was MonaServer, since it is seemingly painless to set up – simply pull and you may work with. Get it right here: Extract it, next release MonaServer.exe about order line. Analogy demand:

Go ahead and skip mistake texts not relevant to the latest RTMP server powered by vent 1935. This may servers a RTMP machine on your Window Desktop; automatically, merely just be capable weight to help you they if you do not give port 1935. When you are using Linux, otherwise you may like to put up a far more function-steeped servers, you are able to the guide away from dodgepong, right here

From inside the OBS Business, copy your alive-online streaming profile of the clicking Pages > Duplicate. This may enable you to without difficulty undo all the alter, if you wish to.

Without having FFmpeg strung but really, to visit and you will down load the fresh 64-portion fixed create. Pull ffmpeg.exe, ffprobe.exe and you will ffplay.exe into the same folder the place you has MonaServer.exe. Now, why don’t we check if the fresh load was alive.

As the I’m seeing my own stream, I come across videos views effect. Don’t worry towards higher load decrease, a lot of it originated ffplay’s buffering, RTMP is expose about 800 ms off extra latency at the worst, 100-200 ms typically. Quit ffplay of the hitting q with its window or Ctrl+C about command line window for which you spawned they.

Now you you would like your own weight tactics and accurate full roadway for every single transmitted you intend to work with. Including, Twitch’s take-in machine inside France is obtainable on rtmp://live-fra.twitch.tv/app/ and you will Youtube’s number one ingest machine try rtmp://a.rtmp.youtube/live2 . Meaning that your particular full play roadway to have broadcasting towards the Twitch would be rtmp://live-fra.twitch.tv/app/my-stream-secret, in which my personal-stream-key can be your full weight secret. Observe a full variety of take in machine OBS Studio reveals, comprehend .

Keep in mind that I could be utilizing range breaks for much more much easier reading-in analogy requests; you will need to take them out.

To do that, do a unique CMD otherwise Powershell window and employ ffplay off your own download from ffmpeg:

Because of it, you ought to release a special FFmpeg such as for each and every solution. So it advances the full RAM and you can Central processing unit impact slightly. Here’s an example command to begin with streaming to just one system: ffmpeg -we rtmp://localhost:1935/live/load -c:v backup -c:a copy -f flv rtmp://live-fra.twitch.tv/app/my-stream-key You could potentially avoid the stream of the either closure this new CMD/PowerShell screen, otherwise of the clicking Ctrl+C. FFmpeg will endeavour to leave cleanly, which might be slow; if you would like push-prevent FFmpeg, sending Ctrl+C five or even more moments will cause a force-prevent.

So you can shown to several systems otherwise streams simultaneously, we are able to make use of the “tee” method and you can separate gamble paths towards | reputation. Let’s test it very first from the remuxing your neighborhood weight and you may lso are-streaming it to the very own servers:

Imagine if we should weight so you can Twitch within the 720p 60fps six mbps, and also to Youtube within the 1080p 60fps 20 mbps. There are 2 a way to approach this – sometimes load in your town into the quality (address a hundred-230 mbps, otherwise play with CQP) and you may create a couple of reencodes, slightly improving the performance impact, otherwise load inside a bit price sufficient having Youtube and you may reencode they to possess Twitch, damaging the grade of Twitch’s load.

If we has actually a premier-quality local stream and wish to create several x264 reencodes, staying the 160kbps sounds for avenues, we’d feel indicating outputs one after the other, similar to this:

Notice incorporating -vf “scale=” – so it adds a video clip filter so you can downscale the fresh weight in order to 720p for Twitch. I am if in case the newest enter in would-be 1080p 60fps, which will be just what Youtube get.

Otherwise, can you imagine you will be streaming off OBS Facility at the 20 mbps 1080p 60fps and would like to copy the fresh new stream as-should be to Youtube, and you may reencode so you can cuatro mbps 720p 29 fps to own Twitch:

Mention incorporating -roentgen 29 to drop off sixty fps in order to 29 frames per second. Whether your enter in was fps (6), you could drop in order to by using -roentgen step three .

Notice with the FFmpeg options and predetermined options: -preset veryfast chooses the latest x264 predetermined, “veryfast”. FFmpeg may fool around with NVENC that have -c:v h264_nvenc – in that case, I might highly recommend having fun with -preset sluggish (2-ticket quality) into the all notes but Turing notes; into Turing notes I might recommend -predetermined hq (solitary ticket quality). Note that due to NVIDIA’s income constraints you could potentially just use 2 concurrent NVENC classes on the GeForce notes; trying to begin a 3rd you to will throw a keen “out of memory” error (even if you have sufficient spare VRAM). FFmpeg may also explore AMD AMF which have -c:v h264_amf , excite make reference to it documentation for making use of AMF: ffmpeg -hide_banner -h encoder=h264_amf

This one need an excellent knowledge of the command range interface and you may FFmpeg. I will make an effort to define it and supply advice, however if that doesn’t help, you may still need certainly to search through FFmpeg’s papers.

Can you imagine i bring a high quality input, conserve it as-is to document, following reencode in order to 2 mbps and you may upload so you’re able to dos services: Grab the load ffmpeg -hide_banner -we rtmp://localhost:1935/live/load Help save in your town -c:v copy -c:a duplicate -f mp4 origin.mp4 Reencode that have one or 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 want let for the specific settings, or specific areas of new book try unsure, ping Nakajima Megumi#7432 on the obsproject Dissension together with your questions.

Leave a Reply

Your email address will not be published. Required fields are marked *