Bug Report Video Capture Devices not showing up

flameling

New Member
19WvP
19WvS


As seen from above using FFsplit and XSplit, those are currently the video capture sources that I have installed on my computer. Though, when using OBS, the same devices don't show up.

19WvR


I'm wondering if it's just a technical error on my part or if it's an issue with something else.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Wow. You have a crazy number of devices installed. Still, this is curious. Why is XSplit of all things showing up as a directshow video source there? I don't quite understand what's going on there.

My current directshow setup uses devices set up specifically for capture. Perhaps there's something up with my code that needs tweaking.. I'm sort of confused here.

This is most likely a bug in my code I need to look at. Is there a way I can replicate this? I take it ManyCam Video source is the one you want to use? Or maybe screen-capture-recorder? Maybe I can download it somewhere or something and see what's going on on my end.
 

Warchamp7

Forum Admin
Out of personal curiosity, any reason for using VHScrCap as opposed to the built in capturing options in OBS? Might be a feature that's would be good to add :D
 

flameling

New Member
Oh, I actually haven't tried the built-in OBS screen capture. I've been trying to stream SC:Broodwar, which has to use settings to capture the top 640x480 of the screen (which I use UScreenCap for, and idk if OBS can do it(?))

The reason I preferred VHScrCap to other built-in cap options (XSplit, FFSplit) was that it lagged less. Not 100% how it compares to the OBS built-in though. I might try it out right now just to see.
 

Warchamp7

Forum Admin
OBS can let you capture a specific window and, if you like, only a specific region of a window, so it should be able to meet those needs.

Question is if it will behave with Brood War, heh
 

R1CH

Forum Admin
Developer
XSplit has the ability to output as a DirectShow source which is why it's showing up. Have you tried running OBS as admin? I've had some devices in the past that were only able to be opened with admin rights. I did spot a small bug in the device enumeration code, but I don't think it would cause this behavior.

Brood War should be fine in windowed mode, full screen is probably not going to work due to the palette.
 

flameling

New Member
Yeah, that's what I was worried about for BW screen region capture streaming for full screen.

Just tried admin (with compat mode on and off as well), still no go.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I believe I know why your devices are not all showing. This is partly my fault - I made the installer automatically install 64bit version if your OS is 64bit, and 32 if you're using 32bit. What's going on here is that those devices probably don't have the 64bit filters installed, just the 32bit, so they don't all show, I believe. I'm going to have to change the installer to make 64bit/32bit an option, thank you for pointing this potential problem out.

Anyway, as for VHScreenCap, you probably don't want to use it. It's software capturing, which my app already internally supports, and can probably do much better. Main weakness with mine is that it doesn't support games that are in fullscreen mode. I would recommend using my software capture source.

Don't know about UScreenCapture though. If that's for fullscreen games, wouldn't it be better to use DXTory?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Oh, and to make them show, the quickest fix is to download the 64bit versions of your filters, -or- download 32bit binary of OBS here on the site and replace the files in your OBS directory, if you don't want to wait for me to fix the installer.

I generally recommend going 64bit typically, as there are a few good optimizations that 64bit stuff can typically get over 32bit. But then again I suppose it's not all too significant
 

flameling

New Member
19Xdy

Spot on, fixed :O thanks

Yeah, I realized VHScrCap isn't the best, most internal ones are better, but it just fit in to fix my lag problem at the time.

Also, I don't think Dxtory works with broodwar, I think it has problems latching on or something (maybe R1CH will correct me on this)
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
My internal software capture is optimized to work best for my app, and is about as fast as you can probably get for software capture. My software capture captures directly onto GPU memory - it does not copy to local RAM. Using VHScrCap would be far slower, because it has to copy to RAM, and then back to the GPU again. My window capture option is even better if you're capturing just a single window for your stream, and also works with aero enabled. It's how quantic illusion for example currently gets a ~50-60fps stream via software alone at the moment. I admit I'm pretty proud of it.

As for DXTory, I doubt DXTory would work with brood war - brood war uses an ancient version of directdraw that dxtory probably isn't able to hook. I'm not sure what to do there. Is there no way to get broodwar working in a windowed mode?
 

flameling

New Member
My god, I just tried SC2 using the OBS built-in screen capture. The game is 100% smooth, zero stutter, no input delay/lag. I think anyone with a non-beast computer is missing out if they're not using this program :S

Never seen such smooth gameplay while streaming before. This is awesome.

Though, can't seem to get it to work with UScreenCapture, since I need to make the 640x480 screen cap region to fullscreen, as opposed to just the top 640x480 of the stream.
 

flameling

New Member
Gahh one problem after another.

It worked the first time, but now the screen won't even show up and the FPS sticks to 0, unless I switch to something else and go back. Even after doing that , it doesn't show up.

19XFs


ninja edit:
19XKh
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
oh weird, can you give me the direct steps to replicate this? start obs->...->profit (or in this case, go bankrupt)?

I know that there had to have been an issue with the FPS selection there, I had it happen before, but then it never happened again and I haven't been able to replicate it in forever. would be greatly helpful
 

flameling

New Member
Start -> Add Scene(BW) -> Add Video Capture Device(ds) -> UScreenCapture -> Start Preview

I think it was just a pretty normal procedure. I have no idea how that happened. Worked once, never worked again
ninja edit again: When I input it, it shows up as 30FPS, but then when I press start preview, it goes back to 0FPS when I check
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
okay, I'll download UScreenCapture and take a look. red output means an error occured somewhere, so I'll have to see what's going on here.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
ah, wow. I see the issue.. UScreenCapture actually has a bug in its directshow filter code. I can make a workaround fortunately. you using the 32bit version now? I'll upload you a replacement DLL you can use that should fix the problem.
 
Top