Resource icon

Multiple RTMP outputs plugin 2020-05-17

Hello again, I hope this helps. It's one of the many crash reports I have been getting:
I've had a very similar issue when streaming to both FB and YT and while I have not found the issue itself I have found that doing the following has made it so OBS doesn't have issues:

Note: We use a Windows system not an Apple one, so differences between the two could cause the following not to work
1. Stream to Facebook directly from OBS and use this plugin to stream to YT.
- I only stream to one YT channel, so there could be an issue streaming to multiple I don't know about
2. When starting your streams start by only sending to FB for a minute or so. I'm not sure if the time actually matters, but for us this has worked
3. Stream to your YT stream(s) private at first, and then switch it to public once the stream(s) is stable. Again I'm not sure if this actually does anything, but it seems to have worked for us

You can look at the post I made a little while back on this forum if you want to see what issues I've specifically had. I haven't gotten any help with our issues yet, so you are probably on your own for just testing to find a solution.
 
I can't get the same results with this plugin as I can with OBS directly. YouTube (30 Mbps, 1440p, AV1, two-way split, Dynamic bitrate). When streaming directly through OBS, the bitrate stays at 30 Mbps and the stream looks normal. However, if I make the same settings in the plugin, it displays a fluctuating bit rate and the stream stutters occasionally. The situation will always remain the same. Encoder load in both cases is 25%
 

Attachments

  • 01.png
    01.png
    44.6 KB · Views: 98
  • 02.png
    02.png
    41.7 KB · Views: 96
^^

Disable Split Encode on both to start. That's for encoding high resolution material (8k) & there can only be (1) encode since both encoders in your GPU are tied up.

Use Preset P3-P5 for both, adjust as needed so there's no lag.

Multi-pass - qres is the correct setting for Real Time Encoding.


 
Disable Split Encode on both to start. That's for encoding high resolution material (8k) & there can only be (1) encode since both encoders in your GPU are tied up.
I've included two screenshots for comparison purposes only, to show that the settings are similar. The first is the OBS settings and the second is the plugin. Even if I broadcast through the plugin only 1 stream, the bitrate fluctuates and the stream doesn't run smoothly. However, if I run four jobs - YouTube & local recording through OBS and through Multiple RTMP two jobs - Twitch (8 Mbps) & another service (5 Mbps), everything works. The problem is, the plugin can't consistently send 30 Mbps to YouTube. In OBS I use options "Dynamically change bitrate to manage congestion" and "Enable network optimizations". Enabling and disabling these options does not affect the quality of the plugin's broadcast, but it does affect the operation directly through OBS. But using a preset lower than P6 results in a noticeable drop in quality. However, it still didn't help me.

I couldn't solve the problem with any settings. Is it just me?
 
I've been using this plugin since it was released. Other than a few bad releases over the years, it's worked flawlessly for me.

It's not the plugin. If it works at the lower bit-rates, most likely it's a lack of bandwidth on your end. Not enough to support 30mb/s to YT.

I would need to see a log.
 
I would need to see a log.

I see in the log "Number of dropped frames due to insufficient bandwidth/connection stalls: 661 (26.8%)", but this only happens when streaming through this plugin. To be clear, I start streaming through the plugin and the bitrate can't stay stable. I stop it and, after a minute, start the stream directly through OBS - everything works and the bitrate is stable. Then I stop it and start it again through the plugin - again, there is no stable bitrate. This can continue indefinitely. What does this all mean? Even the IP address is used the same for rtmp://a.rtmp.youtube.com/live2 - 173.194.220.134. I understand that I have the penultimate version of OBS and Windows 10 instead 11, but the plugin has been working like this for me since the very beginning of its use, so more than six months ago.

Plugin version 0.7.3.0. I give up because I can't solve this. Why did I decide to swap Twitch and YouTube? Because I can't use Twitch Enhanced Broadcasting it with this plugin. That's why I want to run Twitch through OBS directly and YouTube through a plugin.

Am I correct in understanding that this plugin allows you to stream to YouTube with a bitrate of 30 Mbps or higher without any issues? And if you stream through plugin to Twitch with a 5-8 Mbps, does the bitrate always remain stable without any fluctuations? I understand that it should work, but should and works are two different things. Even when I broadcast to Twitch at a bitrate of 8 Mbps, it fluctuates usually from 5 to 11 Mbps and sometimes from 4 to 12 Mbps, but it doesn't affect the stream quality in any way. With YouTube everything is different. Again, this only happens when using a plugin.
 

Attachments

Last edited:
You need the supporting bandwidth. Lower the bit-rate.....

15:52:38.654: Output 'multi-output': Total frames output: 1805 (2466 attempted)
15:52:38.654: Output 'multi-output': Total drawn frames: 2493
15:52:38.654: Output 'multi-output': Number of dropped frames due to insufficient bandwidth/connection stalls: 661 (26.8%)


 
There is an updated release for the plugin that is built for OBS v32.x.x.....


Uninstall Multi-RTMP Plugin

DELETE C:\ProgramData\obs-studio\plugins\obs-multi-rtmp folder
 
Hi @rockbottom, how are you?

I worked with the plugin last weekend and I encountered an issue when trying to connect two social media platforms (Facebook through the main OBS setup and YouTube through the plugin). I was using a 5G connection (300 Mbps download / 200 Mbps upload).

