Resource icon

OBS Studio Stream to 2 destinations simultaneously with OBS [Without NGINX]

regstuff

Member
regstuff submitted a new resource:

Stream to 2 destinations simultaneously with OBS [Without NGINX] - Use the recording tab to add an extra destination

NGINX is a good option in case you want to stream to multiple destinations using OBS. However, in case NGINX is not an option for you, the below method may be relevant. For eg. you either want to stream different audios to different destinations, or different resolutions to different destinations such as a 1080p stream to Youtube and a 720p stream to Facebook.

This may be redundant soon, since Multi-destination streaming is said to be in the pipeline, though I have not seen a date for...

Read more about this resource...
 

Animalfalcon

New Member
Thank you so much !!
Help me to resolve the problem to stream at youtube and instagram simultaneously, but i have a little problem now. The stream resolution in instagram, after adjust resolution for the default, stretch the image. Without adjusting, the image is zoomed. How do i set the image resolution to be not stretched or zoomed?
 
Last edited:

regstuff

Member
Thank you so much !!
Help me to resolve the problem to stream at youtube and instagram simultaneously, but i have a little problem now. The stream resolution in instagram, after adjust resolution for the default, stretch the image. Without adjusting, the image is zoomed. How do i set the image resolution to be not stretched or zoomed?
Generally Instagram seems to expect you to stream in Portrait mode, which means the image has to be taller than it is wide. For eg. 720x1280 (instead of the usual 1280x720). So when it sees something like 1280x720, it tends to zoom in. (I have never seen it stretch the image, but I guess that also could happen).

What I generally do is to rotate the image by 90 degrees. So a 1280x720 stream becomes 720x1280, as Instagram would expect.
 

Animalfalcon

New Member
Generally Instagram seems to expect you to stream in Portrait mode, which means the image has to be taller than it is wide. For eg. 720x1280 (instead of the usual 1280x720). So when it sees something like 1280x720, it tends to zoom in. (I have never seen it stretch the image, but I guess that also could happen).

What I generally do is to rotate the image by 90 degrees. So a 1280x720 stream becomes 720x1280, as Instagram would expect.

Yes, I did this but the image got squeezed and stretched. Did not adjust the image to the resolution. I take screenshots without adjust resolution on Instagram.
This is in Instagram: Tela Instagram.jpg
and this in youtube: Tela Youtube.PNG
In this case, the screen don´t streched but zoomed. Have any method to reduce the zoom ?
 
Last edited:

Verner

Member
Does not work, writes that there is not enough space for recording. Although the output is indicated rmtp.
 

Russek

New Member
Thanks for this. I was wondering if there is any solution to have both chats YT and Twitch for example in original window chat in OBS?
 

Russek

New Member
Thanks for this. I was wondering if there is any solution to have both chats YT and Twitch for example in original window chat in OBS?

you can do this in simple way. Go to wiev->Docks->Custom browser docks. You need to have URL for yt chat and twitch chat.
Adnotacja 2020-03-24 230537.png
 

spieldings

New Member
Hello all, I am new here!
I tried to setup the second stream for Youtube. But it tells me Error opening 'rtmp........' invalid arguemnt
I used "rtmp://a.rtmp.youtube.com/live2/idke-1123-12301-daifo3" as the URL.
I know they changed something recently and I tried very different things, without success..
Any help?
 

lis.sikorski

New Member
Hello all, I am new here!
I tried to setup the second stream for Youtube. But it tells me Error opening 'rtmp........' invalid arguemnt
I used "rtmp://a.rtmp.youtube.com/live2/idke-1123-12301-daifo3" as the URL.
I know they changed something recently and I tried very different things, without success..
Any help?
Hi there!
The same is happening to me... not sure, as I only see one box, where to copy the rtpm path and where the key.
Thanks to all!!
 

C.Diagonal

New Member
I tried following all of the steps in the first post to send "recording" stream to FB live, but it keeps coming up with a "Recording Failed" message. what am I doing wrong?
This is the error message I receive:

Failed to start recording​
Starting the output failed. Please check the log for details.​
NOTE: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.​

I've also attached a picture of my output recording settings:
Screen Shot 2020-04-26 at 4.36.03 PM.png


I've also checked that my streaming encoder is set to x264 (software)

@regstuff
 

kartfast

New Member
I have question. I can get this method to work it seems but need to be able to put in a username/password for the RTMP I am using. Any way to do this?
 

regstuff

Member
This is the error message I receive:

Failed to start recording​
Starting the output failed. Please check the log for details.​
NOTE: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.​

I've also attached a picture of my output recording settings:View attachment 54774

I've also checked that my streaming encoder is set to x264 (software)

@regstuff
Judging from what I can see of your url, you haven's added the key to it, only the server. "
7. Add the whole rtmp address, including the key as a single path as URL (eg. rtmp://a.rtmp.youtube.com/rtmp/abcd-1234-xyza-4321)

This might be what's missing.
 

Lucas Danielson

New Member
Judging from what I can see of your url, you haven's added the key to it, only the server. "
7. Add the whole rtmp address, including the key as a single path as URL (eg. rtmp://a.rtmp.youtube.com/rtmp/abcd-1234-xyza-4321)

This might be what's missing.
I am having the same issue as @C.Diagonal with trying to stream to FB live through the recording output.
I realized that I was also not adding the stream key to the rtmp adress, but it still does not work. I updated my video drivers like it said, but I do not know what to do anymore.
Do I need to use a certain section of FB stream key maybe? It is quite long.
 

Galantry

New Member
Hi, would this work for streaming (recording) to a Samsung smart TV on the local network? If so, any ideas what the URL should be other than just the IP of the TV?

Thanks.
 

Jeff W

New Member
I couldn't get it to send to Facebook, because the RTMPS url didn't seem to work. It worked for YouTube, though.

I've been using this method to send the "recording" to YouTube, and it's been working fine for hours of streaming. However, on my last stream, it just died right in the middle of the stream with an "unspecified error while recording" pop-up. Presumably the underlying FFMPEG process died? Is there some way I can avoid this? Or know what went wrong? Some settings I can tweak?
 

PeteFraser

New Member
Facebook live needs to be sent on the primary stream (not the recording output) - at least that works for me. (I think it needs the rtmps ssl encoding turned on to work)....

However, I can't get Youtube to work reliably on the secondary stream with the settings given. On the YouTube GoLive web page I see the stream preview come up for a few seconds and then it goes black and flashes on/off for a few seconds before YouTube gives up. Does anyone have any ideas on settings for YouTube?
My recording settings:
URL: rtmp.....
container flv (empty mux)
Bitrate 2000
Keyframe interval (none of 1-60 work)
Encoder libx264
Audio 96Kbps
Audiotrack 1
Audio encoder aac
 
Top