docstr: Trims 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: ["Trims","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]:
      """
      Trims 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)
      duration = float(video_info["duration"])
  
      if self.start is None and self.end is None:
          self.start = self.offset_factor * duration
          duration = min(
              max(
                  self.minimum_duration, self.duration_factor * duration
              ),
              duration - self.start,
          )
          self.end = self.start + duration
      elif self.start is None:
          self.start = 0
      elif self.end is None:
          self.end = duration
  
      return [
          *self.input_fmt(video_path),
          "-vf",
          f"trim={self.start}:{self.end}," + "setpts=PTS-STARTPTS",
          "-af",
          f"atrim={self.start}:{self.end}," + "asetpts=PTS-STARTPTS",
          *self.output_fmt(output_path),
      ]
  
imports: from typing import List, Optional
  from augly.video.augmenters.ffmpeg.base_augmenter import BaseVidgearFFMPEGAugmenter
  from augly.video.helpers import get_video_info
label_desc: Use image node_id 2 for calling the VideoAugmenterByTrim obj's underlying member method code with example usage: obj.get_command(video_path, output_path) and returns: list