How to dump movies from mame?
How to dump movies from mame?
I have a few 1cc's on mame. I selected the option "play and record input" and recorded the inputs of my 1cc. Now I want to select the option "play and record uncompressed AVI output" so I can dump my movie playback. But it seems like mame can't playback input and dump at the same time. You can only choose one or the other.
Is there not a way to do both functions at once?
Is there not a way to do both functions at once?
-
Bananamatic
- Posts: 3530
- Joined: Fri Jun 25, 2010 12:21 pm
Re: How to dump movies from mame?
use aviwrite through a .bat file
make it something like Shmupmame_v22.exe <game name(for example ket for ketsui)> -pb <input file name>.inp -aviwrite <output .avi name>.avi then put it in the same folder as mame and run it
make it something like Shmupmame_v22.exe <game name(for example ket for ketsui)> -pb <input file name>.inp -aviwrite <output .avi name>.avi then put it in the same folder as mame and run it
Re: How to dump movies from mame?
This happened:

And this is how I wrote my .bat:


And this is how I wrote my .bat:

Re: How to dump movies from mame?
You need to have the name of the MAME executable before the rom name in the batch file (like shmupmame_v22 or mamep64 or something else depending on what version of MAME you're using). Also make sure you change the extension to .bat (not .exe) from .txt if you didn't do so already. When you run a .bat file it basically treats the text in the file as if you're running those commands through the command-line, so in this case you want to run the MAME executable with the first parameter being the rom name, followed by the -pb <input file name> flag for playback of an input file and -aviwrite <output file name> for avi file output.
By the way, to speed up the process once you've gotten MAME launched you can unthrottle the emulator (default keybind is F10) and the game will run as fast as possible without skipping frames but the avi file written will still be at normal speed.
By the way, to speed up the process once you've gotten MAME launched you can unthrottle the emulator (default keybind is F10) and the game will run as fast as possible without skipping frames but the avi file written will still be at normal speed.
Re: How to dump movies from mame?
Wow, I'm shocked here. I never thought that would be so simple.
Seriously, I even considered buying an external recording device or something to do what I wanted lol. Thank you so much guys, you rock. (and the F10 tip is also extremely useful. I tried it out and it worked like a charm)
also, rofl at Bananamatic's avatar. It's just so derp. XD (sorry, I had to add this)
Seriously, I even considered buying an external recording device or something to do what I wanted lol. Thank you so much guys, you rock. (and the F10 tip is also extremely useful. I tried it out and it worked like a charm)
also, rofl at Bananamatic's avatar. It's just so derp. XD (sorry, I had to add this)
Re: How to dump movies from mame?
Why not just literally play it and record with screen capture software.
-
Bananamatic
- Posts: 3530
- Joined: Fri Jun 25, 2010 12:21 pm
Re: How to dump movies from mame?
lagCaptain wrote:Why not just literally play it and record with screen capture software.
and fraps tends to be a piece of shit sometimes
Re: How to dump movies from mame?
^ Exactly.
-
Muchi Muchi Spork
- Posts: 1413
- Joined: Wed Mar 09, 2011 2:53 pm
Re: How to dump movies from mame?
If you're doing it to upload to YouTube though you should process it down to 30fps first with a high quality software that blends the frames properly before uploading because if you upload it directly YouTube will just drop every other frame, which is why virtually every Cave video looks incorrect (like helicopter blades appearing solid for a second then disappearing for a second instead of a constant blend). It's basically a faked transparency made by blinking the graphics on and off really fast.
Re: How to dump movies from mame?
Uh...
Youtube supports 60fps now. As long as you upload your video on 720p or higher.
I've uploaded a couple HD videos lately and they all look perfect. No more 30fps restriction.
Youtube supports 60fps now. As long as you upload your video on 720p or higher.
I've uploaded a couple HD videos lately and they all look perfect. No more 30fps restriction.
-
Muchi Muchi Spork
- Posts: 1413
- Joined: Wed Mar 09, 2011 2:53 pm
Re: How to dump movies from mame?
Oh I thought it was still screwed up because that recent donpachi superplay was still borked.
Re: How to dump movies from mame?
The DonPachi counterstop video was too low resolution, it has to be 720p or higher for YouTube to give it 60fps (540x720 also works but it'll show up as 480p60 instead of 720p60). The mobile apps and I think some browsers also lack 60fps support. Also if you upload the default resolution MAME aviwrite gives you (320x240 or 240x320 for most games) YouTube will take that low resolution as an excuse to butcher the quality, so make sure to scale the video using something like FFmpeg or any video editor, not just for 60fps but to make the video watchable at all.
-
ProjectAKo
- Posts: 434
- Joined: Mon Nov 24, 2014 8:13 pm
Re: How to dump movies from mame?
Whenever I try this I end up wasting up to 40 of my minutes at a time, as the video mysterious fails halfway through without throwing an error, or goes off sync, or the sound disappears, or...Captain wrote:Why not just literally play it and record with screen capture software.