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

Media capture errors with PinballY-64bit-20240925 #244

Open
11islander22 opened this issue Oct 3, 2024 · 8 comments
Open

Media capture errors with PinballY-64bit-20240925 #244

11islander22 opened this issue Oct 3, 2024 · 8 comments

Comments

@11islander22
Copy link

Media capture worked fine with my previous PBY version PinballY-64bit-20220716.msi
New PBY version PinballY-64bit-20240925.msi has these issues:
Backglass media capture works with single pass capture but not with double pass capture.
Playfield capture does not work with single or double pass capture.

I have a real DMD so PBY window media capture is unavailable to test.
(Please add a media capture feature for real DMDs if possible)

Running windows 10

PBY log files attached
PinballY One Pass Media Capture.log
PinballY Two Pass Media Capture.log

@mjrgh
Copy link
Owner

mjrgh commented Oct 3, 2024

I reworked the way the FFMPEG command line is set up in this release, so it might take a couple of iterations to work out the kinks. If you look at the log file, you'll see that the FFMPEG error is that your one-pass playfield capture is missing the audio device. Do you have an audio device selected in your capture settings? (Open the Options dialog, go to Capture > FFMPEG, look at the Audio Capture Device drop list). If you don't, and you've never had to set that, it should be looking for a device with the substring "stereo mix" in the name, so the next question would be if anything has changed in your hardware or Windows setup. You can check for available devices by pressing Windows+R and typing mmsys.cpl into the box, then going to the Recording panel. If there's not anything listed there with "stereo mix" somewhere in its name, PinballY won't be able to find a default device. It's possible that the device is there but got disabled without your knowledge in an automatic Windows update, so you might have to manually re-enable it. If it's listed there and marked as enabled, we might have to dig deeper into your system to figure out why PinballY isn't finding it.

@mjrgh
Copy link
Owner

mjrgh commented Oct 3, 2024

I took a look at the code and I see what's going wrong with the two-pass recording. That'll require a fixed version of the .exe, but let's figure out what's wrong with the audio device first, and hopefully get the whole thing working in one shot.

@11islander22
Copy link
Author

11islander22 commented Oct 7, 2024 via email

@mjrgh
Copy link
Owner

mjrgh commented Oct 7, 2024

Okay, that probably explains it - the new command line generator must be (incorrectly) including the audio source section for the video-without-audio capture. I'll take a look at that.

@mjrgh
Copy link
Owner

mjrgh commented Oct 10, 2024

PinballY-x64-capture-tests-20241010.zip

I think I tracked down the audio options problem. Here's a test build that should fix that and the two-pass problem. Give it a try when you have a chance and let me know how it goes.

@M1L0S-R5
Copy link

I had same symptoms like others - video capture is broken

However, video capture works again with this test version!

@11islander22
Copy link
Author

11islander22 commented Oct 14, 2024 via email

@mjrgh
Copy link
Owner

mjrgh commented Oct 15, 2024

Great, glad to hear that fixed it! Hopefully there aren't any more broken combinations of options still lurking, but if you run into any other similar errors, let me know. I'll put together a new full release with the fixes soon.

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