Question / Help SAMP Streaming

Cashew

New Member
Hi there. I recently reinstalled Windows on my SSD. I tried to set up my OBS with SAMP and I was getting the black screen issue. I could stream SAMP fine before this by using Game Capture.

Any ideas?


I'm using the same game folder
I'm using the 1.0 executable
I do not wish to play in windowed mode

Thanks!
 

Cashew

New Member
My bad.

Code:
23:42:13: Open Broadcaster Software v0.637b - 32bit (´・ω・`)
23:42:13: -------------------------------
23:42:13: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
23:42:13: CPU Speed: 3500MHz
23:42:13: Physical Memory:  4095MB Total, 4095MB Free
23:42:13: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
23:42:13: monitor 1: pos={0, 0}, size={1920, 1080}
23:42:13: monitor 2: pos={-1920, 0}, size={1920, 1080}
23:42:13: Windows Version: 6.1 Build 7601 S
23:42:13: Aero is Disabled
23:42:13: -------------------------------
23:42:13: OBS Modules:
23:42:13: Base Address     Module
23:42:13: 00930000         OBS.exe
23:42:13: 60F20000         OBSApi.dll
23:42:13: 62BB0000         DShowPlugin.dll
23:42:13: 62FE0000         GraphicsCapture.dll
23:42:13: 62B80000         NoiseGate.dll
23:42:13: 62B60000         PSVPlugin.dll
23:42:13: ------------------------------------------
23:42:13: Adapter 1
23:42:13:   Video Adapter: AMD Radeon HD 7900 Series
23:42:13:   Video Adapter Dedicated Video Memory: 3202506752
23:42:13:   Video Adapter Shared System Memory: 1092395008
23:42:13:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
23:42:13:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
23:42:13: =====Stream Start: 2014-10-13, 23:42:13===============================================
23:42:13:   Multithreaded optimizations: On
23:42:13:   Base resolution: 1920x1080
23:42:13:   Output resolution: 1920x1080
23:42:13: ------------------------------------------
23:42:13: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
23:42:13: ------------------------------------------
23:42:13: Audio Format: 48000 Hz
23:42:13: ------------------------------------------
23:42:13: Audio Channels: 2 Ch
23:42:13: Playback device {0.0.0.00000000}.{6623bc87-ccbf-484f-8d7e-db4f53849cc1}
23:42:13: ------------------------------------------
23:42:13: Using desktop audio input: Speakers (Siberia V2 Illuminated)
23:42:13: Global Audio time adjust: 0
23:42:13: ------------------------------------------
23:42:13: Using auxilary audio input: Microphone (Blue Snowball )
23:42:13: Mic time offset: 0
23:42:13: ------------------------------------------
23:42:13: Audio Encoding: AAC
23:42:13:     bitrate: 128
23:42:13: Using graphics capture
23:42:13: Trying to hook process: gta_sa.exe
23:42:13: Scene buffering time set to 700
23:42:13: ------------------------------------------
23:42:13: Video Encoding: x264
23:42:13:     fps: 30
23:42:13:     width: 1920, height: 1080
23:42:13:     preset: veryfast
23:42:13:     profile: main
23:42:13:     keyint: 60
23:42:13:     CBR: yes
23:42:13:     CFR: yes
23:42:13:     max bitrate: 1000
23:42:13:     buffer size: 1000
23:42:13: ------------------------------------------
23:42:53: FlushBufferedVideo: Flushing 5 packets over 133 ms
23:42:53: Total frames encoded: 1182, total frames duplicated: 24 (2.03%)
23:42:53: Total frames rendered: 1182, number of late frames: 4 (0.34%) (it's okay for some frames to be late)
23:42:53: 
23:42:53: Profiler time results:
23:42:53: 
23:42:53: ==============================================================
23:42:53: video thread frame - [100%] [avg time: 1.064 ms] [children: 33%] [unaccounted: 67%]
23:42:53: | scene->Preprocess - [0.094%] [avg time: 0.001 ms]
23:42:53: | GPU download and conversion - [32.9%] [avg time: 0.35 ms] [children: 10.3%] [unaccounted: 22.6%]
23:42:53: | | flush - [9.4%] [avg time: 0.1 ms]
23:42:53: | | CopyResource - [0.752%] [avg time: 0.008 ms]
23:42:53: | | conversion to 4:2:0 - [0.188%] [avg time: 0.002 ms]
23:42:53: Convert444Threads - [100%] [avg time: 0.925 ms] [children: 99.5%] [unaccounted: 0.541%]
23:42:53: | Convert444toNV12 - [99.5%] [avg time: 0.92 ms]
23:42:53: encoder thread frame - [100%] [avg time: 1.653 ms] [children: 0.121%] [unaccounted: 99.9%]
23:42:53: | sending stuff out - [0.121%] [avg time: 0.002 ms]
23:42:53: ==============================================================
23:42:53: 
23:42:53: 
23:42:53: Profiler CPU results:
23:42:53: 
23:42:53: ==============================================================
23:42:53: video thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: Convert444Threads - [cpu time: avg 0.66 ms, total 1528.81 ms] [avg calls per frame: 2]
23:42:53: | Convert444toNV12 - [cpu time: avg 0.653 ms, total 1513.21 ms] [avg calls per frame: 2]
23:42:53: encoder thread frame - [cpu time: avg 1.192 ms, total 1404.01 ms] [avg calls per frame: 1]
23:42:53: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:42:53: ==============================================================
23:42:53: 
23:42:53: =====Stream End: 2014-10-13, 23:42:53=================================================
23:43:06: Terminating 0x5840


Last game capture log:
2014-10-13, 23:42:13: we're booting up: 
23:42:13: CaptureThread: attached to process gta_sa.exe
23:42:13: D3D9 Present
23:42:13: DirectDraw Present
23:42:13: (half life scientist) everything..  seems to be in order
23:42:17: D3D9EndScene called
23:42:17: successfully set up d3d9 hooks
23:42:17: D3D9Present called
 

Cashew

New Member
Sorry to bump again but I've got a nicely sized audience who really like my SAMP streams and I'm getting messages every day about when I'm going to be streaming. Anything? :/
 
I use to have to ALT-Enter then ALT-Enter again in SAMP to get it to work. I don't know if that will solve your issue but that's all i can think of right now.
 
could you try somethings for me, I am going by memory when I used to play so bare with me. Now give this is a try

go to Documents - GTA San Andreas User Files - find gta_sa.set - move it to your desktop (don't delete)

Then launch SAMP before opening up OBS.

See if you can add it to game source

If SAMP doesn't launch, put the gta_sa.set back in the folder you removed it from.

Another thing would add a d3d9.dll to your GTASA folder but i heard some servers have blocked the use of that file for SAMP. There are tons of videos out there regarding GTASA/SAMP and d3d9.dll. I will add a download link here for the file (if this is against the rules MODS, please remove link) and you would just put it in your GTASA game folder where the game is installed.

Now if this doesn't work just remove it and if it puts your game in window mode, just ALT-ENTER. It might reset your resolution aswell.

d3d9.dll - https://drive.google.com/file/d/0B153Tc1A3h2PX1dLanJjWW1VOEU/view?usp=sharing
 
Last edited:
Top