/cut.py

Tool for trimming parts of video/audio file

Primary LanguagePythonMIT LicenseMIT

Tool for trimming parts of video/audio file

Install:

  • ffmpeg
  • 'click' module in python

How to make cut.exe?

Easy. Install pyintaller and run pyinstaller -F cut.py

Examples:

1) py cut.py 1.mp4 -time 5	
>>> left trim 5sec

2) py cut.py 1.mp4 -time 5 -r	
>>> right trim 5sec

3) py cut.py 1.mp4 -time 5 -r -y	
>>> right trim 5sec + force overwrite