A novel scalable video coding suitable for traffic monitoring is proposed.Firstly,we propose a video surveillance algorithm which is suitable for scalable video coding.The moving regions are extracted from the steady background by this algorithm.At the same time,a mode and direction decision algorithm is used to eliminate some redundant coding modes that contribute very little to coding gain.Base layer is coded by this algorithm and enhancement layer can make use of information of base layer to predict poss...