Question / Help Pixelated Stream and Bit Rate Question.

jazzathepro

New Member
Hello,
So I have been streaming Arma 2 : DayZ Mod recently and I have come to notice watching my streams back that it is very pixelated/blocky on movement. I am streaming at 720p 30fps @ 2000 bitrate using CBR. The box is green constantly and I do not drop any frames. My upload speed is 5mpbs according to "speedtest.net"
My computer specs
i7 3770k 3.6ghz
GTX 770
8GB Ram
128GB SSD

Here is the log for my stream.
Code:
17:17:07: CUDA loaded successfully
17:17:07: 1 CUDA capable devices found
17:17:07: [ GPU #0 - < GeForce GTX 770 > has Compute SM 3.0, NVENC Available ]
17:43:14: Open Broadcaster Software v0.651b - 64bit ( ^ω^)
17:43:14: -------------------------------
17:43:14: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
17:43:14: CPU Speed: 3500MHz
17:43:14: Physical Memory:  8077MB Total, 3793MB Free
17:43:14: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
17:43:14: monitor 1: pos={0, 0}, size={1920, 1080}
17:43:14: Windows Version: 6.1 Build 7601 S
17:43:14: Aero is Disabled
17:43:14: -------------------------------
17:43:14: OBS Modules:
17:43:14: Base Address     Module
17:43:14: 000000003FE70000 OBS.exe
17:43:14: 00000000EA290000 OBSApi.dll
17:43:14: 00000000F70D0000 DShowPlugin.dll
17:43:14: 00000000EB660000 GraphicsCapture.dll
17:43:14: 00000000F06C0000 NoiseGate.dll
17:43:14: 00000000F0200000 PSVPlugin.dll
17:43:14: 00000000ED780000 scenesw.dll
17:43:14: ------------------------------------------
17:43:14: Adapter 1
17:43:14:   Video Adapter: NVIDIA GeForce GTX 770
17:43:14:   Video Adapter Dedicated Video Memory: 2088435712
17:43:14:   Video Adapter Shared System Memory: 2147807232
17:43:14:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:43:14: ------------------------------------------
17:43:14: Adapter 2
17:43:14:   Video Adapter: Intel(R) HD Graphics 4000
17:43:14:   Video Adapter Dedicated Video Memory: 67108864
17:43:14:   Video Adapter Shared System Memory: 1711276032
17:43:14: =====Stream Start: 2015-04-29, 17:43:14===============================================
17:43:14:   Multithreaded optimizations: On
17:43:14:   Base resolution: 1920x1080
17:43:14:   Output resolution: 1280x720
17:43:14: ------------------------------------------
17:43:14: Loading up D3D10 on NVIDIA GeForce GTX 770 (Adapter 1)...
17:43:14: ------------------------------------------
17:43:14: Audio Format: 48000 Hz
17:43:14: ------------------------------------------
17:43:14: Audio Channels: 2 Ch
17:43:15: Playback device {0.0.0.00000000}.{91663a68-a04e-4198-aa1c-17da21afd744}
17:43:15: ------------------------------------------
17:43:15: Using desktop audio input: Headset Earphone (Razer Kraken 7.1)
17:43:15: Global Audio time adjust: 0
17:43:15: ------------------------------------------
17:43:15: Using auxilary audio input: Headset Microphone (Razer Kraken 7.1)
17:43:15: Mic time offset: 0
17:43:15: ------------------------------------------
17:43:15: Audio Encoding: AAC
17:43:15:     bitrate: 128
17:43:15: Using graphics capture
17:43:15: Using anti-cheat hooking for game capture
17:43:15: Trying to hook process: ArmA2OA.exe
17:43:15: Scene buffering time set to 700
17:43:15: ------------------------------------------
17:43:15: Video Encoding: x264
17:43:15:     fps: 30
17:43:15:     width: 1280, height: 720
17:43:15:     preset: veryfast
17:43:15:     profile: main
17:43:15:     keyint: 60
17:43:15:     CBR: yes
17:43:15:     CFR: yes
17:43:15:     max bitrate: 2000
17:43:15:     buffer size: 2000
17:43:15: ------------------------------------------
17:43:15: Audio timestamp for device 'Headset Microphone (Razer Kraken 7.1)' was behind target timestamp by 5323399
17:43:16: Using RTMP service: Twitch
17:43:16:   Server selection: rtmp://live-lhr.twitch.tv/app
17:43:16:   Interface: Broadcom NetLink (TM) Gigabit Ethernet (ethernet, 100 mbps)
17:43:17: Completed handshake with rtmp://live-lhr.twitch.tv/app in 901 ms.
17:43:18: SO_SNDBUF was at 8192
17:43:18: SO_SNDBUF is now 65536
17:43:37: SharedTexCapture hooked
17:55:31: RTMPPublisher::SocketLoop: Stalled for 4482 ms to write 270943 bytes (buffer: 0 / 272384), unstable connection?
17:56:55: RTMPPublisher::SocketLoop: Stalled for 1552 ms to write 270746 bytes (buffer: 0 / 272384), unstable connection?
17:57:00: RTMPPublisher::SocketLoop: Stalled for 5070 ms to write 269155 bytes (buffer: 0 / 272384), unstable connection?
17:57:55: RTMPPublisher::SocketLoop: Stalled for 2744 ms to write 272360 bytes (buffer: 0 / 272384), unstable connection?
17:59:34: RTMPPublisher::SocketLoop: Stalled for 4594 ms to write 271917 bytes (buffer: 0 / 272384), unstable connection?
18:07:09: RTMPPublisher::SocketLoop: Stalled for 2110 ms to write 271008 bytes (buffer: 0 / 272384), unstable connection?
18:07:17: RTMPPublisher::SocketLoop: Stalled for 4139 ms to write 271795 bytes (buffer: 0 / 272384), unstable connection?
18:07:34: RTMPPublisher::SocketLoop: Stalled for 9114 ms to write 270653 bytes (buffer: 0 / 272384), unstable connection?
18:07:50: RTMPPublisher::SocketLoop: Stalled for 9327 ms to write 270243 bytes (buffer: 0 / 272384), unstable connection?
18:07:53: RTMPPublisher::SocketLoop: Stalled for 2663 ms to write 271554 bytes (buffer: 0 / 272384), unstable connection?
18:09:18: RTMPPublisher::SocketLoop: Stalled for 4337 ms to write 270617 bytes (buffer: 0 / 272384), unstable connection?
18:09:21: RTMPPublisher::SocketLoop: Stalled for 2863 ms to write 268865 bytes (buffer: 0 / 272384), unstable connection?
18:09:23: RTMPPublisher::SocketLoop: Stalled for 1768 ms to write 270780 bytes (buffer: 0 / 272384), unstable connection?
18:09:33: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:09:33:   New Scene
18:09:33: Using text output
18:09:33: Using bitmap image
18:09:33: Using graphics capture
18:09:33: Using anti-cheat hooking for game capture
18:09:33: Trying to hook process: ArmA2OA.exe
18:09:34: SharedTexCapture hooked
18:09:42: RTMPPublisher::SocketLoop: Got hSendBacklogEvent but WSAIoctl() returned 10004
18:09:42: RTMPPublisher::SocketLoop: Received FD_CLOSE, 19027 ms since last send (buffer: 271647 / 272384)
18:09:42: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 10053
18:09:42: Total frames encoded: 47609, total frames duplicated: 1 (0.00%)
18:09:42: Total frames rendered: 47634, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
18:09:42:
18:09:42: Profiler time results:
18:09:42:
18:09:42: ==============================================================
18:09:42: video thread frame - [100%] [avg time: 0.77 ms] [children: 89%] [unaccounted: 11%]
18:09:42: | scene->Preprocess - [0.13%] [avg time: 0.001 ms]
18:09:42: | GPU download and conversion - [88.8%] [avg time: 0.684 ms] [children: 86.5%] [unaccounted: 2.34%]
18:09:42: | | flush - [85.6%] [avg time: 0.659 ms]
18:09:42: | | CopyResource - [0.649%] [avg time: 0.005 ms]
18:09:42: | | conversion to 4:2:0 - [0.26%] [avg time: 0.002 ms]
18:09:42: Convert444Threads - [100%] [avg time: 0.772 ms] [children: 99.6%] [unaccounted: 0.389%]
18:09:42: | Convert444toNV12 - [99.6%] [avg time: 0.769 ms]
18:09:42: encoder thread frame - [100%] [avg time: 1.187 ms] [children: 3.71%] [unaccounted: 96.3%]
18:09:42: | sending stuff out - [3.71%] [avg time: 0.044 ms]
18:09:42: ==============================================================
18:09:42:
18:09:42:
18:09:42: Profiler CPU results:
18:09:42:
18:09:42: ==============================================================
18:09:42: video thread frame - [cpu time: avg 0.058 ms, total 2808.02 ms] [avg calls per frame: 1]
18:09:42: | scene->Preprocess - [cpu time: avg 0 ms, total 15.601 ms] [avg calls per frame: 1]
18:09:42: | GPU download and conversion - [cpu time: avg 0.056 ms, total 2683.22 ms] [avg calls per frame: 1]
18:09:42: | | flush - [cpu time: avg 0.055 ms, total 2636.42 ms] [avg calls per frame: 1]
18:09:42: | | CopyResource - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
18:09:42: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:09:42: Convert444Threads - [cpu time: avg 0.328 ms, total 31325 ms] [avg calls per frame: 2]
18:09:42: | Convert444toNV12 - [cpu time: avg 0.326 ms, total 31075.4 ms] [avg calls per frame: 2]
18:09:42: encoder thread frame - [cpu time: avg 0.779 ms, total 37128.2 ms] [avg calls per frame: 1]
18:09:42: | sending stuff out - [cpu time: avg 0.051 ms, total 2449.22 ms] [avg calls per frame: 1]
18:09:42: ==============================================================
18:09:42:
18:09:42: =====Stream End: 2015-04-29, 18:09:42=================================================
18:09:43: ~RTMPPublisher: Packet flush completed in 122 ms
18:09:43: ~RTMPPublisher: Send thread terminated in 3 ms
18:09:43: ~RTMPPublisher: Socket thread terminated in 0 ms
18:09:43: Average send payload: 7781 bytes, average send interval: 29 ms
18:09:43: Number of times waited to send: 40, Waited for a total of 136039 bytes
18:09:43: Number of b-frames dropped: 404 (0.85%), Number of p-frames dropped: 888 (1.9%), Total 1292 (2.7%)
18:09:43: Number of bytes sent: 408234597

I cant past the whole log due to max chars
 
Hey jazzathepro,

So I turned your log in the Analyzer of this website, its made to analyze the logs. I for myself have no idea how to read them because im only helping here as hobby, let us go over the Log:
________________________________________________________________________________________________
Aero is disabled

Aero seems to be disabled, consider enabling it unless using monitor capture.

Multiple video cards detected

If you are having problems and are using a laptop, see this thread for advice.

If you are using SLI or Crossfire, you may need to disable it for compatibility with OBS.

Possible slow server

The server you are streaming to (rtmp://live-lhr.twitch.tv/app) took 901 ms to connect. This may mean your connection or the server is slow, or the server is far away from you. If you are using twitch.tv, you may want to try using JTVPing to find an optimal server.

Dropped frames detected

2.7% of your frames were dropped due to poor network conditions. Frames are dropped when data can not be sent fast enough to the server you have selected. This is caused by trying to stream at too high of a bitrate, or by the streaming server you selected not being able to accept the data at the rate you are sending.

Try switching servers, especially if you are using twitch.tv. As a test, you could also try streaming to a different provider to check whether the problem is on your end or not.

Note that some ISPs will temporarily increase your upload speed at the start of a transfer - if you only start to drop frames after 30 - 60 seconds, your ISP is likely doing this and you will need to use a lower bitrate.

Finally, if you are using a wireless connection, keep in mind that interference from other radio sources can cause your connection to stutter and drop frames. A wired connection is strongly recommended when streaming.

See https://obsproject.com/forum/viewtopic.php?f=5&t=8870 for more advice on how to fix dropped frames.

4 issues found (1 major, 3 minor).
____________________________________________________________________________________________________

  • I see here is that you use 2 graphic cards, are u playing on a Laptop?
  • Also try to take another Server thats not so far away, that could increase the performance also
  • And like it seems, your dropping Frames.

The Analyzer has this thread:
(https://obsproject.com/forum/threads/laptop-black-screen-when-capturing-read-here-first.5965/) linked in it. Try it.

Also carefully read the "Dropped frames detected" Part above.

If nothing of this helps, report back.

regards, Felix
 
My motherboard has intergrated graphics and I have a GPU (GTX 770) which is selected
uUMq1ZF.png


I use windows classic so I just disable aero (Does that effect anything?)

I only seemed to drop frames just as the stream started I think but I never dropped any after that it was a constant green box.

Although I do have a question this is my upload speed
4334914312.png


I can stream at 2000 bitrate right?

I am really am confused and the picture above is wrong for some reason it is meant to say 5.48 Mbps not Mb/s
 
If you disable aero your FPS are getting sligthly better.
The Upload speed is fine, the picture is just bugged I tried it myself.
Have you tried everything I told in the last post? (Because ur answer is pretty fast)
 
Yea, I went through what you said and I chose the closest server (35ms), I also disabled the motherboard graphics. And I checked again and I'm not dropping frames (Was just that 1/2 seconds before)
 
Should I change my preset or something? Should the bitrate in the bottom right be at 2000 constantly? Or should it bounce a little by like 20's or something?
 
Okay funny thing. More stuff about ur frames and performance, still nothing about why it is so blocky
It says something I understand, at least.
_____________________________________________________________________________________________________#

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).

Hook conflict detected
Game capture detected a hook conflict but was unable to determine which application was responsible. Try closing any other applications that may be injecting into your game, such as FRAPS, D3DGear, MSI Afterburner, AMD Raptr / Gaming Evolved, Action!, TeamSpeak/Mumble Overlays or any other kind of FPS monitor or overlay program
___________________________________________________________________________________________________

First, whatever you want to Monitor capture (except it is your desktop) dont do that. It will lag as hell and eat your Frames.
Second, whatever your hooking causes hard lags aswell. Maybe even has something to do with your blocky stuff.

Its still says your Server you connect to sucks, that may be the Problem why your Stream is having the issues.
 
So, Regarding the Monitor Capture, I'm using "game capture" to stream the game and do not have any monitor captures enable and even so it would only effect my fps which I get 60+ in game.

Regarding the Hook Conflict, I have no idea what is connected to it. I have the steam overlay active which probably causes it but still thats nothing down to stream quality.

Regarding the Server Connection, I do tests and it seems fine
s58hwCQ.png


Im using OBS 64 bit ^^
 
Oh bro, I think I solved it. So I tried streaming some minecraft at the same settings and all and the box is like green and flashes yellow for like a second and the bitrate is jumping from like 1800 to 2200 each time it flashes colour. Could you help me out here?
 
Thats very weird. It always says ur ping to the Twitch server is a problem. Can you try Streaming with the best settings for you on Hitbox.tv or something? If it still makes pixel and blocky things, I look into it tomorrow (I need to get some sleep)

#Edit, saw your latest Post now, thats something huge, but I will look into it tommorrow if not someone comes up with an idea tonight

regards, Felix
 
The Monitor Capture warning is coming from one of your scenes that has 7 active monitor caps, and three Window Captures. Possibly a testing scene, or for a different game. You switched to it briefly toward the end of that log.

Sadly, the problem is more fundamental. The way they handle grass in DayZ destroys video encoders.
You need a significantly higher bitrate-per-pixel (bpp) density for DayZ to look less-bad. Most of the higher-end streamers (like Partners) boost the bitrate directly, and use a higher quality encoding preset via a standalone encoding machine.

All is not lost though. You may need to increase your downscale to 540p or 480p, to get that better bpp density. Also, with your CPU it's very likely that you can run on Faster or Fast (or maybe even Medium) especially with the downscale freeing up some CPU. Make sure to monitor your CPU usage and temperatures though, as that can get VERY heavy and result in a lot more heat than you might expect. Go one preset step at a time, and test for 10-15 minutes each time with actual gameplay to let the connection and encoding stabilize.

Also, turning Aero on is strongly advised. It greatly speeds up Window Captures, and slightly speeds up Game Captures. The *only* time to have it off is if you're using a Monitor Capture on Win7, which makes it very slightly less terribad and slow. Better option than Monitor Cap in cases where it's needed is to just use a Game Capture on the DWM process.

The rest of that log looks fine, aside from the 900ms connect time; and that may have been a one-off.
 
Thank you very much for the feedback,

I am going to go through and try each one and see what is best. The monitor capture is probably coming from a CLR Browser for my follower popup or maybe the chat addon which is a window capture.
 
It still looks blurry no matter what I do. Should I try the NVIDIA NVENC encoder? Apparently to my friend the Medium Offset Looks far worse but I was still get 60fps+

P.S : Server I'm on has no grass enabled. Will it still fck the encoder?
 
Back
Top