Question / Help What specs needs a vps for running OBS?

ed3n

New Member
Hello,
since im having a very poor internet connection, without any options of a better one, im trying to figure out other solultions of streaming to twitch for quite a while. Im doing speedruns of games and im having recorded several of them as .mkv files. Now i want to stream them to twitch. I did rent a windows vps, trying to install obs on it, but it did not work (because of lack of support of the windows server 2008 os). But if i could get a VPS server with a strong connection streaming my mkv files to twitch my channel could go live, because i could upload my recorded speedruns overnight, and afterwards stream it.

But as far as i know most windows vps servers have software not supporting obs and also poor gpu power, which is needed for streaming(also no soundcard). Are there any solutions, servers, providers someone could recommend, i could use? My linux skills are very poor. I could pay up to 50$ a month for a server capable of streaming my mkv files. Full 1080p is not needed, just a watchable stream.

regards
 

FerretBomb

Active Member
A VPS will not have a DX10 hardware-compliant video card, and cannot run OBS.

On the bright side, you do not need OBS on the server if you're just trying to stream out pre-recorded videos. Look into the nginx-rtmp method, which can play back video files from disk. Even a Raspberry Pi (ultra low end hardware) can handle streaming playback or acting as a live repeater.
Also, there's things like Wowza and Red5 which will do similar with more features.

Just out of curiosity... if you aren't actually livestreaming, why not just upload the videos to YouTube instead? It's centered more around dead-file video to begin with, and would seem like a more appropriate and conducive method given the format.
 

ed3n

New Member
Hello FerretBomb,
thank you for your kind help. So i killed my sunday afternoon fighting around with linux. :) - I managed to install nginx functioning. At the moment im trying to configure it to play a uploaded mp4 file to twitch.

As mentioned in this tutorial (https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/) i edited the nginx conf file.

But im running into a dead end at the moment, since the tutorial only states how to setup a server which will redirect a stream to send to another location. Not how to play files by itself.
I found nginx rtmp play commands here: https://github.com/arut/nginx-rtmp-module/wiki/Directives#play

These could be the right ones. But im pretty clueless how to write the conf file.

I tryed adding this to the end of usr/local/nginx/conf/nginx.conf :

rtmp {
application vod {
play /root/1;
}


application live {
live on;
record off;

ffplay rtmp://localhost/vod//root/1/1.flv;

push rtmp://live-jfk-2.twitch.tv/app/live_1173MYSTREAMKEY
}

}

My mp4 file (H264/AAC - should be supported) is located at root/1/1.mp4

I think is code is probably complete trash, but anyway, i getting this fail message trying to restart nginx:
[emerg] "application" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:120
 

FerretBomb

Active Member
That would be entirely outside the scope of OBS support. I'd recommend nginx-rtmp support instead, as they probably know how to do it. :)
 
Top