Question / Help Disable encoding

LilyHF

New Member
To start: I'm streaming osu! on 60 FPS.
I disabled encoding in preview and it works fine, but when I try to stream, it goes apeshit.
Is there a way to disable encoding?
Thanks,
Lily.
 

LilyHF

New Member
Why thank you for the helpful yet aggressive response.
Is there a way to stop it going completely apeshit? It freezes and stuff.
 

dodgepong

Administrator
Community Helper
When you disable encoding while previewing, then it's not running the video through the encoder. This is just for conveience so that you don't put load on your computer while setting things up and previewing the video. But if you want to record anything, it has to run the video through the encoder. That's the whole point of recording...encoding video. If you were to disable encoding while trying to record a video, nothing would be recorded or streamed. You can't get a video file without encoding it.

If you could post your log, we could help you figure out why your recording is performing so poorly. http://obsproject.com/forum/viewtopic.php?f=6&t=97
 

LilyHF

New Member
OBS Log (as requested)

There you go.
Code:
00:38:39: CLR host plugin strings not found, dynamically loading 4 strings
00:38:39: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
00:38:39: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
00:38:39: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
00:38:40: Failed to initialize plugin plugins/IrcDotNet.dll
00:38:40: Failed to initialize plugin plugins/TwitchChatPlugin.dll
00:38:41: Open Broadcaster Software v0.584b - 64bit ( ^ω^)
00:38:41: -------------------------------
00:38:41: CPU Name: AMD Athlon(tm) II 170u Processor
00:38:41: CPU Speed: 2009MHz
00:38:41: Physical Memory:  2046MB Total, 690MB Free
00:38:41: stepping id: 3, model 6, family 16, type 0, extmodel 8, extfamily 0, HTT 0, logical cores 1, total cores 1
00:38:41: monitor 1: pos={0, 0}, size={1600, 900}
00:38:41: monitor 2: pos={1600, 0}, size={1366, 768}
00:38:41: Windows Version: 6.1 Build 7600 
00:38:41: Aero is Enabled
00:38:41: -------------------------------
00:38:41: OBS Modules:
00:38:41: Base Address     Module
00:38:41: 000000003F560000 OBS.exe
00:38:41: 00000000F3400000 OBSApi.dll
00:38:41: 00000000F9BD0000 CLRHostPlugin.dll
00:38:41: 00000000F7F30000 DShowPlugin.dll
00:38:41: 00000000F7F00000 GraphicsCapture.dll
00:38:41: 00000000F8120000 NoiseGate.dll
00:38:41: 00000000FAEF0000 PSVPlugin.dll
00:38:41: ------------------------------------------
00:38:41: Adapter 1
00:38:41:   Video Adapter: AMD Radeon HD 5450
00:38:41:   Video Adapter Dedicated Video Memory: 532504576
00:38:41:   Video Adapter Shared System Memory: 804515840
00:38:41:   Video Adapter Output 1: pos={0, 0}, size={1600, 900}, attached=true
00:38:41:   Video Adapter Output 2: pos={1600, 0}, size={1366, 768}, attached=true
00:38:41: =====Stream Start: 2013-11-28, 00:38:41===============================================
00:38:41:   Multithreaded optimizations: On
00:38:41:   Base resolution: 1600x900
00:38:41:   Output resolution: 1280x720
00:38:41: ------------------------------------------
00:38:41: Loading up D3D10 on AMD Radeon HD 5450...
00:38:41: ------------------------------------------
00:38:41: Audio Format: 48000hz
00:38:41: Playback device {0.0.0.00000000}.{c549f7b6-67c0-426f-b18f-8fa7d1e806da}
00:38:41: ------------------------------------------
00:38:41: Using desktop audio input: Headphones (Realtek High Definition Audio)
00:38:41: ------------------------------------------
00:38:41: Using auxilary audio input: Microphone (Realtek High Definition Audio)
00:38:41: ------------------------------------------
00:38:41: Audio Encoding: AAC
00:38:41:     bitrate: 128
00:38:41: Using graphics capture
00:38:41: Scene buffering time set to 700
00:38:41: ------------------------------------------
00:38:41: Video Encoding: x264
00:38:41:     fps: 45
00:38:41:     width: 1280, height: 720
00:38:41:     preset: veryfast
00:38:41:     profile: high
00:38:41:     keyint: 90
00:38:41:     CBR: yes
00:38:41:     CFR: no
00:38:41:     max bitrate: 3500
00:38:41:     buffer size: 3500
00:38:41: ------------------------------------------
00:38:41: MMDeviceAudioSource: Frequency for device 'Headphones (Realtek High Definition Audio)' is 384000, samples per sec is 48000
00:38:41: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
00:38:41: SharedTexCapture hooked
00:38:44: Using RTMP service: Twitch / Justin.tv
00:38:44:   Server selection: rtmp://live-lax.justin.tv/app
00:38:44:   Interface: NVIDIA nForce 10/100 Mbps Ethernet  (ethernet, 100 mbps)
00:38:45: Completed handshake with rtmp://live-lax.justin.tv/app in 443 ms.
00:38:46: SO_SNDBUF was at 8192
00:38:46: SO_SNDBUF is now 65536
00:38:46: Total frames encoded: 126, total frames duplicated: 71 (56.35%)
00:38:46: Number of frames skipped due to encoder lag: 71 (56.35%)
00:38:46: Total frames rendered: 60, number of late frames: 1 (1.67%) (it's okay for some frames to be late)
00:38:46: RTMPPublisher::SocketLoop: Graceful loop exit
00:38:46: Number of times waited to send: 0, Waited for a total of 0 bytes
00:38:46: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
00:38:46: Number of bytes sent: 0
00:38:46: 
00:38:46: Profiler time results:
00:38:46: 
00:38:46: ==============================================================
00:38:46: video thread frame - [100%] [avg time: 2.653 ms] [children: 66.5%] [unaccounted: 33.5%]
00:38:46: | scene->Preprocess - [0.0377%] [avg time: 0.001 ms]
00:38:46: | GPU download and conversion - [66.5%] [avg time: 1.764 ms] [children: 116%] [unaccounted: -49.9%]
00:38:46: | | flush - [8.59%] [avg time: 0.228 ms]
00:38:46: | | CopyResource - [1.09%] [avg time: 0.029 ms]
00:38:46: | | conversion to 4:2:0 - [107%] [avg time: 2.832 ms] [children: 106%] [unaccounted: 0.792%]
00:38:46: | | | Convert444toNV12 - [106%] [avg time: 2.811 ms]
00:38:46: encoder thread frame - [100%] [avg time: 36.54 ms]
00:38:46: ==============================================================
00:38:46: 
00:38:46: 
00:38:46: Profiler CPU results:
00:38:46: 
00:38:46: ==============================================================
00:38:46: video thread frame - [cpu time: avg 0.52 ms, total 31.2 ms] [avg calls per frame: 1]
00:38:46: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:38:46: | GPU download and conversion - [cpu time: avg 0.52 ms, total 31.2 ms] [avg calls per frame: 1]
00:38:46: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:38:46: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
00:38:46: | | conversion to 4:2:0 - [cpu time: avg 1.3 ms, total 31.2 ms] [avg calls per frame: 0]
00:38:46: | | | Convert444toNV12 - [cpu time: avg 1.3 ms, total 31.2 ms] [avg calls per frame: 0]
00:38:46: encoder thread frame - [cpu time: avg 26.221 ms, total 2464.82 ms] [avg calls per frame: 1]
00:38:46: ==============================================================
00:38:46: 
00:38:46: =====Stream End: 2013-11-28, 00:38:46=================================================
00:38:49: CLR host plugin instance deleted; removing dynamically loaded localization strings
 

dodgepong

Administrator
Community Helper
No need to make a new topic, just post the logs here.

Actually I'll just go ahead and move in the post.
 

dodgepong

Administrator
Community Helper
Your encoding settings are way too high for your CPU. You only have a single-core CPU, which is extremely underpowered for live video encoding.

Try downscaling your resolution by at least 3x, lower frame rate to 25fps or 20fps, and use the ultrafast x264 preset. If that still is really laggy for you, then I don't think there's anything you can do short of buying a new computer. I honestly doubt you can encode anything with that CPU.
 

LilyHF

New Member
dodgepong said:
Your encoding settings are way too high for your CPU. You only have a single-core CPU, which is extremely underpowered for live video encoding.

Try downscaling your resolution by at least 3x, lower frame rate to 25fps or 20fps, and use the ultrafast x264 preset. If that still is really laggy for you, then I don't think there's anything you can do short of buying a new computer.

Thanks, I messed with it and was able to keep 30 frames :P
 
Top