|
Post by zambr123 on Feb 16, 2011 10:56:52 GMT -5
How to Record a Game and Post it on You Tube
...guide needs to be written by someone !
|
|
Afdal
Junior Member
Posts: 8
|
Post by Afdal on Jul 9, 2011 11:06:31 GMT -5
There are several ways to record with MAME.
The first and most straightforward method is direct screen capture using a program like FRAPS. This requires a powerful computer and the video may suffer from some associated slowdown while you're playing if it's not powerful enough. This method is preferable if you're trying to promote the user interface of MAMEHub, because it captures EVERYTHING on the screen.
The second method is to use MAME's -aviwrite function while playing. This is again resource-intensive (even more so than FRAPS), and may make it difficult to play at the same time due to frame rate issues. The advantage is that your video recording will not end up recording these drops in frame rate: it only records the video drawn by MAME. This also means that it will not capture any of the in-game user interface of MAMEHub. Expect a several-minute recording to be several gigabytes in size because MAME dumps to raw, uncompressed AVI with WAV audio.
The final and most efficient method is to record an input file while you're playing and then dump it to AVI during a replay later. This method requires almost no extra resources at all because it simply writes the timing of your inputs while you play. This is the method I will cover.
To start with, input recording does not work properly as client (due to how MAMEHub syncs players, obviously). The person hosting must do the recording. In MAMEHub 0.5, click on the MAME Settings button to access your MAME INI file. Navigate to the # CORE STATE/PLAYBACK OPTIONS section and change the line for "record" to 1 (it should be blank by default).
Now when you play, the inputs of all players (as the host sees them) will be dumped to a file in your MAMEHub\dist\inp folder. This file does not have a naming scheme in MAMEHub currently and is simply called "1". Make sure you move this to a safe place whenever you get a recording you like, because MAMEHub will overwrite it the next time you record! You will need to add the proper extension, .inp, to this file in order to get MAME to play it back.
Now you can take this INP file and play it back right through the corresponding version of normal MAME which MAMEHub uses (currently MAME 0.143) by putting it in its /inp folder. You can use either the command line version of MAME or MAMEUI for this. Occasionally the replay desyncs (turning off Wait for Monitor Sync and Vertical Sync can help). In the event that it does, you can still get it to playback properly in VMAME. VMAME.exe is found in your MAMEHub\dist folder.
To playback an input file and dump the recording to AVI, use the command line arguments -playback and -aviwrite. It should look like this:
[your MAME folder]/[MAME executable] [the MAME-specific name of the game you're playing] -playback [the name of your input file] -aviwrite [the name you want to call your AVI]
MAME will write this raw, uncompressed AVI dump in its /snap folder. For example, if I wanted to dump the input recording of a game of Metal Slug 5 to AVI using MAMEUI32, this is what it would look like in Windows Explorer (command lines use .exe, but windows explorer runs executables without the .exe extension):
MameUI32\MameUI32 mslug5 -playback myinputfile.inp -aviwrite myvideo.avi
If I needed to dump through VMAME, it would look like this:
MAMEHub\dist\vmame mslug5 -playback myinputfile.inp -aviwrite myvideo.avi
You can now take your raw AVI and open it with a program like VirtualDub, and compress it using codecs like H.264 or XviD for video and MP3 for audio. YouTube no longer has a bitrate limitation, so it's up to you how high quality (and how large a file) you want your compressed AVI to be.
|
|
|
Post by psychoraiden on Oct 7, 2011 1:26:07 GMT -5
OUTDATED!! DG just added an ingame recording thingy!! ask him for tutorial!
|
|