Media Sources are lagging on opening

Rowin

New Member
Hello everyone,

I am running the latest stable build of OBS, and have ran into this problem that just suddenly occurred to me on OBS. Some of my scenes have Media Sources in them that play .MP4's. The problem that I am running into is that all of these scenes for some reason have some kind of lag with the media playback, I don't know what might have caused it, or what might be doing it since I haven't had this issue in the past with my scenes. Any other scene is perfectly fine, but the one's that I have any kind of video playback in seem to lag for some unknown reason (When I say lag, the video that would be smooth playback in a standalone player like VLC or even in OBS, now plays choppy and slow like it's going 15 to 10 FPS). Does anyone know what could be possibly causing this issue?

Logfile is located here: https://obsproject.com/logs/mkDlKunxPYbu137x (I did this logfile with a 30 second recording. Even when streaming or before streaming/recording. The lag in the video is there.)
 

rockbottom

Active Member
It's not just your media files that are lagging, more like everything is lagging. Rendering lag is through the roof (70% +/-)...

The first thing I would do is get rid of SE. Un-install it & OBS, re-install OBS only.

13:41:51.263: Game Bar: On > Off
13:41:51.263: Game DVR: On > Off

I'm not checking all of your plugins to make sure they are correct, you can do that but this needs updating.

13:41:51.865: [noise suppress]: NVIDIA AUDIO FX version: 1.2.0.13
13:41:51.865: [noise suppress]: NVIDIA AUDIO Effects SDK is outdated. Please update both audio & video SDK.
13:41:51.993: [noise suppress]: NVIDIA AUDIO FX enabled

There's more crap in the log but this is a start, after the above is addressed, test. Post another log after your done if it's still lagging.
 

Rowin

New Member
It's not just your media files that are lagging, more like everything is lagging. Rendering lag is through the roof (70% +/-)...

The first thing I would do is get rid of SE. Un-install it & OBS, re-install OBS only.

13:41:51.263: Game Bar: On > Off
13:41:51.263: Game DVR: On > Off

I'm not checking all of your plugins to make sure they are correct, you can do that but this needs updating.

13:41:51.865: [noise suppress]: NVIDIA AUDIO FX version: 1.2.0.13
13:41:51.865: [noise suppress]: NVIDIA AUDIO Effects SDK is outdated. Please update both audio & video SDK.
13:41:51.993: [noise suppress]: NVIDIA AUDIO FX enabled

There's more crap in the log but this is a start, after the above is addressed, test. Post another log after your done if it's still lagging.
Alright so I did a complete cleaning of OBS by uninstalling via Revo Uninstaller and then reinstalling OBS again with no plugins installed. So far the scenes are okay, however just adding in one video I see the video lagging and it lagging OBS. I'll include two log files, the first being without the video scene added in, the second with it added in.

Logfile without Video
Logfile with video stretched to fullscreen

This all feels like it's a video codec issue, setting the video to playback as a VLC or Media scene seems to do the same thing, with the framerate dropping down to 43.63/60 FPS when recording the scene.
 

rockbottom

Active Member
Rendering lag in the 2nd log, GPU is overloaded. This isn't helping your cause, not sure why HDR is enabled now, it wasn't in the log from Thursday.

16:32:17.558: output 1:
16:32:17.558: name=ARZOPA
16:32:17.558: pos={3840, 1082}
16:32:17.558: size={1920, 1080}
16:32:17.558: attached=true
16:32:17.558: refresh=60
16:32:17.558: bits_per_color=10
16:32:17.558: space=RGB_FULL_G2084_NONE_P2020
16:32:17.558: sdr_white_nits=240
16:32:17.558: nit_range=[min=0.466400, max=486.111298, max_full_frame=486.111298]
16:32:17.558: dpi=96 (100%)
16:32:17.558: id=\\?\DISPLAY#GBR0156#5&307ed0fc&0&UID4354#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
16:32:17.558: alt_id=\\.\DISPLAY2
 

rockbottom

Active Member
This the video? If so, remux it, re-encode it, whatever. Just don't use it in OBS.
16:39:36.115: input: C:/OBS/video/viceswm100_2.00x_2160x2160_alq-12.mp4
 

rockbottom

Active Member
These can be disabled along with the HDR. The rest of the log looks good, get the file fixed & you should be good to go.
16:32:17.172: Game Bar: On
16:32:17.172: Game DVR: On
 

Rowin

New Member
Rendering lag in the 2nd log, GPU is overloaded. This isn't helping your cause, not sure why HDR is enabled now, it wasn't in the log from Thursday.

16:32:17.558: output 1:
16:32:17.558: name=ARZOPA
16:32:17.558: pos={3840, 1082}
16:32:17.558: size={1920, 1080}
16:32:17.558: attached=true
16:32:17.558: refresh=60
16:32:17.558: bits_per_color=10
16:32:17.558: space=RGB_FULL_G2084_NONE_P2020
16:32:17.558: sdr_white_nits=240
16:32:17.558: nit_range=[min=0.466400, max=486.111298, max_full_frame=486.111298]
16:32:17.558: dpi=96 (100%)
16:32:17.558: id=\\?\DISPLAY#GBR0156#5&307ed0fc&0&UID4354#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
16:32:17.558: alt_id=\\.\DISPLAY2
Thanks for your assistance. I ended up updating EVERYTHING related to OBS and installing codec packs that I think became uninstalled through whatever means. Now everything is working again.
 
Top