This page describes how to encode an emulator movie, if it isn't needed to make it of publication quality. To study encoding movies to be published, see EncodingGuide/PublicationManual.

Basics

There are only a few steps for such encodes.
After dumping, all can be done with just VirtualDub, or with AviSynth as well.

Downloads

Codecs

Lossless
Lossy

Editing tools

Dumping AVI

We imply you already know, that you can not just capture your play to AVI in real time, but to record an emulator movie and play it back, capturing AVI from this. We have a video dumping guide for TASable emulators:
After you do the above, you get prompted to choose and configure the codec. You can use a lossless one (good for upscaling) or a lossy one (fast and compressing heavier).
  • Preset: Ultrafast
  • Tuning: Animation
  • Rate control: Single pass - ratefactor-based
  • Ratefactor: experiment with it.
  • Zero latency must be checked!
  • Check GZIP rediobutton
  • Select the desired compression Level (start from Level 5, that leaves room for speeding up the emulator)
  • Check Enable Null Frames
  • Check Use Multithreading
  • Select Mode: RGB (Default)

Editing

  • Drag the dump to VD
    • If the dump consists of several segments with the same video parameters, go to File -> Append AVI segment and select your second segment. VD will automatically import them all.
  • Video -> Filters -> Add: resize. Filter mode: Nearest neigbour. New size -> Relative: 200 (300, 400, anything you want)
    • If you want to upload to youtube and preserve framerate above 30, upscale the height to 720 pixels or higher.
There's no simple function in VD for subtitles. Use AviSynth for that.
Create a text file with the following text and change its extension to .avs:

AVISource("yourmovie.avi")
PointResize(width * 2,height * 2) # upscale to 720p or higher if you want youtube to preserve framerate above 30.
Subtitle("Your subtitles", y=0, align=8, first_frame=0, last_frame=1000, \
    size=10, text_color=$00FFFFFF, halo_color=$00000000, lsp=2)
return last

Put your movie to the same folder, change the AVISource parameter to match its name, edit or remove the lines you don't need (adjust the subtitles), still drag the script file to VirtualDub.
In the VD menu:

Sharing


EncodingGuide/CasualEncoding last edited by feos on 9/6/2023 7:58 PM
Page History Latest diff List referrers View Source