Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I stream using OBS to a local server which can convert the stream into a file?

As stated above, I would like to stream to my lan server using OBS (open broadcaster software)

In OBS there is a "save to file" option but the quality can be quite low and take up a lot resources on the computer. I have a file server I use for just about everything with a decent CPU and plenty of storage space.

I'm trying to find some software which can convert the stream from my client computer to a file on the server, so all the rendering is done on the server rather than my computer. This will free up a lot of resources on the client computer.

My client computer is running windows 8.1 and my server is running windows server 2012 r2. I am able to use Ubuntu on the server too but I would rather use windows as everything is already setup.

like image 221
FortuneCookie101 Avatar asked Dec 24 '13 17:12

FortuneCookie101


People also ask

Can OBS stream locally?

OBS. To record locally in OBS, click Start Recording on the Controls dock. To access your recording settings, click Settings on the Controls dock or click File -> Settings in the top left-hand corner and navigate to the Output section. In the Output section, you can choose between Simple and Advanced mode.

Can OBS act as an RTMP server?

No, OBS is not an RTMP server. It's an RTMP client. Same with your camera software, another RTMP client, not a server.

How do I change my OBS stream server?

Open your OBS Studio and click Settings on the bottom-right. Select the Stream tab on the left. Choose your preferred streaming platform in the Service box.

How do I stream from OBS Studio to my website?

Navigate to the dashboard and click “Set up for OBS, Zoom, etc.” Click the “Embed Stream” button at the bottom of the screen. Copy the embed code that pops up in the “Embed settings” window. Paste the code into your website's HTML.


1 Answers

I found this really nice tutorial on how to do this with Ubuntu.

Here's the link: http://obsproject.com/forum/viewtopic.php?f=18&t=2651

All you have to do is download and compile nginx with it's RTMP module. You can then setup a simple configuration to do whatever you want, e.g: save the stream, forward it to other people, forward it to twitch etc.

I have tested stream forwarding and saving the streams to a disk and it works extremely well. The only downside is you have to compile nginx yourself but on Linux it's not really a big deal.

like image 83
FortuneCookie101 Avatar answered Sep 22 '22 05:09

FortuneCookie101