Auto-Hook for Gamecapture

Bensam123

Member
This is probably already on the list, but could we get a auto-hook for whatever program is in the foreground for game capture like with dxtory? I know it would probably be asking a lot to get something as robust as DXtory out of the door, but it would be really nice. As well as application specific options.

I really like DXtorys FPS counter with capture FPS counter and color change when it's capturing. Quite helpful as far as having information available when you need it.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
FPS counters and stuff in game aren't easy, but something I will try to get in eventually. As for capturing whatever's in the foreground, hmm, maybe, I'll look into it.
 

Bensam123

Member
Yeah, it's really handy... It means you really don't have to mess with DXtory at all once it's open. It just sits in the system tray all the time (although it causes flash player to crash).
 

JoKiv

New Member
It seems Xsplit has come up with Gamecaster which will do as Bensam123 requested. Auto hooking to active window/screen if it has game capture compatible content. Still I would prefer this as optional feature.
 

Anonanon

Member
I want to post to support OP on auto hook for game capture.

Everytime I want to stream Counter-Strike Global Offensive, I have to run the game, fullscreen alt tab, OBS preview, enable preview output, click 1:1 scale preview, go into game capture, pick CS:GO, alt tab back in the game (Source engine often crashes here), confirm that the game hook worked correctly, alt tab again to desktop, stop previewing, start streaming, disable preview output, alt tab back in game and hope it doesn't crash again...

As you can see not only is it counter intuitive (OBS never remembers my preference for 1:1 preview scale, thanks OBS), but it is extremely irritating from both OBS' and Source Engine. Everytime I do skip the whole game hook check procedure, someone will message me much later saying "dude your stream is black".
 

dacoder

Member
I want to post to support OP on auto hook for game capture.

Everytime I want to stream Counter-Strike Global Offensive, I have to run the game, fullscreen alt tab, OBS preview, enable preview output, click 1:1 scale preview, go into game capture, pick CS:GO, alt tab back in the game (Source engine often crashes here), confirm that the game hook worked correctly, alt tab again to desktop, stop previewing, start streaming, disable preview output, alt tab back in game and hope it doesn't crash again...

As you can see not only is it counter intuitive (OBS never remembers my preference for 1:1 preview scale, thanks OBS), but it is extremely irritating from both OBS' and Source Engine. Everytime I do skip the whole game hook check procedure, someone will message me much later saying "dude your stream is black".

If its not saving a setting, that is a bug. And you have one monitor i assume? With two its ez-pz, just start it up, and hit f12.
 

Anonanon

Member
If its not saving a setting, that is a bug. And you have one monitor i assume? With two its ez-pz, just start it up, and hit f12.
No, I have 2 monitors. You still need to be alt tabbed because it's fullscreen exclusive. And no I can't use fullscreen windowed because my game would be locked to desktop 60hz (my CSGO uses higher refresh rate).

I don't know if OBS not remembering 1:1 preview is a bug, would like an official response to this.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Sorry, I fixed the 1:1 preview thing, actually didn't occur to us to even save it at the time it appears: https://github.com/jp9000/OBS/commit/c532ffb

As for game capture, the new version of game capture in the rewrite will fix these fundamental problems -- I know it sucks to ask you guys to wait, but I just want to avoid spending too much time on code that will eventually be deprecated if I can avoid it. The new version of game capture will be safer and hook more intelligently.
 

Anonanon

Member
Sorry, I fixed the 1:1 preview thing, actually didn't occur to us to even save it at the time it appears: https://github.com/jp9000/OBS/commit/c532ffb

As for game capture, the new version of game capture in the rewrite will fix these fundamental problems -- I know it sucks to ask you guys to wait, but I just want to avoid spending too much time on code that will eventually be deprecated if I can avoid it. The new version of game capture will be safer and hook more intelligently.

Awesome to hear that things are in the works.
 

ShamisOMally

New Member
For all of you asking to use Dxtory with OBS, its amazingly simple

Open DXtory, click that little yellow box with the arrow pointing out of it at the bottom of the window

Under one of the outputs, change the preset to whatever you want Dxtory to output, or custom resolution for a 4:3 game etc

Set frame rate to whatever you want, set adjust mode to Stretch, click modify then ok

Under Dxtory on the video tab, set enable "Directshow output", you can keep on file output if you want as well, it can do both at the same time

Go into OBS, Add a video capture device, add one of those DXtory profiles, the one you set up, click preview stream, resize the Dxtory video window to whatever size you want for your stream, close OBS to save your video settings, reopen OBS, click preview, start a game that Dxtory can capture, hit your start/stop video capture button for Dxtory, voila, video capture directly into OBS, and if you set it up properly, any game you capture with Dxtory and your specific preset it will automatically stretch/resize it to fit OBS
 
Top