Question / Help Assassin's Creed IV: Black screen

nyanko

New Member
Hi,

I was playing and recording Assassin's Creed IV from a long time. I didn't stream it, just recorded to files with OBS. On Tuesday 17.XII I got still OBS v0.583b, but then some crushes began so I updated it to v0.591b and (without closing OBS) I recorded another session successfully. But the other day OBS sadly started to record black screen instead of the game, it still records audio though. I've checked log file trying to compare it with some old one and I found the difference in one place.

Proper report should look f.e. like this:

Code:
23:51:02: Audio Encoding: AAC
23:51:02:     bitrate: 320
23:51:02: Using graphics capture
23:51:02: Scene buffering time set to 400

But now it always shows a warning:

Code:
23:41:58: Audio Encoding: AAC
23:41:58:     bitrate: 320
23:41:58: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
23:41:58: Scene buffering time set to 400

And there is one more thing - there was a new patch update in Assassin's before the failed recording. I hope that the patch didn't brake the game visibility for OBS... Anyway what do you think? If you can help, I will be more than happy.

Here is all the log from today with unsuccessfully record attempt:

Code:
23:41:58: Open Broadcaster Software v0.591b - 32bit (´・ω・`)
23:41:58: -------------------------------
23:41:58: CPU Name: AMD Phenom(tm) II X4 965 Processor
23:41:58: CPU Speed: 3422MHz
23:41:58: Physical Memory:  4095MB Total, 4095MB Free
23:41:58: stepping id: 3, model 4, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
23:41:58: monitor 1: pos={0, 0}, size={1366, 768}
23:41:58: Windows Version: 6.1 Build 7601 S
23:41:58: Aero is Disabled
23:41:58: -------------------------------
23:41:58: OBS Modules:
23:41:58: Base Address     Module
23:41:58: 00DB0000         OBS.exe
23:41:58: 5EE90000         OBSApi.dll
23:41:58: 61FF0000         DShowPlugin.dll
23:41:58: 61D40000         GraphicsCapture.dll
23:41:58: 61D20000         NoiseGate.dll
23:41:58: 61D00000         PSVPlugin.dll
23:41:58: ------------------------------------------
23:41:58: Adapter 1
23:41:58:   Video Adapter: AMD Radeon HD 7700 Series
23:41:58:   Video Adapter Dedicated Video Memory: 1052016640
23:41:58:   Video Adapter Shared System Memory: 3242885120
23:41:58:   Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
23:41:58: =====Stream Start: 2013-12-19, 23:41:58===============================================
23:41:58:   Multithreaded optimizations: On
23:41:58:   Base resolution: 1366x768
23:41:58:   Output resolution: 1364x768
23:41:58: ------------------------------------------
23:41:58: Loading up D3D10 on AMD Radeon HD 7700 Series (Adapter 1)...
23:41:58: ------------------------------------------
23:41:58: Audio Format: 48000hz
23:41:58: Playback device Default
23:41:58: ------------------------------------------
23:41:58: Using desktop audio input: Głośniki (Creative SB Audigy 2 (WDM))
23:41:58: ------------------------------------------
23:41:58: Using auxilary audio input: Mikrofon (C-Media USB Audio Device   )
23:41:58: ------------------------------------------
23:41:58: Audio Encoding: AAC
23:41:58:     bitrate: 320
23:41:58: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
23:41:58: Scene buffering time set to 400
23:41:58: ------------------------------------------
23:41:58: Video Encoding: x264
23:41:58:     fps: 25
23:41:58:     width: 1364, height: 768
23:41:58:     preset: veryfast
23:41:58:     profile: high
23:41:58:     keyint: 250
23:41:58:     CBR: no
23:41:58:     CFR: yes
23:41:58:     max bitrate: 4000
23:41:58:     buffer size: 4000
23:41:58:     quality: 10
23:41:58: ------------------------------------------
23:41:58: MMDeviceAudioSource: Frequency for device 'Głośniki (Creative SB Audigy 2 (WDM))' is 384000, samples per sec is 48000
23:41:58: MMDeviceAudioSource: Frequency for device 'Mikrofon (C-Media USB Audio Device   )' is 176400, samples per sec is 44100
23:42:10: Total frames encoded: 304, total frames duplicated: 0 (0.00%)
23:42:10: Total frames rendered: 308, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
23:42:11: 
23:42:11: Profiler time results:
23:42:11: 
23:42:11: ==============================================================
23:42:11: video thread frame - [100%] [avg time: 0.732 ms] [children: 59.3%] [unaccounted: 40.7%]
23:42:11: | scene->Preprocess - [0.137%] [avg time: 0.001 ms]
23:42:11: | GPU download and conversion - [59.2%] [avg time: 0.433 ms] [children: 56.8%] [unaccounted: 2.32%]
23:42:11: | | flush - [55.3%] [avg time: 0.405 ms]
23:42:11: | | CopyResource - [1.23%] [avg time: 0.009 ms]
23:42:11: | | conversion to 4:2:0 - [0.273%] [avg time: 0.002 ms]
23:42:11: Convert444Threads - [100%] [avg time: 0.998 ms] [children: 99.3%] [unaccounted: 0.701%]
23:42:11: | Convert444toNV12 - [99.3%] [avg time: 0.991 ms]
23:42:11: encoder thread frame - [100%] [avg time: 1.537 ms]
23:42:11: ==============================================================
23:42:11: 
23:42:11: 
23:42:11: Profiler CPU results:
23:42:11: 
23:42:11: ==============================================================
23:42:11: video thread frame - [cpu time: avg 0.05 ms, total 15.6 ms] [avg calls per frame: 1]
23:42:11: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:11: | GPU download and conversion - [cpu time: avg 0.05 ms, total 15.6 ms] [avg calls per frame: 1]
23:42:11: | | flush - [cpu time: avg 0.05 ms, total 15.6 ms] [avg calls per frame: 1]
23:42:11: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:11: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:11: Convert444Threads - [cpu time: avg 0.846 ms, total 499.202 ms] [avg calls per frame: 2]
23:42:11: | Convert444toNV12 - [cpu time: avg 0.846 ms, total 499.202 ms] [avg calls per frame: 2]
23:42:11: encoder thread frame - [cpu time: avg 0.955 ms, total 280.801 ms] [avg calls per frame: 1]
23:42:11: ==============================================================
23:42:11: 
23:42:11: =====Stream End: 2013-12-19, 23:42:11=================================================
 

dodgepong

Administrator
Community Helper
Do you have any other overlay programs running, like FRAPS? It seems that you're getting an Access Denied error when trying to hook the game. Are you running OBS as administrator?
 

nyanko

New Member
So something suddenly started to block OBS's access to the game's picture right? But no other overlay programs running and no new software installed in a few last weaks. I've just tested everything once again as administrator, it's still no vision. I have to mention that another game played in full screen mode is recorded correctly by OBS. Now I'm seriously worried that the latest AC patch is the culprit, but there is no negative signs from other users. Is there something else I can do with OBS?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I just tried it with the latest patch and the latest version of OBS, and didn't encounter any issue. I also have a very similar model of video adapter, the 7950. I can't help but feel something else is going on in this case.
 

nyanko

New Member
I think the game and Uplay updated in 18.XII, additionally it downloaded new DLC Freedom Cry. Uplay had some "minor bug fixes" in ver 4.2.1. Thank you Jim anyway :) It's good to know how it works on similar hardware.

Okay, gentlemen. Now it seems to everything is working correctly. And that is what I've done: I've uninstalled OBS (it was just simple uninstall, nothing like register clearing or something like that) and after that I've downloaded and installed OBS v0.584b. The game is recording with video :) Maybe something went wrong with my previous OBS update.
 
Top