Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem recording pf videos when using OpenGL version of VPX. #234

Open
sverrewl opened this issue Dec 30, 2023 · 4 comments
Open

Problem recording pf videos when using OpenGL version of VPX. #234

sverrewl opened this issue Dec 30, 2023 · 4 comments

Comments

@sverrewl
Copy link

First, I'm still on Win7 64bit. It seems to me that the OpenGL version of VPX8 is just "better", so I'm using that the most. Problem though, is when I use any of the GL versions, video capture of pf gets created, but, tables comes up without any GI lights captured. Best described as single frame capture, converted to video.

Solution so far: Switch to DX version when capturing.

Not sure if this will work on newer OS, I'm having capture issues if I try pinup popper as well (ffmpeg), IF I try any nvidia acceleration. There, however OpenGL seems to work. I'm not sure if we should call this a bug or not. Maybe it belongs under "known issues with obsoleted Win7 64bit OS" ?

Believe it is a good idea however to report it here, so the information is available for others.

@jueank
Copy link

jueank commented Jan 3, 2024

I filed a similar issue for VPX: vpinball/vpinball#1274
I think the issue is fundamentally that the image capturing / video recording is based on windows GDI. The OpenGL output is not exposed to GDI ('visible' from GDI). Therefore you can only - as a workaround - switch away from VPX to another windows application, then switch back. Windows does capture a single image in that moment (maybe to be able to show it as the task switcher thumbnail); and this is what is being saved when doing a snapshot in PinballY. There is no workaround for recording.
There is also an alternative screen capturing tool (https://discord.com/channels/652274650524418078/697607905599553596/1187636701028417617) but I haven't tried that myself.
The recording would need to be changed / reimplemented.

@fernandojconti
Copy link

You can solve it easily using Alt + Tab when using FP. I'm pretty sure that it should work also for the VPX Glide version.

@jueank
Copy link

jueank commented Jan 3, 2024

@fernandojconti This is what I wrote in 'switch away from VPX to another windows application, then switch back'

@fernandojconti
Copy link

Well, I recorded all my FP videos from PinballY using the Alt+Tab hack with no issues, and not only an image. You must do it twice. I mean, the first time when FP already loaded the table press and hold the Alt key and then the Tab key once, and release both. Then, press and hold the Alt key and press the Tab key several times until reaches the video status capture window to bring it to the front, release both, and wait for the full process to end. That's it. It is not the ideal solution, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants