I did this recently for a Raiden 2/DX video snap. I just used Fraps to capture the video and Handbrake to convert it to MP4.
I'm pretty sure Mame will output something itself. However, I had issues with various flavors of Mame (specifically SDL) in regards to screen snaps and video snaps, so I just used Fraps.
|