Thanks, there is even shift+f12, too bad I don't see an equivalent for the wav part which makes the hotkey way useless for my intents. Recording the whole session makes things pretty tedious and I had to go through a ton of different applications but selected video with sound can be done. Hopefully using an inp playback is easier.
The mng tools available are not good indeed, but then again mng seems pretty lousy itself. The only mng tool I found simply split the whole thing into pngs. A different session can record the wav. At that point a lossless movie can be created from the pngs with mencoder, I recommend ffv1 format. The trick is to input the exact fps of the emulated game when creating this temporary video. For example, once the pngs are ripped, to create the video from a directory with the pngs out of a cps2 game, I input:
mencoder -ovc lavc -lavcopts vcodec=ffv1:vstrict=-2 -o video.avi mf://<path>/*.png -mf fps=59.633
At that point the wav can be merged, then the video cropped with whatever way you can find. There's probably a better way than mine, but I wanted to ultimately separate the video and audio and compress them separately. The only way I knew how right away was to crop the merged video with mencoder with the -ss and -endpos options, then making it an ogm with ogmmerge, then extracting the video and audio separately into avi and wav. At that point I could finally compress the video into x264 and the audio to vorbis, then merge the results back with ogmmerge. If you can play ogm, h264 and vorbis and want to see the example: http://www.mediafire.com/?x4vgtixcycg
I haven't tested the process with what I really want, recording a session of an inp playback, but I'm hoping it won't be a problem. I'll do that when I update mame because it seems to be failing.