Skip to main content

Set of commands used to edit video files

Project description


Command line interface to edit video files based on ffpmeg


Crop a video

Say you have a video file (my-record.mkv) that last 3 minutes, composed of 5 segments (A, B, C, D, E) defined as below...

  • A (00:00:00 - 00:00:15)
  • B (00:00:15 - 00:00:30)
  • C (00:00:30 - 00:01:00)
  • D (00:01:00 - 00:02:00)
  • E (00:02:00 - 00:03:00)

...and you want to create a new video (new-video.mkv) with only segments A, C and E.

You can use the cut command like the following :

videdit cut my-record.mkv -o new-video.mkv  0-15  30-1:0  2:0-3:0

Note: As you can see, there is no need to specify the time in full format. But you are free to use this longer format :

videdit cut my-record.mkv -o new-video.mkv  00:00:00-00:00:15  00:00:30-00:01:00  00:02:00-00:03:00

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

videdit-0.0.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page