Question / Help Audio out of sync

florian

New Member
I'm having some trouble with my video's, when i tried to record a random game of bf3 to check the upload quality with a different amount of kbps i noticed that my sound was of sync. It had around a 1sec delay, i checked the file that obs recorded and the file that i saved and uploaded to youtube with windows movie maker. Both of these were also of sync.

Does anyone know how i can fix this? I've done some research and most people seem to say try to put on the buffering option at sources but this option doesn't show up for me ( i'm using game capture ).

The video that i uploaded to test the quality/sound ^.
A example at 9:35.
 

florian

New Member
There are 6 logs, not sure if i should post all of em ( seems a bit much ) so i'll post the first one.

Edit: The Original is like... 10x longer, but i wasn't able to post all of it. Rest is in the attached file.
Code:
06:51:05: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
06:51:05: CUDA loaded successfully
06:51:05: 1 CUDA capable devices found
06:51:05: [ GPU #0 - < GeForce GTX 660 > has Compute SM 3.0, NVENC Available ]
07:02:40: Settings::Video: Enabling Aero
07:07:59: Open Broadcaster Software v0.624b - 64bit ( ^ω^)
07:07:59: -------------------------------
07:07:59: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
07:07:59: CPU Speed: 3392MHz
07:07:59: Physical Memory:  8131MB Total, 4603MB Free
07:07:59: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
07:07:59: monitor 1: pos={0, 0}, size={1920, 1080}
07:07:59: Windows Version: 6.1 Build 7601 S
07:07:59: Aero is Enabled
07:07:59: -------------------------------
07:07:59: OBS Modules:
07:07:59: Base Address  Module
07:07:59: 000000003FE40000 OBS.exe
07:07:59: 00000000E95C0000 OBSApi.dll
07:07:59: 00000000ECE80000 DShowPlugin.dll
07:07:59: 00000000ECA10000 GraphicsCapture.dll
07:07:59: 00000000EAA10000 NoiseGate.dll
07:07:59: 00000000EA9E0000 PSVPlugin.dll
07:07:59: ------------------------------------------
07:07:59: Adapter 1
07:07:59:  Video Adapter: NVIDIA GeForce GTX 660
07:07:59:  Video Adapter Dedicated Video Memory: 2086469632
07:07:59:  Video Adapter Shared System Memory: 2147807232
07:07:59:  Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
07:07:59: =====Stream Start: 2014-05-31, 07:07:59===============================================
07:07:59:  Multithreaded optimizations: On
07:07:59:  Base resolution: 1920x1080
07:07:59:  Output resolution: 1920x1080
07:07:59: ------------------------------------------
07:07:59: Loading up D3D10 on NVIDIA GeForce GTX 660 (Adapter 1)...
07:08:00: ------------------------------------------
07:08:00: Audio Format: 48000 Hz
07:08:00: ------------------------------------------
07:08:00: Audio Channels: 2 Ch
07:08:00: Playback device Default
07:08:00: ------------------------------------------
07:08:00: Using desktop audio input: Luidsprekers (Realtek High Definition Audio)
07:08:00: Global Audio time adjust: 0
07:08:00: ------------------------------------------
07:08:00: Audio Encoding: AAC
07:08:00:  bitrate: 128
07:08:00: Using Monitor Capture
07:08:00: Scene buffering time set to 700
07:08:00: ------------------------------------------
07:08:00: Video Encoding: x264
07:08:00:  fps: 30
07:08:00:  width: 1920, height: 1080
07:08:00:  preset: veryfast
07:08:00:  profile: high
07:08:00:  keyint: 250
07:08:00:  CBR: no
07:08:00:  CFR: yes
07:08:00:  max bitrate: 5000
07:08:00:  buffer size: 5000
07:08:00:  quality: 10
07:08:00: ------------------------------------------
07:08:17: Total frames encoded: 484, total frames duplicated: 153 (31.61%)
07:08:17: Total frames rendered: 330, number of late frames: 159 (48.18%) (it's okay for some frames to be late)
07:08:17:
07:08:17: Profiler time results:
07:08:17:
07:08:17: ==============================================================
07:08:17: video thread frame - [100%] [avg time: 49.564 ms] [children: 98.6%] [unaccounted: 1.39%]
07:08:17: | scene->Preprocess - [98.3%] [avg time: 48.727 ms]
07:08:17: | GPU download and conversion - [0.301%] [avg time: 0.149 ms] [children: 0.278%] [unaccounted: 0.0222%]
07:08:17: | | flush - [0.153%] [avg time: 0.076 ms]
07:08:17: | | CopyResource - [0.0383%] [avg time: 0.019 ms]
07:08:17: | | conversion to 4:2:0 - [0.0868%] [avg time: 0.043 ms]
07:08:17: Convert444Threads - [100%] [avg time: 2.41 ms] [children: 99.7%] [unaccounted: 0.29%]
07:08:17: | Convert444toNV12 - [99.7%] [avg time: 2.403 ms]
07:08:17: encoder thread frame - [100%] [avg time: 3.011 ms] [children: 0.0996%] [unaccounted: 99.9%]
07:08:17: | sending stuff out - [0.0996%] [avg time: 0.003 ms]
07:08:17: ==============================================================
07:08:17:
07:08:17:
07:08:17: Profiler CPU results:
07:08:17:
07:08:17: ==============================================================
07:08:17: video thread frame - [cpu time: avg 10.021 ms, total 3307.22 ms] [avg calls per frame: 1]
07:08:17: | scene->Preprocess - [cpu time: avg 9.218 ms, total 3042.02 ms] [avg calls per frame: 1]
07:08:17: | GPU download and conversion - [cpu time: avg 0.141 ms, total 46.8 ms] [avg calls per frame: 1]
07:08:17: | | flush - [cpu time: avg 0.047 ms, total 15.6 ms] [avg calls per frame: 1]
07:08:17: | | CopyResource - [cpu time: avg 0.098 ms, total 31.2 ms] [avg calls per frame: 1]
07:08:17: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:08:17: Convert444Threads - [cpu time: avg 2.129 ms, total 1341.61 ms] [avg calls per frame: 2]
07:08:17: | Convert444toNV12 - [cpu time: avg 2.129 ms, total 1341.61 ms] [avg calls per frame: 2]
07:08:17: encoder thread frame - [cpu time: avg 2.695 ms, total 1248.01 ms] [avg calls per frame: 1]
07:08:17: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:08:17: ==============================================================
07:08:17:
07:08:17: =====Stream End: 2014-05-31, 07:08:17=================================================
07:08:21: =====Stream Start: 2014-05-31, 07:08:21===============================================
07:08:21:  Multithreaded optimizations: On
07:08:21:  Base resolution: 1920x1080
07:08:21:  Output resolution: 1920x1080
07:08:21: ------------------------------------------
07:08:21: Loading up D3D10 on NVIDIA GeForce GTX 660 (Adapter 1)...
07:08:21: ------------------------------------------
07:08:21: Audio Format: 48000 Hz
07:08:21: ------------------------------------------
07:08:21: Audio Channels: 2 Ch
07:08:21: Playback device Default
07:08:21: ------------------------------------------
07:08:21: Using desktop audio input: Luidsprekers (Realtek High Definition Audio)
07:08:21: Global Audio time adjust: 0
07:08:21: ------------------------------------------
07:08:21: Audio Encoding: AAC
07:08:21:  bitrate: 128
07:08:21: Using Monitor Capture
07:08:21: Scene buffering time set to 700
07:08:21: ------------------------------------------
07:08:21: Video Encoding: x264
07:08:21:  fps: 30
07:08:21:  width: 1920, height: 1080
07:08:21:  preset: veryfast
07:08:21:  profile: high
07:08:21:  keyint: 250
07:08:21:  CBR: no
07:08:21:  CFR: yes
07:08:21:  max bitrate: 5000
07:08:21:  buffer size: 5000
07:08:21:  quality: 10
07:08:21: ------------------------------------------
07:08:27: Total frames encoded: 144, total frames duplicated: 26 (18.06%)
07:08:27: Total frames rendered: 117, number of late frames: 33 (28.21%) (it's okay for some frames to be late)
[CODE]
 

Attachments

  • 2014-05-31-0650-00.log
    54 KB · Views: 7

dodgepong

Administrator
Community Helper
Don't use Monitor capture on Windows 7. Instead, use DWM capture (Add a game capture and select DWM Monitor Capture from the application list).

Or just add a game capture for BF3.
 

florian

New Member
oh i think that was for testing. i use game capture for bf3. And i am getting the delay with the game capture mode.
 

rakunvar

Member
You could try to disable Aero, also even with CBR off you probably should drop the Buffer/bitrate to like 4k max, Your bitrate is very high. For live streaming, your viewers must also be able to download at the bitrate you specified. Setting too high of a bitrate will cause your viewers to experience lag and your stream may also drop frames if the streaming service you use does not support such high bitrates.

I see alot of bouncing around settings, so hard to tell. I would try 720p and not 1080p for sure till the issue is solved. Also stick with the Veryfast preset, a Keyint of 2, and GAME capture for sure as monitor capture will cause even more degrading of your resources.

I think you may just be pushing the PC too much with probably maxing the game out, as well as maxing out stream settings.

Analyzer also mentioned:
Low frame rate detected

Your stream is taking an average of 49.564 milliseconds to render a frame. This limits your maximum FPS to around 20 FPS. The most common reason for long frame rendering times are:

  • Using monitor capture
  • Using slow devices such as webcams running at 1080p
  • Not enough CPU/GPU resources available for OBS
  • Running your stream at too high of a resolution / FPS for your computer to handle
Late frames detected

48.18% of your frames are late. This means the frames are being generated later than they were needed, causing your stream FPS to drop. Late frames are often caused by slow sources such as monitor capture, slow video capture devices or by trying to run your stream at too high of a resolution / FPS.

Hope that helps a bit!
 

florian

New Member
Well i'm getting a bit confused because... I recorded another game of bf3 today to test and... Well the sound is in sync, atleast it seems to be. Also for some other stuff, game and monitor capture both seem fine. ( tested with cbr and without. With with 1000kbs.

@rakunvar ur saying im currently using to much graph? or is my pc simply not able to handle it. ( i use it for recording vids only atm, not streaming ). I currently have my C drive 90% full of the 500gb. ( shuda have put all games on my D drive but... well i can't explain, i was just stupid. and my D drive is currently 90% free, also 500gb. ) Could my C drive being full be a part of the fps problem.

Would having 20fps on video's be a big problem? Since the video looks fine to my eyes. Also any things u could recommend? What settings of obs/games i could lower.
 

rakunvar

Member
Here is what Analyzer mentions about Monitor capture so you can see what I meant. Plus you can get some ideas yourself if you post your log's into it.

Here's the stream estimator as well!

Monitor capture detected

One of your scenes appears to be using monitor capture. Monitor capture is the slowest and least efficient method of capturing, and can cause FPS lag on both your stream and your game and will also cause problems capturing full-screen games. Consider using game capture or window capture instead (this does not apply to Windows 8).

I dont think your drive should be causing you to much issue, although you could move the game's to the other drive if you wanted just simply by copying Origins games over, then changing Origins settings to find the game there.

Are you just recording videos or are you trying to work on streaming and having the issues? If your still getting the audio delay with the changes and such, I'm not sure what else to recommend.. The audio side of things I'm not nearly versed in but I'm sure the Dev's/mods/admins here will help.

If your looking to stream I would lower the res to 720p, the Bitrate/buffer to 4000 max on mostly every game, use game capture, try disabling Aero, and try using CBR. The buffer/bitrate shouldn't affect just video recording, but if you try to stream either 1080 or 720 with only 1000k, it will look quite bad, but since you have the upload you can move it up to the 3500-4000 range. You just need to find a good area of Resolution/downsampling+Bitrate+other settings that wont push your PC and network to far.

If you need more help on how to move the games from Origin let me know and I can type something up. Hopefully that helps some :)
 

florian

New Member
Well ur saying the log showed that i used monitor capture, thats isn't really the problem since it was only testing and i'm not using it now. Was the fps problem only with the monitor capture, or also the game capture.

Currently i'm only planning on uploading random videos of games, thinking of streaming later on. Ur saying if i upload i can use 4000bitrate max, should i use CBR and put it to this? Or just keep it off.

Also i'm having a different problem, I don't really know with how much kbps i need to save a video i've created ( using windows movie maker ) and upload it. Currently i'm using preset HD ( 25000kbps ). I seem to be getting different results after uploading with the same settings, not alot but slightly blurryer small texts.
 
Top