alistair
8780ed75b5
|
4 years ago | |
---|---|---|
LICENSE | 4 years ago | |
README.md | 4 years ago | |
clip.py | 4 years ago | |
demo.png | 4 years ago |
README.md
video-clipper
A simple tkinter GUI for clipping a video using ffmpeg. I do this often enough to send video format memes to my friends that having a simple tool to do it based on timestamps rather than a beginning and duration might have been useful. Obviously, a bash function would be far more effective than this most likely, or heck just nothing because at this point I've memorised the command. But I wanted to write a GUI, so here I am.
The code is terrible at the moment because I don't have the energy to separate out the GUI from the logic. At least the logic part is very simple.
The script should work as a nautilus script, it just gets the first argument, guesses a good enough name for the output, and asks for the start and end times of the subclip.
I hope to get it to extract the duration from the video meta-data too to check that the inputted timestamps are valid. Rescaling the video down would be nice too.