OBS Studio: Stream in order to numerous platforms otherwise avenues at once

UPD azing SoraYuki typed the obs-multi-rtmp plug-in, you truly don’t require this guide any longer, as plug-in is a lot easier to use. Such, much easier. But if you you desire FFmpeg strain, or if you need to production from the additional frame rates, keep reading.

Before you can read, please be aware that is only useful in the event the a 3rd party solution instance cannot suit your needs. In addition to, a few of the more complicated setups may need an effective skills off command-range FFmpeg. If you would like assist for your particular options, ping Nakajima Megumi#7432 about obsproject support Discord.

Discover multiple selection for it

The entire idea can be as observe: machine an effective RTMP server on your computer, load to that particular machine, following use FFmpeg to replicate the latest load to as much online streaming platforms as you need so you can, that have or instead of reencoding.

Usually the one I would suggest individually to own Screen was MonaServer, as it’s seemingly painless to prepare — simply extract and work at. Obtain it right here: Extract they, after that launch MonaServer.exe about demand line. Analogy order:

Feel free to ignore error messages perhaps not highly relevant to the RTMP machine run on port 1935. This will servers a beneficial RTMP machine on your own Window Pc; automatically, merely you should be able to weight so you can it if you do not forward vent 1935. If you are playing with Linux, or you would like to set-up a very element-steeped host, you can use the fresh new guide of dodgepong, right here

Inside OBS Facility, duplicate your current real time-online streaming reputation because of the pressing Pages > Content. This can allow you to effortlessly undo most of the alter, if you want to.

If you don’t have FFmpeg installed yet ,, going and you will obtain the 64-bit fixed make. Pull ffmpeg.exe, ffprobe.exe and you can ffplay.exe to the same folder for which you has actually MonaServer.exe. Now, why don’t we find out if the load was real time.

Because I am seeing my very own load, We discover a video feedback impression. Don’t be concerned in regards to the large weight slow down, much of it originated from ffplay’s buffering, RTMP would be to expose regarding 800 ms regarding additional latency at the worst, 100-200 ms an average of. Prevent ffplay from the striking q within the screen or Ctrl+C from the command line windows the place you spawned they.

So now you you prefer your weight keys and direct full path each aired you want to focus on. Such as for example, Twitch’s take in host for the France can be acquired at the rtmp://live-fra.twitch.tv/app/ and Youtube’s first take-in machine are rtmp://an excellent.rtmp.youtube/live2 . What this means is your full gamble road for sending out to the Twitch might be rtmp://live-fra.twitch.tv/app/my-stream-secret, where my personal-stream-secret is your full weight trick. To see the full variety of absorb servers OBS Business exposes, see .

Keep in mind that I’m able to use range getaways for lots more easier reading in analogy sales; try to take them out.

To achieve that, perform a special CMD otherwise Powershell windows and rehearse ffplay away from your install from ffmpeg:

For it, you should discharge another type of FFmpeg particularly each service. That it advances the total RAM and Central processing unit footprint some. Here’s an example demand to begin with online streaming to just one platform: ffmpeg -i rtmp://localhost:1935/live/stream -c:v copy -c:a copy -f flv rtmp://live-fra.twitch.tv/app/my-stream-key You could prevent the stream because of the possibly closure the brand new CMD/PowerShell window, otherwise by the pressing Ctrl+C. FFmpeg will try to leave cleanly, which may be slow; if you need to force-end FFmpeg, giving Ctrl+C five or higher minutes can cause an energy-end.

To shown so you can several networks or avenues at once, we can make use of the «tee» method and you can separate gamble paths into | profile. Why don’t we test it very first because of the remuxing your neighborhood weight and re also-streaming it to our very own host:

Let’s say we want to load so you’re able to Twitch when you look at the 720p 60fps 6 mbps, and to Youtube for the 1080p 60fps 20 mbps. There are two main an effective way to strategy that it — sometimes stream in your town from inside the quality (target a hundred-230 mbps, or use CQP) and you can create a couple of reencodes, a bit raising the efficiency footprint, or stream when you look at the sometime speed satisfactory to have Youtube and reencode it having Twitch, damaging the grade of Twitch’s weight.

If we provides a leading-top quality regional weight and wish to manage two x264 reencodes, keeping all of our 160kbps music both for channels, we had getting indicating outputs one after the other, like this:

Note incorporating -vf «scale=» — it contributes a video clip filter to downscale brand new stream to help you 720p having Twitch. I am and in case the fresh input might be 1080p 60fps, that will be exactly what Youtube will have.

Otherwise, let’s say you happen to be online streaming out of OBS Facility from the 20 mbps 1080p 60fps and would like to content the fresh stream because the-is always to Youtube, and you can reencode to help you 4 mbps 720p 29 fps for Twitch:

Note incorporating -roentgen 29 to decrease out of 60 frames per second to 31 fps. In the event the enter in is actually fps (6), you might drop to help you that with -r step 3 .

Notice towards the FFmpeg possibilities and you may preset choices: -predetermined veryfast selects new x264 preset, «veryfast». FFmpeg can also explore NVENC with -c:v h264_nvenc — if so, I would personally highly recommend using -preset sluggish (2-citation high quality) to the all the cards but Turing notes; on Turing notes I’d strongly recommend -predetermined head office (solitary solution top quality). Note that due to NVIDIA’s profit limits you might use only dos concurrent NVENC instruction towards the GeForce notes; trying start a third that commonly place an «off recollections» mistake (even if you have sufficient spare VRAM). FFmpeg may play with AMD AMF which have -c:v h264_amf , excite refer to which papers for making use of AMF: ffmpeg -hide_banner -h encoder=h264_amf

This demands an effective knowledge of the order fuck marry kill logowanie range program and you will FFmpeg. I’ll try to establish they and offer advice, however if that doesn’t help, you may still need dig through FFmpeg’s files.

Let’s say i bring a top quality input, rescue it as-is to try to document, following reencode so you’re able to 2 mbps and you can posting so you can dos properties: Grab the stream ffmpeg -hide_banner -i rtmp://localhost:1935/live/stream Save your self in your community -c:v copy -c:a duplicate -f mp4 origin.mp4 Reencode that have a couple of 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 would like assist to suit your certain configurations, or some parts of the fresh book try unclear, ping Nakajima Megumi#7432 throughout the obsproject Dissension along with your questions.

От admin

16 комментариев для “OBS Studio: Stream in order to numerous platforms otherwise avenues at once”
  1. Do you mind if I quote a few of your articles as long as I provide
    credit and sources back to your webpage? My website is in the exact same area of interest as yours and my users would definitely benefit from a lot of the information you provide here.
    Please let me know if this okay with you.
    Appreciate it!

    my web-site; vpn special

  2. Fantastic goods from you, man. I’ve understand your stuff prior to and you’re simply too great. I really like what you’ve received here, really like what you’re stating and the way during which you assert it. You make it entertaining and you still take care of to stay it sensible. I cant wait to read far more from you. This is actually a great website.

  3. Крупный учебный и научно-исследовательский центр Республики Беларусь. Высшее образование в сфере гуманитарных и естественных наук на 12 факультетах по 35 специальностям первой ступени образования и 22 специальностям второй, 69 специализациям.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *