OBS Facility: Weight so you can multiple platforms or streams at the same time
UPD azing SoraYuki blogged their obs-multi-rtmp plug-in, you probably do not require this informative guide any more, given that plug-in is easier to make use of. Like, easier. But if you you want FFmpeg filters, or if you must yields on additional physique prices, keep reading.
Before you can see, please note that this is of good use in the event that an authorized solution such cannot work for you. Together with, some of the much harder setups might need an excellent facts of demand-range FFmpeg. If you’d like help for the specific configurations, ping Nakajima Megumi#7432 regarding the obsproject help Discord.
You can find several alternatives for it
All round tip can be as follows: server good RTMP machine on your personal computer, weight compared to that servers, then fool around with FFmpeg to reproduce new weight to help you as numerous online streaming programs as you need to, that have or versus reencoding.
The main one I suggest actually to possess Screen are MonaServer, as it’s seemingly easy to prepare – simply extract and you will work at. Get it right here: Extract it, upcoming release MonaServer.exe on the demand range. Example demand:
Please ignore mistake messages not strongly related to the new RTMP host running on port 1935. This will server an excellent RTMP server on your Window Desktop; by default, just just be capable stream in order to it unless you submit vent 1935 venezuelan dating brides. While using Linux, otherwise you may like to created a ability-rich server, you are able to the fresh publication out of dodgepong, here
Inside OBS Studio, backup your current real time-streaming reputation by clicking Pages > Duplicate. This may allow you to easily undo every transform, if you wish to.
If you don’t have FFmpeg strung yet, going and you may obtain new 64-portion static generate. Pull ffmpeg.exe, ffprobe.exe and ffplay.exe with the exact same folder for which you has MonaServer.exe. Today, let us verify that the newest weight is live.
Once the I am enjoying my own personal weight, We discover a video feedback effect. Don’t worry concerning the large weight impede, the majority of it originated ffplay’s buffering, RTMP would be to present on 800 ms off most latency at worst, 100-2 hundred ms typically. Quit ffplay by hitting q in its screen or Ctrl+C about demand range windows for which you produced it.
So now you you want the weight tips and particular full highway each shown you should focus on. For example, Twitch’s take-in host inside the France is present from the rtmp://live-fra.twitch.tv/app/ and Youtube’s top absorb host was rtmp://a beneficial.rtmp.youtube/live2 . This simply means that your full play highway getting broadcasting into the Twitch is rtmp://live-fra.twitch.tv/app/my-stream-secret, where my-stream-key is the complete weight secret. Observe an entire directory of consume server OBS Facility exposes, realize .
Observe that I can use line getaways to get more much easier reading-in example purchases; make an effort to take them out.
To accomplish this, would a different CMD otherwise Powershell windows and make use of ffplay regarding the download out of ffmpeg:
For this, you need to discharge a new FFmpeg including per services. It advances the overall RAM and you can Central processing unit footprint quite. Just to illustrate command to start online streaming to at least one program: ffmpeg -i rtmp://localhost:1935/live/load -c:v backup -c:a copy -f flv rtmp://live-fra.twitch.tv/app/my-stream-secret You could stop the weight from the either closing the latest CMD/PowerShell window, or by clicking Ctrl+C. FFmpeg will endeavour to go out of cleanly, which are slow; if you want to force-quit FFmpeg, sending Ctrl+C five or more minutes will cause a force-quit.
So you’re able to aired so you can numerous programs or avenues immediately, we are able to use the “tee” method and separate enjoy paths into | profile. Why don’t we try it very first from the remuxing nearby stream and you will re also-streaming they to the very own machine:
Let’s say we would like to load so you’re able to Twitch inside the 720p 60fps 6 mbps, and also to Youtube inside the 1080p 60fps 20 mbps. There’s two ways to approach so it – sometimes stream in your town inside high quality (target a hundred-230 mbps, or have fun with CQP) and would several reencodes, a little enhancing the performance impact, otherwise weight from inside the a little while rate high enough getting Youtube and you can reencode they getting Twitch, harming the caliber of Twitch’s load.
Whenever we has actually a leading-quality regional load and would like to perform one or two x264 reencodes, remaining all of our 160kbps sounds for streams, we had getting specifying outputs one at a time, along these lines:
Mention incorporating -vf “scale=” – which adds videos filter to downscale the latest load so you can 720p having Twitch. I am incase the fresh new enter in could well be 1080p 60fps, that will be what Youtube will have.
Or, what if you’re online streaming out-of OBS Studio in the 20 mbps 1080p 60fps and would like to backup the weight because-is to Youtube, and you can reencode to help you cuatro mbps 720p 29 fps to own Twitch:
Notice the addition of -roentgen 29 to decrease out of sixty fps to 30 fps. When your type in are fps (6), you can drop to help you that with -roentgen step three .
Note on FFmpeg choice and you may preset solutions: -preset veryfast selects the x264 predetermined, “veryfast”. FFmpeg also can use NVENC which have -c:v h264_nvenc – if that’s the case, I’d suggest using -predetermined slow (2-ticket quality) on most of the cards except Turing notes; into Turing notes I might strongly recommend -preset hq (single solution quality). Remember that because of NVIDIA’s purchases restrictions you can only use dos concurrent NVENC training to the GeForce cards; seeking initiate a third you to will place a keen “off thoughts” error (even though you have enough free VRAM). FFmpeg may also use AMD AMF having -c:v h264_amf , excite relate to that it documents for making use of AMF: ffmpeg -hide_banner -h encoder=h264_amf
That one demands a beneficial knowledge of the command line program and you can FFmpeg. I’ll you will need to define they and gives instances, however if that will not let, you might still need certainly to search through FFmpeg’s documents.
Imagine if i take a superior quality type in, help save it-is to file, after that reencode so you can dos mbps and posting to dos features: Grab the weight ffmpeg -hide_banner -we rtmp://localhost:1935/live/stream Conserve in your neighborhood -c:v backup -c:a copy -f mp4 supply.mp4 Reencode which have a couple outputs -c:v libx264 -b:v 2000k -c:a copy -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 want let for your certain options, otherwise particular components of the latest book was not sure, ping Nakajima Megumi#7432 throughout the obsproject Discord along with your inquiries.
Leave a Reply
Want to join the discussion?Feel free to contribute!