Question / Help Turning Prerendering off?

ThePhantom123

New Member
Hello, I just wanted to ask if there is a way to disable the rendering within the recording. This lets my video lag a bit, so thats a problem.

I hope there is a way, otherwise I can't use the programm =I
 

dodgepong

Administrator
Community Helper
I'm not sure what you mean. You can disable encoding while previewing, but you can't disable encoding while recording...because recording is encoding. Is that what you mean?
 

ThePhantom123

New Member
dodgepong said:
I'm not sure what you mean. You can disable encoding while previewing, but you can't disable encoding while recording...because recording is encoding. Is that what you mean?

Sorry, I don't know how to explain it^^

Well, there are rendering programs like Camtasia or Sony Vegas that convert .avi to .mp4 or something like that. If I understood it right, OB does that directly. My questions was how to disable this.

If thats encoding, im sorry. As im german, I don't know every word^^

Oh, and here is my log! :D

Code:
16:37:30: Open Broadcaster Software v0.59b - 64bit ( ^ω^)
16:37:30: -------------------------------
16:37:30: CPU Name: Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
16:37:30: CPU Speed: 3192MHz
16:37:30: Physical Memory:  8183MB Total, 2114MB Free
16:37:30: stepping id: 2, model 37, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
16:37:30: monitor 1: pos={0, 0}, size={1600, 900}
16:37:30: monitor 2: pos={1600, 0}, size={1280, 1024}
16:37:30: Windows Version: 6.1 Build 7601 S
16:37:30: Aero is Disabled
16:37:30: -------------------------------
16:37:30: OBS Modules:
16:37:30: Base Address     Module
16:37:30: 000000003F6F0000 OBS.exe
16:37:30: 00000000F6B50000 OBSApi.dll
16:37:30: 00000000F95D0000 DShowPlugin.dll
16:37:30: 00000000FC0E0000 GraphicsCapture.dll
16:37:30: 00000000FC140000 NoiseGate.dll
16:37:30: 00000000F9670000 PSVPlugin.dll
16:37:30: ------------------------------------------
16:37:30: Adapter 1
16:37:30:   Video Adapter: NVIDIA GeForce GTX 560 
16:37:30:   Video Adapter Dedicated Video Memory: 1024917504
16:37:30:   Video Adapter Shared System Memory: 3221106688
16:37:30:   Video Adapter Output 1: pos={0, 0}, size={1600, 900}, attached=true
16:37:30:   Video Adapter Output 2: pos={1600, 0}, size={1280, 1024}, attached=true
16:37:30: =====Stream Start: 2013-12-16, 16:37:30===============================================
16:37:30:   Multithreaded optimizations: On
16:37:30:   Base resolution: 1280x720
16:37:30:   Output resolution: 1280x720
16:37:30: ------------------------------------------
16:37:30: Loading up D3D10 on NVIDIA GeForce GTX 560...
16:37:30: ------------------------------------------
16:37:30: Audio Format: 44100hz
16:37:30: Playback device {0.0.0.00000000}.{1991d185-5787-4f65-9e26-aa54abcb26d1}
16:37:30: ------------------------------------------
16:37:30: Using desktop audio input: Lautsprecher (Logitech G330 Headset)
16:37:30: ------------------------------------------
16:37:30: Using auxilary audio input: Mikrofon (Logitech G330 Headset)
16:37:30: ------------------------------------------
16:37:30: Audio Encoding: AAC
16:37:30:     bitrate: 160
16:37:30: Using graphics capture
16:37:30: Scene buffering time set to 700
16:37:30: ------------------------------------------
16:37:30: Video Encoding: x264
16:37:30:     fps: 25
16:37:30:     width: 1280, height: 720
16:37:30:     preset: veryfast
16:37:30:     profile: high
16:37:30:     keyint: 50
16:37:30:     CBR: no
16:37:30:     CFR: no
16:37:30:     max bitrate: 6000
16:37:30:     buffer size: 1000
16:37:30:     quality: 8
16:37:30: ------------------------------------------
16:37:30: MMDeviceAudioSource: Frequency for device 'Lautsprecher (Logitech G330 Headset)' is 352800, samples per sec is 44100
16:37:30: MMDeviceAudioSource: Frequency for device 'Mikrofon (Logitech G330 Headset)' is 176400, samples per sec is 44100
16:37:30: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
16:37:30: SharedTexCapture hooked
16:37:42: Exit signal received, terminating capture
16:37:46: SharedTexCapture hooked
16:40:06: Total frames encoded: 3879, total frames duplicated: 419 (10.80%)
16:40:06: Number of frames skipped due to encoder lag: 148 (3.82%)
16:40:06: Total frames rendered: 3647, number of late frames: 61 (1.67%) (it's okay for some frames to be late)
16:40:06: 
16:40:06: Profiler time results:
16:40:06: 
16:40:06: ==============================================================
16:40:06: video thread frame - [100%] [avg time: 3.097 ms] [children: 45%] [unaccounted: 55%]
16:40:06: | scene->Preprocess - [0.0646%] [avg time: 0.002 ms]
16:40:06: | GPU download and conversion - [44.9%] [avg time: 1.391 ms] [children: 39.3%] [unaccounted: 5.59%]
16:40:06: | | flush - [10.7%] [avg time: 0.33 ms]
16:40:06: | | CopyResource - [28.5%] [avg time: 0.882 ms]
16:40:06: | | conversion to 4:2:0 - [0.194%] [avg time: 0.006 ms]
16:40:06: Convert444Thread - [100%] [avg time: 1.543 ms] [children: 99.1%] [unaccounted: 0.907%]
16:40:06: | Convert444toNV12 - [99.1%] [avg time: 1.529 ms]
16:40:06: encoder thread frame - [100%] [avg time: 4.396 ms]
16:40:06: ==============================================================
16:40:06: 
16:40:06: 
16:40:06: Profiler CPU results:
16:40:06: 
16:40:06: ==============================================================
16:40:06: video thread frame - [cpu time: avg 0.41 ms, total 1497.61 ms] [avg calls per frame: 1]
16:40:06: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:40:06: | GPU download and conversion - [cpu time: avg 0.081 ms, total 296.402 ms] [avg calls per frame: 1]
16:40:06: | | flush - [cpu time: avg 0.029 ms, total 109.201 ms] [avg calls per frame: 1]
16:40:06: | | CopyResource - [cpu time: avg 0.03 ms, total 109.2 ms] [avg calls per frame: 1]
16:40:06: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:40:06: Convert444Thread - [cpu time: avg 1.402 ms, total 5085.63 ms] [avg calls per frame: 1]
16:40:06: | Convert444toNV12 - [cpu time: avg 1.397 ms, total 5070.03 ms] [avg calls per frame: 1]
16:40:06: encoder thread frame - [cpu time: avg 1.264 ms, total 4882.83 ms] [avg calls per frame: 1]
16:40:06: ==============================================================
16:40:06: 
16:40:06: =====Stream End: 2013-12-16, 16:40:06=================================================
 

dodgepong

Administrator
Community Helper
That's not really what OBS does. OBS takes raw video data and encodes it into an h264 video stream, which is then sent over the internet via RTMP, and sometimes also saves locally as an FLV or MP4. If you disabled encoding in OBS, it would cease to do anything relevant, unless the only thing you were using it for was its projector output.
 

ThePhantom123

New Member
dodgepong said:
That's not really what OBS does. OBS takes raw video data and encodes it into an h264 video stream, which is then sent over the internet via RTMP, and sometimes also saves locally as an FLV or MP4. If you disabled encoding in OBS, it would cease to do anything relevant, unless the only thing you were using it for was its projector output.

OK. Then I just wanna ask what Bitrate I should use. Now it is on 6000kbit/s and I think that could create lag too.
 

dodgepong

Administrator
Community Helper
Are you streaming, or just recording locally? Higher bit rate doesn't really add load to the encoding process, but if you're streaming with a high bit rate, you could run into issues with dropped frames or poor viewer performance.

Having said that, you only have a dual core CPU, which isn't that great for live video encoding. You can try downscaling your resolution, and possibly changing you x264 preset to superfast or ultrafast. And if this is a local recording, you can compensate for the quality loss by increasing the bit rate even more.

Here is a guide for local recordings, if you're interested: viewtopic.php?f=18&t=2972
 

ThePhantom123

New Member
dodgepong said:
Are you streaming, or just recording locally? Higher bit rate doesn't really add load to the encoding process, but if you're streaming with a high bit rate, you could run into issues with dropped frames or poor viewer performance.

Having said that, you only have a dual core CPU, which isn't that great for live video encoding. You can try downscaling your resolution, and possibly changing you x264 preset to superfast or ultrafast. And if this is a local recording, you can compensate for the quality loss by increasing the bit rate even more.

Here is a guide for local recordings, if you're interested: http://obsproject.com/forum/viewtopic.php?f=18&t=2972

Yeah, I wanted to record locally. But it looks like that won't work, as of the lags =I
 
Top