Preparing uncompressed AVI files for Mike's media player

Files must be uncompressed AVI with no audio.
Pixel resolution must exactly match the target display device ( note width must be a multiple of 4 bytes)

Colour depth depends on the application :

8 bit (Luminance only) for monochrome
16 bit RGB565 for 16 bit LCD applications
24 bit RGB888 for 24 bit colour ( LED matrix) applications

 Using Virtualdub (Windows)

Get Virtualdub from http://www.virtualdub.com/  Note there are 32 and 64 bit versions. You may find the 32 bit version has support for more import codecs, so if you have problems with the 64 bit version, try the 32 bit one.

Use the following settings :

Audio->no audio
Video->compression : uncompressed
Video->colour depth->output format : Luminance only (Y8) for mono, 16 bit RGB565 for 16 bit, 24 bit RGB888 for full colour
Video->Filters->add resize filter. Aspect ratio disabled, absolute size, <X> x <Y> pixels.
Video->filters->resize->cropping (if required) to select area of source frame to use.

If you want to adjust the framerate use

Video->Frame rate->Source rate adjustment->Change frame rate to ...

Files will be played at the framerate indicated in the AVI file. Maximum playback rate depends on the available player bandwidth

Select in/out time points with markers if required

File->save as AVI

 Note that monochrome AVI files from Virtualdub do not use intensity values 0-15 or 240-255. Monochrome configurations of the player map the used range of 16-239 to the full 0-255 intensity range of the display.

For displays with limited numbers of greyscales ( in particular RGB565) this error diffusion filter may be useful to reduce banding on gradients etc.