Use Fraps. It works like a charm
If you will use for record mugen 1.0, you need to change this settings at mugen.cfg:
BlitMode = PageFlip (instead of normal)
RenderMode = OpenGLScreen (instead of system)
The last one could be slow in some systems, but its required to Fraps "see" Mugen 1.0