The problem of nonlinear hydrodynamic stability of a film coating on a surface subject to spatially varying disturbances is formulated and solved. The characteristics of the wavy surface of the film resulting from the nonlinear stability are predicted and compared with the known experimental observations.