Question / Help Frames dropping w/ Undertale + Facerig + Livestream + Recording

I've been having an issue that I've only been seeing when simultaneously streaming and recoreding Undertale with Facerig acting as a webcam. Both on the stream and in the recorded file I've been having massive frame drops (here for example is one that originated from the video, not just on the stream)

Now I've been trying to test it. Just streaming w/o recording Undertale was fine, and even adding Facerig and it didn't dip for 10 minutes but maybe slightly once. So right now the only outlier is recording at the same time as streaming.

Note: if I monitor it in OBS the recording looks absolutely fine, but I'll notice in the bottom right under kb/s it can dip as low as 300, even though I'm running 11Mbps up on average. Even the recorded video sees the bad stuttering

PC Specifics:

i5 quad core 3rd generation
16GB Ram
AM 7870HD 2GB RAM
Windows 10 64 bit
Running OBS 32 bit w/ DX11 (tried OpenGL as well, did not fix) and using AMD video encoder
Facerig set to DX11
 
https://gist.github.com/c3108c556d65c26768b8ebaf79c398f9 from a session I just pulled. Streaming fine w/ Binding of Isaac and facerig, soon as I switch to undertale it kicks in.

Also from last log in case that didn't work right.: https://gist.github.com/1028ddc5060a3112d474264962282f35

Also 1 and 2 from the undertale stream earlier where the problems were really noticable http://pastebin.com/SKcxYBYJ
http://pastebin.com/GvNquvaz

For comparison, did a test after the streams just mentioned where I was not recording and it looked fine. Here is the log.http://pastebin.com/9zqdPSjJ

Hopefully that'll be enough.
 
Actually I am reviewing this and may have some ideas I need to test. The one thing I notice in the logs with some serious +50% skipped frames is a series of errors before the "Output 'adv_stream': stopping" log stating "[Media Foundation encoder]: SetCodecProperty(codecApi, CODECAPI_AVEncVideoEncode [...] failed, not implemented".

Clearly I'm not well versed in this but based on this stating that it's the media foundation encoder and dealing with the encoding codec my suspicion here is the possible source of the problem being my AMD Video encoder? If someone is more versed and can tell me if I'm wrong on my hunch let me know. In the meantime, I think this is something I'll test tonight and will try to produce another log switching this up.

POST EDIT: So I'm finding two things: I"m party right it seems about this. Setting the video encoder to x264 and leaving the stream encoder AMD improves the health, but the biggest culprit appears to be restream.io. Streaming directly to Youtube seems to go far better with my encoder set either way.. The only weird anomoly to this is the slowdown issues showing up in the video that gets saved.
 
Last edited:
Top