The invention relates to a method and a device for realizing a special
flame effect in a video, wherein the method comprises the steps of: A. reading a frame of
video image data, initializing the dimension of a
flame image to be added according to the dimension of the
video image, and setting and storing a position parameter, a height parameter and a width parameter of the
flame image in the
video image; B. generating flame image data corresponding to the video image, and storing the flame image data in a flame
data storing module; C. superposing the flame image data currently stored in the flame
data storing module in the video image; D. deleting the flame image data currently stored in the flame
data storing module, judging whether reading all video images to be added with special flame effects, if so, ending the operation; if not, repeating the step A, and reading the next frame of video image data. The method and the device disclosed by the invention have the advantages of adding
special effects in the video images in real time, previewing the video images in real time, and having higher calculation efficiency.