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

Fix avi dump feature by using render buffer with option to use output buffer. #12069

Merged
merged 4 commits into from
Jun 4, 2019

Conversation

LunaMoo
Copy link
Collaborator

@LunaMoo LunaMoo commented May 27, 2019

Fixes #10632 as tested on 20 fps game.

Fixed with render buffer now:

  • uses render resolution which can get very big very quickly,
  • at the same time will be much faster when forcing x1 res like software rendering.

Changing to output buffer means we're now recording also:

  • shader effects(which is good I guess),
  • on screen text(possibly annoying, but osm for savestates disabled make it very usable),
  • touch screen controls(some might want it, some might not, the feature is not enabled on mobiles anyway so not a big deal).

One other downside I found is that software rendering isn't recorded correctly with output buffer at least if the game draws by manually copying to vram like that Darkstalkers game which can't render in hardware renderer correctly. It recorded ok with display framebuffer, so maybe giving a choice of buffer for recording would be a nice option, through that's really an edge case. - software renderer recording overall works better with render buffer, through while testing now, it recorded fine even with output buffer, not sure why.

@hrydgard
Copy link
Owner

Hm, not sure if that's a good thing, although I guess if you want a clean image, you'll just turn all the overlay stuff off...

Also make the dump messages shorter,
especially dump start since it will be recorded.
@LunaMoo
Copy link
Collaborator Author

LunaMoo commented May 27, 2019

Since avi dump cooperates nicely with savestates I blocked OSM for those when video is being dumped also made the OSM for dump shorter(especially start) to reduce annoyance as it will record into video.

with an option to use output buffer since recording with
post process effects will often be desirable.
@LunaMoo LunaMoo changed the title Fix avi dump feature by using output buffer. Fix avi dump feature by using render buffer with option to use output buffer. Jun 4, 2019
@@ -813,6 +813,7 @@ void GameSettingsScreen::CreateViews() {
#if defined(_WIN32) || (defined(USING_QT_UI) && !defined(MOBILE_DEVICE))
systemSettings->Add(new CheckBox(&g_Config.bDumpFrames, sy->T("Record Display")));
systemSettings->Add(new CheckBox(&g_Config.bUseFFV1, sy->T("Use Lossless Video Codec (FFV1)")));
systemSettings->Add(new CheckBox(&g_Config.bDumpVideoOutput, sy->T("Use output buffer(with overlay) for recording")));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a space before (with

@hrydgard hrydgard merged commit 3769e8b into hrydgard:master Jun 4, 2019
@LunaMoo LunaMoo deleted the aviDumpFix branch June 4, 2019 09:10
vnctdj added a commit to vnctdj/ppsspp-lang that referenced this pull request Jun 4, 2019
@LunaMoo LunaMoo added this to the v1.9.0 milestone Aug 26, 2019
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

Successfully merging this pull request may close these issues.

Issues with dumping video and audio
2 participants