Post subject: Separate OSD output
Player (71)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
I was wondering if it would be possible to make a separate output of the OSD and bake it as a separate track in the final video encode somehow. Would be sweet if you could choose to turn on frames, button presses and stuff like that as an option in the final encode. Maybe this is the wrong thread to start of in, but I was mainly goofing around with Bizhawk when it crossed my mind. Would it be possible to output the frame counter/lag counter and keypresses as maybe an .srt (subtitle) file, or would there be a different approach?
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
I made some lua a while back that would do input display as an .srt track; it was for VBA, but of course bizhawk could use a similar setup. Capturing the whole OSD in a non-video manner would be more complicated...
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11480
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Capture gameplay. Make a script that would draw a Magic Pink box all over the screen, and record whatever OSD you want over it. Remove the pink color in avisynth, paste over gameplay. But I'd record OSD over gameplay already, just need to make lua for that. Or does BH support dimping lua drawings?
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.