OBS Facility: Stream to numerous systems or streams simultaneously

OBS Facility: Stream to numerous systems or streams simultaneously

UPD azing SoraYuki composed its obs-multi-rtmp plugin, you probably do not require this informative guide any more, because the plugin is easier to make use of. Such as for instance, much simpler. But when you you would like FFmpeg filters, or you need to efficiency on other physique pricing, keep reading.

Before you can discover, take note that is just of use when the an authorized provider like will not work for you. In addition to, a number of the harder configurations need a great knowledge away the most beautiful norwegian girl in the world from command-range FFmpeg. If you need assist for the specific settings, ping Nakajima Megumi#7432 in the obsproject service Discord.

You’ll find multiple choices for this

All round tip can be pursue: server a RTMP server on your personal computer, load to that host, following explore FFmpeg to reproduce the new weight so you can as numerous streaming programs since you need to help you, which have or in the place of reencoding.

Usually the one I would recommend myself having Screen are MonaServer, as it’s relatively pain-free to prepare – only extract and you will work on. Have it here: Pull they, then release MonaServer.exe from the demand line. Analogy demand:

Feel free to skip mistake messages maybe not highly relevant to brand new RTMP machine running on port 1935. This can server a good RTMP machine in your Windows Desktop computer; automagically, only just be capable stream so you’re able to they if you do not send port 1935. When you are playing with Linux, otherwise you would like to set up a more function-rich servers, you can make use of the new book off dodgepong, right here

Within the OBS Facility, duplicate your live-streaming reputation of the clicking Pages > Content. This may enable you to easily undo all of the changes, if you would like.

If you don’t have FFmpeg installed yet, commit and you may install the latest 64-section fixed generate. Pull ffmpeg.exe, ffprobe.exe and you may ffplay.exe on exact same folder the place you features MonaServer.exe. Now, why don’t we verify that the fresh new load is actually real time.

Just like the I’m enjoying personal load, We discover a video clip opinions perception. Don’t worry regarding high load slow down, most of it originated ffplay’s buffering, RTMP should introduce regarding 800 ms out of a lot more latency at worst, 100-two hundred ms on average. End ffplay by striking q in screen otherwise Ctrl+C about command line windows for which you produced it.

Now you you prefer their stream techniques in addition to real complete roadway for every broadcast you intend to work with. Like, Twitch’s take in server from inside the France exists from the rtmp://live-fra.twitch.tv/app/ and you may Youtube’s no. 1 absorb machine was rtmp://an effective.rtmp.youtube/live2 . This implies that the complete play roadway for broadcasting for the Twitch is rtmp://live-fra.twitch.tv/app/my-stream-secret, where my personal-stream-key can be your complete weight secret. To see a complete selection of consume servers OBS Studio reveals, see .

Remember that I can use line getaways for more easier reading-in example sales; make an effort to take them out.

To achieve that, do yet another CMD or Powershell windows and use ffplay out of the obtain off ffmpeg:

For it, you really need to release a new FFmpeg eg for each service. It boosts the total RAM and Cpu footprint a bit. Just to illustrate command first off streaming to 1 system: ffmpeg -i rtmp://localhost:1935/live/weight -c:v copy -c:a copy -f flv rtmp://live-fra.twitch.tv/app/my-stream-key You could avoid the weight of the often closure the newest CMD/PowerShell window, otherwise by the pressing Ctrl+C. FFmpeg will endeavour to go out of cleanly, which are slow; if you wish to push-quit FFmpeg, delivering Ctrl+C five or higher minutes can cause an energy-quit.

So you’re able to shown to numerous systems otherwise avenues simultaneously, we could utilize the „tee” process and you may independent gamble routes with the | reputation. Let’s try it basic by the remuxing nearby load and you will re also-online streaming they to your very own host:

Let’s say we need to weight so you can Twitch when you look at the 720p 60fps six mbps, in order to Youtube for the 1080p 60fps 20 mbps. There have been two a means to means that it – possibly weight in your town when you look at the quality (address 100-230 mbps, otherwise explore CQP) and you may carry out a couple reencodes, somewhat increasing the overall performance impact, or stream into the a while price sufficient to possess Youtube and reencode it for Twitch, damaging the quality of Twitch’s weight.

Whenever we possess a premier-quality regional weight and would like to would two x264 reencodes, staying all of our 160kbps music both for channels, we’d feel indicating outputs one at a time, along these lines:

Note the addition of -vf „scale=” – that it contributes a video clip filter to help you downscale this new stream to help you 720p having Twitch. I am assuming the fresh new input will be 1080p 60fps, which will be what Youtube will get.

Or, imagine if you will be online streaming from OBS Business in the 20 mbps 1080p 60fps and would like to backup the new weight once the-should be to Youtube, and reencode in order to cuatro mbps 720p 29 fps having Twitch:

Mention the addition of -roentgen 31 to decrease of 60 frames per second so you’re able to 29 fps. Should your input was frames per second (6), you could miss to help you that with -roentgen step three .

Notice on FFmpeg choice and you may predetermined alternatives: -predetermined veryfast picks brand new x264 predetermined, „veryfast”. FFmpeg may also explore NVENC that have -c:v h264_nvenc – if so, I would personally strongly recommend having fun with -preset slow (2-pass quality) on the all of the notes but Turing notes; for the Turing cards I might recommend -preset head office (solitary ticket quality). Observe that because of NVIDIA’s business limitations you could use only dos concurrent NVENC sessions to your GeForce notes; seeking begin a 3rd one often toss an enthusiastic „off memory” error (even though you have sufficient free VRAM). FFmpeg may explore AMD AMF which have -c:v h264_amf , delight reference so it papers for making use of AMF: ffmpeg -hide_flag -h encoder=h264_amf

This one need an excellent comprehension of the brand new command line program and FFmpeg. I will try to define it and supply instances, in case that doesn’t let, you might still need search through FFmpeg’s papers.

Can you imagine we simply take a superior quality input, cut it as-will be to file, then reencode so you’re able to 2 mbps and you may posting to dos characteristics: Use the weight ffmpeg -hide_flag -we rtmp://localhost:1935/live/load Help save in your neighborhood -c:v backup -c:a duplicate -f mp4 provider.mp4 Reencode with a couple 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 want help for your specific configurations, or specific elements of the latest publication is actually unclear, ping Nakajima Megumi#7432 regarding obsproject Discord together with your questions.

Leave a Reply

El. pašto adresas nebus skelbiamas. Būtini laukeliai pažymėti *