{"id":23424421,"url":"https://github.com/fcusson/srt-align","last_synced_at":"2025-04-09T11:18:44.783Z","repository":{"id":49550875,"uuid":"375691950","full_name":"fcusson/srt-align","owner":"fcusson","description":"a CLI tool to align a subrip file with video file","archived":false,"fork":false,"pushed_at":"2021-06-22T16:41:01.000Z","size":32730,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T05:19:29.424Z","etag":null,"topics":["srt","subrip","video-source"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fcusson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-10T12:37:14.000Z","updated_at":"2021-06-22T16:41:03.000Z","dependencies_parsed_at":"2022-09-21T11:00:34.415Z","dependency_job_id":null,"html_url":"https://github.com/fcusson/srt-align","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcusson%2Fsrt-align","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcusson%2Fsrt-align/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcusson%2Fsrt-align/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcusson%2Fsrt-align/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcusson","download_url":"https://codeload.github.com/fcusson/srt-align/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027412,"owners_count":21035594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["srt","subrip","video-source"],"created_at":"2024-12-23T04:17:44.196Z","updated_at":"2025-04-09T11:18:44.759Z","avatar_url":"https://github.com/fcusson.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SRT Align\nSRT Align is a CLI software that can edit timestamp in an SRT file (SubRip) to align the timing with the video Source. The tool can help for two types of offset:\n\n- **Shift**: help with different duration of files and one source is faster than the other\n- **Linear**: when the subtitle is always slightly before or being the video source due to wrong start time\n\n## Installation\n### Windows\n#### Installer\n1. Download the most recent release (srt-align_Setup.exe)\n2. Run the installer\n\n#### Manual\n1. Download the most recent release (srt-align.exe)\n2. Place the file in your folder of choice\n3. \u003cOptional\u003e Add the location of srt-align.exe to your environnement variable (PATH) for access from anywhere in cmd/powershell\n\n### Linux\n#### Manual\n1. Download the most recent release(srt-align)\n2. Place the file in your folder of choice\n3. \u003cOptional\u003e Add a symbolic link in /usr/local/bin\n\n## Usage\n\nThe structure of the commands for the tool is has followed:\n\n\u003e srt-align {--shift|--linear} [OPTIONS...] \\\u003cinput\u003e [output]\n\n### Options\n| Option         | Description                                                                                                                                              |\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| -h --help      | Show the help panel                                                                                                                                      |\n| -v --version   | Show the package version                                                                                                                                 |\n| -s --shift     | Shifts the timestamp of a file based on a mutiple ratio (floating point value) where 1 means no change.                                                  |\n| -l --linear    | Increase or decrease the timestamp value of a file based on a timestamp provided. The timestamp must be in a valid format for srt file ([-]##:##:##,###) |\n| -o --overwrite | Tells the program to overwrite the input file that was provided.                                                                                         |\n\nA choice must be made between a shift alignement and a linear alignement. Both cannot be inputed at the same time.\n\n### Input/Output\n- **input:** The input srt file that must be provided. This file is mandatory.\n- **output:** The ouptut file for the srt file after modification. This item is optional. If this value is ommited, the file will be named after the input name with \"-edited\" at the end. The file will be placed in the input file directory.\n\n\u003c!--## Contributing--\u003e\n\n## Licence\n[GPL3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcusson%2Fsrt-align","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcusson%2Fsrt-align","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcusson%2Fsrt-align/lists"}