mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.63k stars 771 forks source link

Is it possible to record a video when launching a rom from the command line? #3066

Open headhunter45 opened 10 months ago

headhunter45 commented 10 months ago

When running something like this from terminal is there a way to make mGBA start recording a video file immediately when the rom starts? /Applications/mGBA.app/Contents/MacOS/mGBA Pokemon\ -\ Emerald\ Version\ \(USA,\ Europe\).gba

Hopefully something that lets me set the video settings and filename from the command line.

endrift commented 10 months ago

There's no flag for this at the moment, and video settings are gonna be hard to set robustly via command line. Just look at how complex ffmpeg is...

LunarLambda commented 10 months ago

I don't know what recording settings mGBA exposes, but I think the easiest would be to be able to save a set of default settings (or possibly multiple profiles thereof) and then being able to specify a profile to use on the command line.