Howdy folks!
Austiego here...
So I have this issue... and try as I might, I cant seem to get it figured out.
I am a light Linux user, so not a ton of experience, but a decent willingness to learn :-)
---The background---
So buddy and I like to do casual streams to Twitch/Youtube on the weekends for fun. After seeing Wendell and Grizzle's video on setting up an RTMP server using NGINX I decided to set up an Ubuntu machine in my home using NGINX so my buddy and I can stream to it. I then use another dedicated encoding machine in my home to grab both streams from the RTMP server, combine them in one stream and encode/rebroadcast to twitch/youtube.
---The problem---
The problem that I am having is when I retrieve the stream on my encoding machine from my RTMP server, the quality of the stream has been reduced dramatically. By quality, I mean the video quality. It looks fuzzy. The framerate and audio appear to be good, the video quality just does not look that great.
I've tried both OBS and XSplit, and they both show the same fuzzyness when receiving the RTMP streams.
When I do a local stream using XSplit to stream directly on my LAN to my encoding machine, the quality is as I would expect it. I've also tried different resolutions.
Streaming Setup...
Both HQ streams to RTMP server... 1080p 60fps @ 8000 kbits/sec
---Things I've tried/considered---
In an effort to troubleshoot my problem... I have tried/considered the following things...
I'm blessed with a decent internet connection in my neighborhood. I ran the gambit of speed and throughput tests. Everything looks to be plenty fast enough with a good amount of reserve overhead.
At first I was running a raspberry pi 3 with Raspbian Jessie Lite for my RTMP server, but I suspected the 10/100 port on the pi might bottleneck my incoming connections since in total they are around 16 Mbits. I loaded Ubuntu Gnome on a laptop with a gigabit Ethernet port and set everything up again.
I've tried goofing around with the settings in XSplit and OBS, but other than cropping and resizing the individual streams, there is not much else I can do with them once I receive them from the RTMP server.
---What I suspect the problem might be---
To be honest, what it looks like is happening, is the RTMP server is downscaling the stream from 1080p to something smaller. When I then add the streams to my encoding PC, it looks similar to stretching a lower resolution video to a larger resolution stage... if that makes sense.
I have been looking at the NGINX website trying to determine if I would be able to add a few lines in the NGINX config file to make sure my video being received and retransmitted is not getting scaled or anything like that. Unfortunatly, I have not been able to figure it out.
Everything I read tells me that the quality of the retransmitted stream from my RTMP server should be at the same resolution and quality as the stream coming into the server.
Put simply this does not appear to be the case...
Has anybody else had this problem? Does anybody know of anything I could try?
My preferred software is XSplit, althought I love OBS... just my preference.
What do you guys/gals think?