Video composition is important for music video production. In this paper we propose an automatic method to assist the music sports video composition operation. Our approach is based on Dynamic Programming algorithm which finds a set of video shots that best matches the music. The method by default is fully-automatic, and users specification could be inserted to control the composition process, making it a semiautomatic system. This research has obvious importance to reduce manual processing, and enables the generation of high quality personalized music sports video. The proposed method is generic and fast. The experimental results are satisfactory.