New parameter -m added to select video mode.