          action = getattr(self, self.args.action)
          action(**kwargs)
  
      @staticmethod
      def extract(input_=None, output=None, fps=None, extract_ext=None,
                  **kwargs):
          _input_opts = Effmpeg._common_ffmpeg_args[:]
          _input = {input_.path: _input_opts}
          _output_opts = '-y -vf fps="' + str(fps) + '" -q:v 1'
          _output_path = output.path + "/" + input_.name + "_%05d" + extract_ext
 
</s>
    def extract(input_=None, output=None, fps=None, extract_ext=None, start=None, duration=None,
          action = getattr(self, self.args.action)
          action(**kwargs)
  
      @staticmethod
    def extract(input_=None, output=None, fps=None, extract_ext=None, start=None, duration=None,
                  **kwargs):
          _input_opts = Effmpeg._common_ffmpeg_args[:]
          _input = {input_.path: _input_opts}
          _output_opts = '-y -vf fps="' + str(fps) + '" -q:v 1'
          _output_path = output.path + "/" + input_.name + "_%05d" + extract_ext
keep keep keep keep replace keep keep keep keep keep
 Fix duration for effmpeg extract
tools/effmpeg.py