Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

Pinball FX2 - DMD capture script


Carny_Priest

Recommended Posts

I finally got around to purchasing the Aliens tables. I rely on the community for wheel, table and backglass media, but it does not appear to be anyone keeping up with DMD videos. so I wrote an AutoHotkey script. It's only semi-automatic in that the attract mode loops vary in length by table. If you want to do it right, you must take the output and edit it so that the loops are at least fairly seamless.

The script captures two minutes duration losslessly to an mkv container. This requires ffmpeg, but if you are using PBXRecorder than you already have an ffmpeg install. Open the output file, dmd.mkv,  in a video editor. I use the open-source freeware option, Avidemux. Make your cuts and then encode with the built-in x264 codec using constant rate factor 10 for really good quality.

I have a p2k-style cab so I have some instructions that call the separate, open-source dmd-extensions app to render a mirror of the DMD that is flipped for projection onto my playfield. But this script should be easily adaptable for use with the native FX2 DMD renderer. It just may require some trial and error to determine the right capture parameters so that you don't cut off part of the image.

I've also attached example output for Alien: Isolation. Again this is capturing from dmdext which renders as dots. The vast majority will just comment out the call to run dmdext and just capture from the native DMD window.

Good luck and happy new year! 

 

CapFX2.ahk

dmd.mp4

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Carny_Priest, thanks for the info.  I have a further question.  I have a PinDMDv3 working properly with PinballX showing attract mode videos for Virtual Pinball as well as Pinball FX2.  The FX2 videos I have are the black/white set from the ftp site, but I am hoping to learn how to capture them in color from the games themselves so I can display color attract mode DMD videos on the PinDMDv3.

 

The sample file you shared, dmd.mp4, does not display on my PinDMDv3 through PinballX in attract mode - the screen is blank.  I have the file properly named to match the entry in my .xml database and placed in the Real Color DMD Videos folder == no pindmdv3 output.  Nor does PinballX display anything if the file is in Real DMD Videos or DMD Videos.

 

What sort of conversion should I do to make the file (and the output of your script) playable through PinballX attract mode output onto a PinDMDv3?

 

I hope to be able to learn how to use your script to capture the FX2 videos in color and display them on the PinDMDv3, but first I need to understand what I need to do to get your sample output file to display properly on the PinDMDv3.

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...