title: Python video editing -- How to trim videos
body: <p>Is there an easy way to trim a video file in python. If I know the start time and end time, I want to save the new file as multiple shorter files based on input.</p>
  
  <p>example pseudo code:</p>
  
  <pre><code>function cut_video(original_vid, start, stop):
      original_vid.start_time(start)
      original_vid.end_time(stop)
      original_vid.trim() #based on times
      new_vid = original_vid
      return new_vid
  </code></pre>