Skip to content

Cut videos with multiple timestamps using ffmpeg and python

Notifications You must be signed in to change notification settings

ericksantos12/ffmpeg-cropper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Video Batch Cutter 👋

Cut videos with multiple timestamps using ffmpeg and python

Install

First, you need to install ffmpeg

git clone https://github.com/ericksantos12/ffmpeg-cropper.git

cd ffmpeg-cropper

pip install -r requirements.txt

Usage

Create a cuts.csv file in source directory and add title, start, and end timestamps in the following format separated by commas, line by line for the respective cuts:

filename,start_timestamp,end_timestamp

Example

video1,00:00:01,00:02:00
video2,00:02:01,00:03:00

Important: do not forget the file format in the title, it needs to correspond to the original file format

After that you can execute the script

python app.py

After being prompted with the menu, just follow the instructions in terminal

TODO

  • Implement a way to write to the cuts file via terminal
  • Implement a better menu
  • Implement a feature to download videos using yt-dlp and cut them using ffmpeg
  • Implement a quick cut option

Author

👤 Erick Santos

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

Cut videos with multiple timestamps using ffmpeg and python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages