linappleii / linapple

Apple 2e emulator
GNU General Public License v2.0
136 stars 61 forks source link

Run headless, create video file #170

Open savetz opened 3 years ago

savetz commented 3 years ago

I understand that this is likely a feature that only I want, so will not be offended if the answer is no :)

I would find it useful if linapple could run headless, creating an AVI file (or similar) with its video and audio output. (It might even run faster than realtime that way.)

akhepcat commented 3 years ago

If you're running under Linux, this could be solved using a virtual framebuffer X session and OBS to record the 'screen'

for virtual X sessions, I use this scripted workflow https://github.com/akhepcat/Miscellaneous/blob/master/dummyX

You can get OBS here: https://obsproject.com/download (caveat, i've never used it)

audio recording would be a bit more 'interesting' unless you've got pipewire on your system - that should be able to reroute the output from linapple into OBS (using 'catia')

savetz commented 3 years ago

I do it now with a virtual frame buffer and ffmpeg. It works well, but audio is the hard part. I'll look into pipewire.

Thanks.