The invention discloses a method and a device for making video files through
programming. The method includes: linking to a plurality of graphic element files, audio files, and
subtitle files through video template description
software, and then naming and setting each file separately. The
motion mode and time of the graphic element file, then set the time of appearing and stopping of each audio file and the content of each
subtitle file and the position on the screen of the mobile terminal, and finally synthesize the target video template file
package. This solution enables graphic designers to describe traditional picture element files, audio files and
subtitle files into target video states only by adjusting the specified parameters in the
visualization program, and the generated template file
package can be directly used by other specified
software. , the
programmer does not need to perform secondary program description on the display effect again, which greatly simplifies the production process of the video template, and the synthesis efficiency is improved by more than 50% compared with the traditional method.