{"repo":"Nigh/subtitle-ass-shifter","free":true,"listed":false,"github":"https://github.com/Nigh/subtitle-ass-shifter","clone":"git clone https://github.com/Nigh/subtitle-ass-shifter.git","description":"CLI to shift .ass/.srt subtitle timestamps in bulk, with time range, regex filters, encoding override, and dry-run.","language":"Go","stars":58,"topics":["subtitle","subtitle-shifter","ass","cli","command-line-tool","go","srt","ass-subtitles","batch-processing","srt-subtitles"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"subtitle ass shifter Shift Subtitle of [ .ass , .srt ] format [!CAUTION] It will replace your subtitle, backup your subtitle files before run. Use --dry for test. From version v1.2.0 , the program will automatically convert subtitle files to UTF8 encoding. --dry will still scan files, match the target range, and print what would be shifted, but it will not write any changes back to disk . Usage Use --encoding when auto-detection picks the wrong charset (common with GBK/Shift JIS subtitles misread as Latin-1). The --start and --end parameters can be used to qualify the time range of the subtitle offset. The --startRegexp and --endRegexp parameters can be used to match the content of the subtitle with a regular expression as the start and end of the offset time range. --start and --startRegexp cannot be used together. --end and --endRegexp cannot be used together. However, the start condition and end condition can still be combined freely, for example --start with --endRegexp , or --startRegexp with --end . Example The start and end parameters are optional. They can also be used together. The program prints the result of the execution like the following. Dry run would NOT change your file. Good for test.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nigh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nigh/subtitle-ass-shifter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}