Repository navigation
scripts: gameplay recorders for the OS4 guest and FS-UAE - #56
Merged
Merged
Conversation
…e-window capture for FS-UAE) record_os4.py records the AmigaOS 4 guest through the HMP monitor: screendump on a fixed 30 fps clock and wavcapture on snd0, with the samples put back on the wall clock (QEMU writes only while the guest's audio DMA runs). wincap.swift records a single window and its app's sound with ScreenCaptureKit, so FS-UAE can be recorded without the desktop, even in its own full-screen Space. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two recorders used to make a gameplay showreel of the games.
scripts/record_os4.py out.mp4 --secs 30: the AmigaOS 4 guest's screen and sound through QEMU's HMP monitor (127.0.0.1:2348).screendumpon a fixed 30 fps clock (about 6 ms per dump, so no late frames in practice), frames of other sizes (800x600, 640x480 game screens) letterboxed into 1280x720. Sound iswavcapture … snd0; QEMU writes samples only while the guest's audio DMA runs, so a game that starts its sound a few seconds in came out up to 7 s early. The recorder samplesinfo captureevery 6 frames and re-times the samples to the wall clock.scripts/wincap.swift: ScreenCaptureKit capture of one window plus its app's sound. FS-UAE in its own full-screen Space can't be grabbed withscreencapture -l, and avfoundation records the whole desktop; this records only the FS-UAE window (2056x1290 at divisor 2), with sound.Self-review / things to look at:
wincap shot(single still) failed with SCStream error -3811 here;recworks. Left in, noted in the header.wincapneeds Screen Recording permission for the terminal; it compiles with deprecation warnings for AVAssetWriter APIs on macOS 27.record_os4.pyholds the HMP monitor connection while recording; QEMU's monitor takes one client at a time, so another tool using 2348 meanwhile would block.scripts/claude_busy.pywhen driving the emulator.Not to be merged without review.
🤖 Generated with Claude Code