https://github.com/plusk01/video-trim-tool
Uses ffmpeg to trim videos based on a spec file
https://github.com/plusk01/video-trim-tool
Last synced: 10 months ago
JSON representation
Uses ffmpeg to trim videos based on a spec file
- Host: GitHub
- URL: https://github.com/plusk01/video-trim-tool
- Owner: plusk01
- Created: 2021-08-26T22:01:45.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-03T18:10:58.000Z (almost 5 years ago)
- Last Synced: 2025-03-14T21:36:44.658Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Video Trim Tool
===============
Trim video files to the exact portion desired, discarding the useless content and saving space.
Use `video_trim_tool.py -t path-to-dir-with-video-files` to generate a template file. Edit with start and stop time (in seconds) and then run `video_trim_tool.py -i path-to-videotrim.txt`.
The `videotrim.txt` file should look something like
```
# autogenerated file
2021-08-23-21-15-19.MP4 29 67
2021-08-23-22-18-36.MP4 11 65
2021-08-23-22-00-52.MP4 17 67
2021-08-23-21-36-52.MP4 17 70
2021-08-23-22-21-08.MP4 13 37
2021-08-23-22-13-33.MP4 14 62
2021-08-23-22-16-12.MP4 13 62
2021-08-23-22-07-19.MP4 16 36 / 60 74
```
The `/` is used to create multiple splits from a single source