Question / Help Noticeable frameskips while recording with version 0.11.4

moriz1

Member
Hey there,

I've been experimenting with using OBS MP to record gameplay for the past little while, and I've run into a persistent issue: visible frame skipping. I've experimented with the recording settings, but none of them seem to have any impact on this issue.

Here are the latest logs:

Code:
20:24:02.129: CPU Name: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
20:24:02.129: CPU Speed: 3200MHz
20:24:02.130: Physical Cores: 6, Logical Cores: 12
20:24:02.130: Physical Memory: 32711MB Total, 26334MB Free
20:24:02.130: Windows Version: 10.0 Build 10240 (revision: 16384)
20:24:02.130: Aero is Enabled (Aero is always on for windows 8 and above)
20:24:02.136: OBS 0.11.4 (64bit, windows)
20:24:02.136: ---------------------------------
20:24:02.137: ---------------------------------
20:24:02.137: audio settings reset:
20:24:02.137:     samples per sec: 48000
20:24:02.137:     speakers:        2
20:24:02.137:     buffering (ms):  1000
20:24:02.138: ---------------------------------
20:24:02.138: Initializing D3D11..
20:24:02.138: Available Video Adapters:
20:24:02.139:     Adapter 0: NVIDIA GeForce GTX TITAN
20:24:02.140: Loading up D3D11 on adapter NVIDIA GeForce GTX TITAN (0)
20:24:02.152: D3D11 loaded sucessfully, feature level used: 45056
20:24:02.548: ---------------------------------
20:24:02.548: video settings reset:
20:24:02.548:     base resolution:   2560x1600
20:24:02.548:     output resolution: 2560x1600
20:24:02.548:     fps:               30/1
20:24:02.548:     format:            I420
20:24:02.550: ---------------------------------
20:24:02.550: Loading module: coreaudio-encoder.dll
20:24:02.550: [CoreAudio encoder]: Failed loading library 'CoreAudioToolbox.dll'
20:24:02.550: [CoreAudio encoder]: Couldn't load CoreAudio AAC encoder
20:24:02.551: ---------------------------------
20:24:02.551: Loading module: image-source.dll
20:24:02.551: ---------------------------------
20:24:02.551: Loading module: obs-ffmpeg.dll
20:24:02.551: ---------------------------------
20:24:02.551: Loading module: obs-filters.dll
20:24:02.552: ---------------------------------
20:24:02.552: Loading module: obs-outputs.dll
20:24:02.552: ---------------------------------
20:24:02.552: Loading module: obs-x264.dll
20:24:02.552: ---------------------------------
20:24:02.552: Loading module: rtmp-services.dll
20:24:02.553: ---------------------------------
20:24:02.553: Loading module: text-freetype2.dll
20:24:02.673: ---------------------------------
20:24:02.673: Loading module: win-capture.dll
20:24:02.887: ---------------------------------
20:24:02.887: Loading module: win-decklink.dll
20:24:02.890: No blackmagic support
20:24:02.890: Failed to start search for DeckLink devices
20:24:02.890: ---------------------------------
20:24:02.890: Loading module: win-dshow.dll
20:24:02.893: ---------------------------------
20:24:02.893: Loading module: win-mf.dll
20:24:02.893: [Media Foundation encoder]: Adding Media Foundation AAC Encoder
20:24:02.893: ---------------------------------
20:24:02.893: Loading module: win-wasapi.dll
20:24:02.894: =====================================================================
20:24:02.894: output 'adv_stream' (rtmp_output) created
20:24:02.894: output 'adv_file_output' (ffmpeg_muxer) created
20:24:02.894: encoder 'recording_h264' (obs_x264) created
20:24:02.894: encoder 'streaming_h264' (obs_x264) created
20:24:02.894: AAC encoder bitrate mapping:
20:24:02.894:      32 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
20:24:02.894:      64 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
20:24:02.894:      96 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
20:24:02.894:     128 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
20:24:02.894:     160 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
20:24:02.894:     192 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
20:24:02.894:     224 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
20:24:02.894:     256 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
20:24:02.894:     288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
20:24:02.894:     320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
20:24:02.894: encoder 'adv_aac0' (ffmpeg_aac) created
20:24:02.894: encoder 'adv_aac1' (ffmpeg_aac) created
20:24:02.894: encoder 'adv_aac2' (ffmpeg_aac) created
20:24:02.894: encoder 'adv_aac3' (mf_aac) created
20:24:02.894: service 'default_service' (rtmp_common) created
20:24:02.895: All scene data cleared
20:24:02.895: ------------------------------------------------
20:24:02.904: WASAPI: Device 'Speakers (ODAC )' initialized
20:24:02.904: source 'Desktop Audio' (wasapi_output_capture) created
20:24:02.915: WASAPI: Device 'Speakers (USB Audio CODEC )' initialized
20:24:02.916: source 'Desktop Audio 2' (wasapi_output_capture) created
20:24:02.933: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
20:24:02.933: source 'Mic/Aux' (wasapi_input_capture) created
20:24:02.933: source 'Scene' (scene) created
20:24:02.935: source 'Display Capture' (monitor_capture) created
20:24:02.955: == Profiler Results =============================
20:24:02.955: run_program_init: 838.496 ms
20:24:02.955:  ┣OBSApp::AppInit: 1.191 ms
20:24:02.955:  ┃ ┗OBSApp::InitLocale: 0.592 ms
20:24:02.955:  ┗OBSApp::OBSInit: 832.111 ms
20:24:02.955:    ┣obs_startup: 0.462 ms
20:24:02.955:    ┗OBSBasic::OBSInit: 818.669 ms
20:24:02.955:      ┣OBSBasic::InitBasicConfig: 0.341 ms
20:24:02.955:      ┣OBSBasic::ResetAudio: 0.15 ms
20:24:02.955:      ┣OBSBasic::ResetVideo: 412.265 ms
20:24:02.955:      ┣OBSBasic::InitOBSCallbacks: 0.013 ms
20:24:02.955:      ┣OBSBasic::InitHotkeys: 0.045 ms
20:24:02.955:      ┣obs_load_all_modules: 344.501 ms
20:24:02.955:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.478 ms
20:24:02.955:      ┃ ┣obs_init_module(image-source.dll): 0.002 ms
20:24:02.955:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.007 ms
20:24:02.955:      ┃ ┣obs_init_module(obs-filters.dll): 0.004 ms
20:24:02.955:      ┃ ┣obs_init_module(obs-outputs.dll): 0.003 ms
20:24:02.955:      ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
20:24:02.955:      ┃ ┣obs_init_module(rtmp-services.dll): 0.003 ms
20:24:02.955:      ┃ ┣obs_init_module(text-freetype2.dll): 119.723 ms
20:24:02.956:      ┃ ┣obs_init_module(win-capture.dll): 213.277 ms
20:24:02.956:      ┃ ┣obs_init_module(win-decklink.dll): 3.055 ms
20:24:02.956:      ┃ ┣obs_init_module(win-dshow.dll): 1.666 ms
20:24:02.956:      ┃ ┣obs_init_module(win-mf.dll): 0.027 ms
20:24:02.956:      ┃ ┗obs_init_module(win-wasapi.dll): 0.004 ms
20:24:02.956:      ┣OBSBasic::ResetOutputs: 0.442 ms
20:24:02.956:      ┣OBSBasic::CreateHotkeys: 0.15 ms
20:24:02.956:      ┣OBSBasic::InitService: 0.085 ms
20:24:02.956:      ┣OBSBasic::InitPrimitives: 0.217 ms
20:24:02.956:      ┗OBSBasic::Load: 41.591 ms
20:24:02.956: =================================================
20:24:03.072: Update check: last known remote version is 0.11.4
20:24:21.826: encoder 'recording_h264' destroyed
20:24:21.826: encoder 'streaming_h264' destroyed
20:24:21.826: encoder 'adv_aac3' destroyed
20:24:21.826: encoder 'adv_aac2' destroyed
20:24:21.826: encoder 'adv_aac1' destroyed
20:24:21.826: encoder 'adv_aac0' destroyed
20:24:21.826: output 'adv_stream' destroyed
20:24:21.826: output 'adv_file_output' destroyed
20:24:21.826: output 'adv_stream' (rtmp_output) created
20:24:21.826: output 'adv_file_output' (ffmpeg_muxer) created
20:24:21.827: encoder 'recording_h264' (obs_x264) created
20:24:21.827: encoder 'streaming_h264' (obs_x264) created
20:24:21.827: encoder 'adv_aac0' (ffmpeg_aac) created
20:24:21.827: encoder 'adv_aac1' (ffmpeg_aac) created
20:24:21.827: encoder 'adv_aac2' (ffmpeg_aac) created
20:24:21.827: encoder 'adv_aac3' (mf_aac) created
20:24:21.827: Settings changed (outputs)
20:24:21.827: ------------------------------------------------
20:24:29.331: ---------------------------------
20:24:29.331: [x264 encoder: 'recording_h264'] preset: veryfast
20:24:29.331: [x264 encoder: 'recording_h264'] profile: main
20:24:29.331: [x264 encoder: 'recording_h264'] settings:
20:24:29.331:     bitrate:     24000
20:24:29.331:     buffer size: 0
20:24:29.331:     fps_num:     30
20:24:29.331:     fps_den:     1
20:24:29.331:     width:       1920
20:24:29.331:     height:      1200
20:24:29.331:     keyint:      250
20:24:29.331:     vfr:         off
20:24:29.331:     cbr:         off
20:24:29.331: [x264 encoder: 'recording_h264'] VBV maxrate specified, but no bufsize, ignored
20:24:29.331:
20:24:29.335: ---------------------------------
20:24:29.335: [FFmpeg aac encoder: 'Game'] bitrate: 320, channels: 2
20:24:29.336: ---------------------------------
20:24:29.337: [FFmpeg aac encoder: 'TS'] bitrate: 320, channels: 2
20:24:29.337: ---------------------------------
20:24:29.337: [FFmpeg aac encoder: 'Mic'] bitrate: 320, channels: 2
20:24:29.340: ==== Recording Start ===============================================
20:24:29.340: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/record/2015-08-20 20-24-29.mp4'...
20:25:10.305: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/record/2015-08-20 20-24-29.mp4' stopped
20:25:10.305: ==== Recording Stop ================================================
20:25:10.305: Output 'adv_file_output': stopping
20:25:10.305: Output 'adv_file_output': Total frames: 1229
20:25:10.305: Output 'adv_file_output': Number of skipped frames: 2 (0.162734%)

