Offsets the timings in mis-aligned subrip subtitles files
License
caoilteguiry/subtitles_offsetting
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This script reads a subrip subtitles file (a.k.a. a .srt file) and offsets the timings in the file by a specified amount. Some media players provide this facility already, but some do not, so I thought it would be a useful tool to develop. Usage: python fix_subtitles_timings.py <seconds_offset> <subtitles_file> Examples: python fix_subtitles_timings.py +5 film.srt # offset by +5 seconds python fix_subtitles_timings.py -15 film.srt # offset by -15 seconds seconds_offset can be a positive or a negative value subtitles_file must be in the subrip format. It shouldn't be too hard to rewrite to accomodate other formats.
About
Offsets the timings in mis-aligned subrip subtitles files
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published