Question / Help Weird situation.

ChocoQ

Member
So I have a weird situation, allow me to explain.

Basically, whenever I stream using OBS to YouTube (Directly, or using ReStream) the delay is huge, 30 seconds to 90 seconds.
Here's where it gets super weird.
Whenever I stream using nVidia Share, the delay is minimal. Like, a few seconds minimal.

On my Stream for YouTube, I have it set to Interaction instead of Less Buffering (Just as a test)
And the delay was still around 30 seconds.
I tested it again with nVidia and it's around 5-10 seconds of a delay.

Why is it, that when I stream with OBS I get a 30-90 second delay, yet when I stream using nVidia Share (which, the quality isn't that good, as I only have 1mb upload speed)

OBS gives me great 480p quality for my internet (compared to xSplit or nVidia share)
xSplit gives me grain, and nVidia share's quality is garbage for 480p live streaming


Another note,
I tested this with 2 different videos,
I recorded Black Ops 3 on PC with OBS and nVidia Share,
Whenever I use OBS to record a video (CRF=15, Very Fast Preset, and have changed it to Super Fast before)
My FPS Drops immensely, idk why.
OBS only uses like 5-10% of my CPU on a regular basis (while recording) 1080p 60fps videos, but causes my games to lag bad.
Example: I set my FPS to 73 in-game, it fluctuates from 68-75 regularly.
With OBS on, and recording, it goes from 54-75 (Which may not seem that bad, right?)
Well, whenever my FPS Drops below 60, my mouse starts messing up,
And my game does this weird lag, where it'll skip frames within the game, like it's trying to catch up.
The video gets extremely laggy (as if it dropped frames while recording, but it's recording the lag that I normally see in the game)
and it's pretty bad.

So I tested it with nVidia Share (aka Shadowplay) and the video was super smooth, and I maintained the same FPS, 68-75 (the normal, without OBS recording) while Share was recording.

So I guess my question as far as this goes, if OBS isn't using up that much of my CPU, why does it lag my games? (Yeah, plural. BO3 is just an example)
Why is it when I stream with OBS, my delay to YouTube is horrible (Keep in mind, that when I stream using nVidia share the delay is only 5-10 seconds)

I'm in no way bashing OBS, it's a great software. I use it every day, I love streaming with it, I spent many many days, nights, weeks, months, learning how to use it.
Now I'm just at a learning process.

Also, a side question, is it possible to extract my Microphone Audio from the recording to edit it within Audacity? Or should I just stick to recording my mic audio with Audacity and adding it into Blender?


Another side side note, If I have Monitor Capture enabled on a different scene that I am not using (I have alot of scenes) does it still use part of my CPU? (I just did a log analyzer and it said something about Montior Capture being enabled on a scene)

Another side side side note, I'm not sure if the most recent log file is of a local recording or live stream. If it says 1080p 60fps it's a local recording, if it says 480p30fps it's a live stream, I have different profiles for each one. (I use OBS every day, but the most recent one is 2/20/16 for some reason)
 

Attachments

  • 2016-02-20-0701-57.log
    98.7 KB · Views: 8

sam686

Member
x264 encoder by default use rc-lookahead, bframes, and a few other stuff that affects delay. Reducing this encoder's delay can be done by using tune=zerolatency, at a cost of some quality.

OBS have some delay of their own for syncing the audio, as log file shows: Scene buffering time set to 700 milliseconds. This can be adjusted in advanced option. Going too low may cause missing audio problem.

Your webcam is a USB 2.0, running at 1280x960. Try going to video capture settings for webcam to set resolution to 640x480 or less, this can free up some CPU usage which may allow more frames per second?

OBS can stream and record only a combined stereo audio. OBS-Multiplatform, a different free software, can record multiple audio tracks. OBS-Multiplatform can also record and stream at different bitrate and resolution at a cost of CPU usage.
 
Last edited:

ChocoQ

Member
x264 encoder by default use rc-lookahead, bframes, and a few other stuff that affects delay. Reducing this encoder's delay can be done by using tune=zerolatency, at a cost of some quality.

OBS have some delay of their own for syncing the audio, as log file shows: Scene buffering time set to 700 milliseconds. This can be adjusted in advanced option. Going too low may cause missing audio problem.

Your webcam is a USB 2.0, running at 1280x960. Try going to video capture settings for webcam to set resolution to 640x480 or less, this can free up some CPU usage which may allow more frames per second?

OBS can stream and record only a combined stereo audio. OBS-Multiplatform, a different free software, can record multiple audio tracks. OBS-Multiplatform can also record and stream at different bitrate and resolution at a cost of CPU usage.
Thanks for the reply.

Some notes,
I do use OBS Studio (Multiplatform)
The delay on OBS Studio (using ReStream) is 17 seconds to YouTube. (I have virtually the same settings, I stream at the exact same quality, and I didn't need to render down my webcam)

The only issue (albeit, small) with OBS Studio, is that I can't use an Image Slideshow (or rather, I can't find the option anywhere.)
And the cropping for windows is a bit hard to use, I prefer the old OBS use. :\

The only thing that I can think of, is the amount of scenes that I use. (I have alot on the regular OBS, and on the OBS Studio, I have only 2.)

Thanks for suggestions, I do appreciate it.

So I guess, if anyone knows a simpler way to use OBS Studio, (since I read somewhere that all future development is going to Studio)
As far as cropping, and adding image slideshows,
Please let me know ^_^
 
Top