howto:srt-time-shift
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howto:srt-time-shift [2022/06/13 12:49] – created Wulf Rajek | howto:srt-time-shift [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SRT time shift ====== | ====== SRT time shift ====== | ||
- | This script | + | This script |
+ | |||
+ | usage: | ||
+ | < | ||
+ | #add 1 second | ||
+ | python3 srt_shift.py subtitle.srt +1 > subtitle_new.srt | ||
+ | |||
+ | #subtract 1 second | ||
+ | python3 srt_shift.py subtitle.srt -1 > subtitle_new.srt | ||
+ | </ | ||
<code - srt_shift.py> | <code - srt_shift.py> |
howto/srt-time-shift.1655120971.txt.gz · Last modified: (external edit)