https://github.com/half2me/timecode-v2-cleaner
Linter and cleaner for the timecode v2 format
https://github.com/half2me/timecode-v2-cleaner
Last synced: 9 months ago
JSON representation
Linter and cleaner for the timecode v2 format
- Host: GitHub
- URL: https://github.com/half2me/timecode-v2-cleaner
- Owner: half2me
- License: mit
- Created: 2022-11-10T18:58:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T14:33:19.000Z (over 3 years ago)
- Last Synced: 2024-12-06T21:55:18.834Z (over 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# timecode-v2-cleaner
Linter and cleaner for the timecode v2 format
This will remove any garbage from the timecode file, as well as make sure the timecode is monotone increasing (required by [mp4fpmsod](https://github.com/nu774/mp4fpsmod)). It fixes timecode by taking bad timestamp values and increasing them by a little* compared to the previous timestamp. The precision is 4 decimal places by default, but this can be adjusted with the `--precision n` flag.
Usage:
```
timecode-v2-cleaner --out fixed.txt original_timecode_v2_file.txt
```
Example timecode files:
https://github.com/nmaier/mkvtoolnix/blob/master/examples/example-timecodes-v2.txt