When I tried to stream to YouTube using the plugin, the bitrate would not go above 3000 kbps, and in some cases, the bitrate from the plugin fluctuated up and down like a wave.

Thank you.
 
You need the supporting bandwidth. Lower the bit-rate.....
Comrade, please, are you reading what I'm writing to you? This only happens when using this plugin. If I stream directly through OBS, I can set 50 megabits and it works. The link to the bandwidth test to Twitch servers is also unclear to me. I have no problems with Twitch even through this plugin and the that tests confirm this (I have known about this for a long time).

But I would still like to receive confirmation from you that you are able to successfully broadcast to YouTube through this plugin at speeds of 30 Mbits and higher, considering that this can be done directly (not through this plugin).
 
Comrade, please, are you reading what I'm writing to you? This only happens when using this plugin. If I stream directly through OBS, I can set 50 megabits and it works. The link to the bandwidth test to Twitch servers is also unclear to me. I have no problems with Twitch even through this plugin and the that tests confirm this (I have known about this for a long time).

But I would still like to receive confirmation from you that you are able to successfully broadcast to YouTube through this plugin at speeds of 30 Mbits and higher, considering that this can be done directly (not through this plugin).

When it comes to simulcasting with Twitch, you have two items you might want to be aware of.

1. Maximum speed on Twitch by itself.

You might want to look at this help page on Twitch's help site.

Basically, the upper limits are:

3 megabits/sec: 720p25/29.97/30
4.5 megabits/sec: 720p50//59.94/60 and 1080p25/29.97/30
6 megabits/sec: 1080p50/59.94/60

Twitch will not accept anything higher than the abovementioned limits.

2. Twitch's simulcasting rules.

Further, if you are simulcasting with Twitch as one of the destinations, there are rules you should be aware of.

On the RTMP side of things, the rule says you cannot make any other stream in such a simulcast better than Twitch's, so if you are running your Twitch at its maximum settings, you must run any/all simulcast(s) using the exact same settings. While you can use separate settings on your other streams from your Twitch's, ideally, it works best and in a compliant mode by having you stream all streams the same way. If you need to decrease any bitrates, do so on the non-Twitch streams or all of them, with all other parameters being the same but Twitch must be better than any other.

HTH.

--Katt. =^.^=
 
Last edited:
Hi! Thank you for this plugin! I am looking for an option to automatically change the stream key using a script. I stream to multiple platforms and would love to create a script that can switch platforms. Is this possible, or could you please consider adding this feature?

Thank you!
 
Hi! Thank you for this plugin! I am looking for an option to automatically change the stream key using a script. I stream to multiple platforms and would love to create a script that can switch platforms. Is this possible, or could you please consider adding this feature?

Thank you!
Thats better for suggest on the plugin GH repo ._.
 
Please update the obs-multi-rtmp plug-in to work in portable mode. The non-standard plug-in folder location of Program Data prevents this.

It looks like you're using the installer.

Here's a word of advice if you are using the installer:

Don't.

Two things:
  • In case you weren't aware, C:\ProgramData\obs-studio\plugins is NOT non-standard. It's actually becoming the preferred location for installing plugins for installed copies of OBS Studio. It just does not work with portable installs. That takes me to the following:
  • There's a zip file, e.g. obs-multi-rtmp-0.7.3.0-windows-x64.zip for situations like this. It uses the same unpacked tree layout that zipped OBS Studio distribution uses.
A big reason to use C:\ProgramData\obs-studio\plugins is to keep the C:\Program Files\obs-studio (default root of an installed OBS Studio install tree on a typical Windows system) clean, allowing for equally-clean complete reinstalls of OBS Studio. The biggest downside is most installers that aren't the Multi-RTMP output and DistroAV plugins or even their zip files that aren't from Exeldro (with some exceptions) are a bit more labor-intensive to maintain, but it's still doable.

Fun fact: Uninstalling OBS Studio removes not just OBS Studio and its own bundled plugins, but EVERYTHING ELSE in that directory tree, whether you want it removed or not.

This works normally here,its probably something on your device or in your OBS thats preventing it from running e.e

This is not the case here. The issue here is different. The person's concerns were well-founded, but not so well-informed.

The OP for this particular thread was griping about installers placing files in the "non-standard" location rooted in the C:\ProgramData\obs-studio\plugins directory, which, actually is a standard location, for installed copies of OBS Studio and not portable copies.

What I was saying above is that it is never a good idea to use installers in portable installations of OBS Studio, opting for a zip file for just this reason. A "portable installation" of OBS Studio happens when you unpack an OBS Studio zip file into a directory on your hard drive, then create a special file called "obs_portable_mode" in that directory where the OBS Studio zip file was unpacked into.

When you start OBS Studio after this, instead of keeping your data files in %APPDATA%\obs-studio\data, it anchors the "data" directory in the same area as your portable install.

Starting OBS Studio in portable mode has an additional side effect: It ignores any plugins installed in C:\ProgramData\obs-studio\plugins. This is PRECISELY why you should use zip files of OBS Studio plugins to provision a portable install, not a plugin installer..

TL;DR: In summary, if you want to install a plugin into a "portable" OBS install, do NOT use an installer! Instead, use a zip file, unpacking to the base of your portable install. That will populate the right directories which are within the install itself.

--Katt. =^.^=
 
Last edited:
Back
Top