NOTE: This appiles to r10.x versions. r11/r11.x versions are different.

Making dump files

Notes:

Using skip:

Skip delays the audio by specified amount. This is useful for compensating the length of encoder logo and codec delay. For instance, if your logo is 2 seconds long and audio codec delay 105ms, you might want to put 1.895 to skip box. Few notes:

Converting dump files to RGB / RAW / WAV:

After you got the dump files, you need to convert them to some usable format. For this, you need rawtoaudio2.exe and rawtorgb.exe. There are prebuilt versions for Windows and they can be built from sources (the sources are included in JPC-RR sources).

Converting video to raw RGB file.

rawtorgb.exe foo-video.dump foo-video.rgb lanczos2 640 400 16666667
This instructs to dump the video dump as raw RGB dump of 640x400@60fps. Note that while most games use 320x200 that gets scan-doubled/doublescanned to 640x400, not all games do. See the size of window when in-game for proper value. lanczos2 sets resizing algorithm to Lanczos resizer with alpha of 2.
The raw RGB dump is in in RGBx format, with framerate of 60fps and specified frame size. Tools like mencoder, ffmpeg or gst-launch can be used to encode these further. Watch out, the dumps are large! You might want to send them to pipe (this also avoids 2GB problems on some platforms).

Converting audio to WAV file.

The --output-attenuation=20 is to attenuate the otherwise extremely loud PC Speaker channel. If there are multiple used channels, you need to mix them together (using something like sox).
Then encode the resulting wav with whatever codec desired.

Converting audio to raw file.

Use this only for runs over 3 hours (for smaller runs, use the wav file method). This method avoids the Wav file size limit.
The output files are 44100Hz signed 16bit little-endian stereo. Convert them using suitable program.

EmulatorResources/JPC/MovieDumpingR10 last edited by Flygon on 9/13/2010 11:44 AM
Page History Latest diff List referrers View Source