I know it says that there were only 2 skipped frames, but that might be because I'm doing a desktop recording.

Is there something that I'm doing wrong? I can upload the video clip as well, if there's a need for it.

Thanks in advance!
 

moriz1

Member
nobody else?

is there a setting that i'm not using correctly?

for the record, my computer is most definitely capable of recording. if i use dxtory with similar settings (x264vfw encoder), i get very smooth recorded framerates.
 

dodgepong

Administrator
Community Helper
Can you do a test recording, restart OBS, post your "last" log file, and post the video somewhere that we can see?
 

dodgepong

Administrator
Community Helper
Since you're recording with 0 buffer, try changing the x264 preset to ultrafast and see if you get better performance that way.
 

dodgepong

Administrator
Community Helper
Well, OBS itself seems to be performing OK. To be honest, it's kind of hard to tell what frame skips you're taking about. It looks like normal 30fps to me, but maybe it's this computer I'm watching on.
 

ball2hi

Member
I want to add in. I rewatched one of this first tests and I definitely noticed the "frameskip" or that unsmoothness. It's very apparent at the beginning of the video, when he tries to turn the camera it looks nothing like 30 and more like... idk... 10 or something.
 

Lapppy

Member
I have had this problem ever since i've started using OBS. There is clearly visible frame skipping while the log file reports none or very little skipped frames.

I've had luck in the past by disabling the preview and minimizing OBS during capture, but that doesn't seem to work on my newer laptop which should be able to handle at least 720p30 fine.

Here is a log: Note that OBS does not report a lot of skipped frames, indicating that OBS is working fine yet the final output is full of frame skips.
 

Attachments

  • 2015-09-17 13-30-50.txt
    19.4 KB · Views: 25
Top