def draw_image(self, video_name, image_name, out, start, end, x, y,
                   verbose=False):
        """
        Draws an image over the video
        @param video_name : name of video input file
        @param image_name: name of image input file
        @param out : name of video output file
        @param start : when to start overlay
        @param end : when to end overlay
        @param x : x pos of image
        @param y : y pos of image
        """
        cfilter = (r"[0] [1] overlay=x={x}: y={y}:"
                   "enable='between(t, {start}, {end}')")\
            .format(x=x, y=y, start=start, end=end)

        call(['ffmpeg', '-i', video_name, '-i', image_name, '-c:v', 'huffyuv',
              '-y', '-preset', 'veryslow', '-filter_complex', cfilter, out])
def draw_image ( self , video_name , image_name , out , start , end , x , y , verbose = False ) : cfilter = ( r"[0] [1] overlay=x={x}: y={y}:" "enable='between(t, {start}, {end}')" ) . format ( x = x , y = y , start = start , end = end ) call ( [ 'ffmpeg' , '-i' , video_name , '-i' , image_name , '-c:v' , 'huffyuv' , '-y' , '-preset' , 'veryslow' , '-filter_complex' , cfilter , out ] )
Draws an image over the video
        @param video_name : name of video input file
        @param image_name: name of image input file
        @param out : name of video output file
        @param start : when to start overlay
        @param end : when to end overlay
        @param x : x pos of image
        @param y : y pos of image