Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcelog/subrebase
Displaces subtitles offsets in a .srt file "up" or "down" a number of seconds
https://github.com/marcelog/subrebase
Last synced: about 11 hours ago
JSON representation
Displaces subtitles offsets in a .srt file "up" or "down" a number of seconds
- Host: GitHub
- URL: https://github.com/marcelog/subrebase
- Owner: marcelog
- Created: 2013-01-13T14:22:11.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-13T14:23:05.000Z (almost 12 years ago)
- Last Synced: 2024-11-16T06:56:40.120Z (about 2 months ago)
- Language: Ruby
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
This is a useful tool to "rebase" a video subtitle an amount of seconds "up"
or "down". If you've just found the right subtitles for a video but they seem
to be out of sync with the audio, this might be useful to you.# How to use it
This tool accepts 3 arguments, in order:
* Amount of seconds to add or substract from each subtitle.
* Input .srt file.
* Output .srt file.## Positive offsets
subrebase 8 my_substitle.srt my_subtitle_rebased.srt## Negative offsets
subrebase -8 my_substitle.srt my_subtitle_rebased.srt