docstr: Overlays media onto the video
  
  @param video_path: the path to the video to be augmented
  
  @param output_path: the path in which the resulting video will be stored.
  
  @returns: a list of strings containing the CLI FFMPEG command for
      the augmentation
docstr_tok: ["Overlays","media","onto","the","video","@","param","video_path",":","the","path","to","the","video","to","be","augmented","@","param","output_path",":","the","path","in","which","the","resulting","video","will","be","stored",".","@","returns",":","a","list","of","strings","containing","the","CLI","FFMPEG","command","for","the","augmentation"]
code: def get_command(self, video_path: str, output_path: str) -> List[str]:
      """
      Overlays media onto the video
  
      @param video_path: the path to the video to be augmented
  
      @param output_path: the path in which the resulting video will be stored.
  
      @returns: a list of strings containing the CLI FFMPEG command for
          the augmentation
      """
      video_info = get_video_info(video_path)
  
      new_width = video_info["width"] * self.x_factor
      new_height = video_info["height"] * self.y_factor
  
      process_audio = has_audio_stream(video_path)
  
      ret = [
          *self.input_fmt(video_path),
          "-i",
          self.overlay_path,
          "-filter_complex",
          f"[0:v][1:v] overlay={new_width}:{new_height}",
      ]
  
      if process_audio:
          ret += [
              "-map",
              f"{int(self.use_overlay_audio)}:a:0",
          ]
  
      ret += self.output_fmt(output_path)
  
      return ret
  
file_path: AugLy/augly/video/augmenters/ffmpeg/overlay.py
imports: from typing import List
  from augly.utils import is_image_file, is_video_file, pathmgr
  from augly.video.augmenters.ffmpeg.base_augmenter import BaseVidgearFFMPEGAugmenter
  from augly.video.helpers import get_video_info, has_audio_stream
label_desc: Use image node_id 2 for calling the VideoAugmenterByOverlay obj's underlying member method code with example usage: obj.get_command(video_path, output_path) and returns: ret