Added support for interlaced output.