# SubReDo
Apply Cuts from a VideoReDo Project File to Subtitles.
[VideoReDo] allows you to make frame-accurate cuts without re-encoding the entire video or audio file. However, it does
not keep or cut Subtitles. That's where SubReDo comes in! Save your VideoReDo Project File (.Vprj) and pass it to
SubReDo, and it will apply the same cuts but on the Subtitle files.
> **Note**
> - Currently only SubRip (SRT) subtitles and Matroska Cut Exports are supported.<br/>
[VideoReDo]: <https://www.videoredo.com>
## Features
- Export VideoReDo Project to MKV automatically **(Windows Only)**
- Automatically Mux Subtitle Cuts to MKV Video Cut Exports
- Subtitle Flags and Metadata from Original Source are Retained
## Dependencies
- [FFmpeg](https://ffmpeg.org) for cutting the Subtitles at specific calculated timestamps.
- [SubtitleEdit](https://nikse.dk/subtitleedit) for offsetting the Subtitle captions to sync up with the Cut video.
Please make sure `ffmpeg` and `SubtitleEdit` can be found on your `PATH` Environment Variable, in your Current
Working Directory, or in SubReDo's Installation directory.
## Usage
```
Usage: subredo [OPTIONS] [PROJECTS]...
Apply Cuts from a VideoReDo Project File on Subtitles.
PROJECTS One or more VideoReDo project files (.Vprj) to read and apply cuts from.
You can alternatively specify a folder to search for .Vprj files from.
Subtitles are read from the source file of each project.
Options:
-o, --original-language TEXT Declare the Original Language for this Video's
Subtitle flags.
-c, --cut-video PATH Specify manually exported cut video from the
VideoReDo project file to mux the Subtitles
to.Otherwise, On Windows a new MKV will be
automatically exported next to the project
file.
-k, --keep-cut Keep the original Cut Video after multiplexing
a Cut Video with the Subtitles.
--help Show this message and exit.
```
## Contributors
<a href="https://github.com/rlaphoenix"><img src="https://images.weserv.nl/?url=avatars.githubusercontent.com/u/17136956?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt=""/></a>
## License
© 2023 rlaphoenix — [GNU General Public License, Version 3.0](LICENSE)
Raw data
{
"_id": null,
"home_page": "https://github.com/rlaphoenix/SubReDo",
"name": "subredo",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<3.12",
"maintainer_email": "",
"keywords": "python,subtitles,cut,editor",
"author": "rlaphoenix",
"author_email": "rlaphoenix@pm.me",
"download_url": "https://files.pythonhosted.org/packages/e9/ad/8bb609a9f2d80f4ab1fda0d510a820ae4cba858f7f1db96436f4d16b18bb/subredo-1.1.0.tar.gz",
"platform": null,
"description": "# SubReDo\n\nApply Cuts from a VideoReDo Project File to Subtitles.\n\n[VideoReDo] allows you to make frame-accurate cuts without re-encoding the entire video or audio file. However, it does\nnot keep or cut Subtitles. That's where SubReDo comes in! Save your VideoReDo Project File (.Vprj) and pass it to\nSubReDo, and it will apply the same cuts but on the Subtitle files.\n\n> **Note**\n> - Currently only SubRip (SRT) subtitles and Matroska Cut Exports are supported.<br/>\n\n [VideoReDo]: <https://www.videoredo.com>\n\n## Features\n\n- Export VideoReDo Project to MKV automatically **(Windows Only)**\n- Automatically Mux Subtitle Cuts to MKV Video Cut Exports\n- Subtitle Flags and Metadata from Original Source are Retained\n\n## Dependencies\n\n- [FFmpeg](https://ffmpeg.org) for cutting the Subtitles at specific calculated timestamps.\n- [SubtitleEdit](https://nikse.dk/subtitleedit) for offsetting the Subtitle captions to sync up with the Cut video.\n\nPlease make sure `ffmpeg` and `SubtitleEdit` can be found on your `PATH` Environment Variable, in your Current\nWorking Directory, or in SubReDo's Installation directory.\n\n## Usage\n\n```\nUsage: subredo [OPTIONS] [PROJECTS]...\n\n Apply Cuts from a VideoReDo Project File on Subtitles.\n\n PROJECTS One or more VideoReDo project files (.Vprj) to read and apply cuts from.\n You can alternatively specify a folder to search for .Vprj files from.\n Subtitles are read from the source file of each project.\n\nOptions:\n -o, --original-language TEXT Declare the Original Language for this Video's\n Subtitle flags.\n -c, --cut-video PATH Specify manually exported cut video from the\n VideoReDo project file to mux the Subtitles\n to.Otherwise, On Windows a new MKV will be\n automatically exported next to the project\n file.\n -k, --keep-cut Keep the original Cut Video after multiplexing\n a Cut Video with the Subtitles.\n --help Show this message and exit.\n```\n\n## Contributors\n\n<a href=\"https://github.com/rlaphoenix\"><img src=\"https://images.weserv.nl/?url=avatars.githubusercontent.com/u/17136956?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d\" alt=\"\"/></a>\n\n## License\n\n\u00a9 2023 rlaphoenix \u2014 [GNU General Public License, Version 3.0](LICENSE)\n",
"bugtrack_url": null,
"license": "",
"summary": "Apply Cuts from VideoReDo Project Files to Subtitles.",
"version": "1.1.0",
"project_urls": {
"Bug Tracker": "https://github.com/rlaphoenix/SubReDo/issues",
"Changelog": "https://github.com/rlaphoenix/SubReDo/blob/master/CHANGELOG.md",
"Forums": "https://github.com/rlaphoenix/SubReDo/discussions",
"Homepage": "https://github.com/rlaphoenix/SubReDo",
"Repository": "https://github.com/rlaphoenix/SubReDo"
},
"split_keywords": [
"python",
"subtitles",
"cut",
"editor"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "37aff856376f1c8535e4639f977dfa25a9ee7847472dffc4050facae291eab8b",
"md5": "be50a1d792f879f024560a2394b621ac",
"sha256": "fe5641ad8bdf6cf12827f86227b4319a20562d49013d18b13fd12133190da892"
},
"downloads": -1,
"filename": "subredo-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be50a1d792f879f024560a2394b621ac",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<3.12",
"size": 24018,
"upload_time": "2023-08-17T08:15:53",
"upload_time_iso_8601": "2023-08-17T08:15:53.899668Z",
"url": "https://files.pythonhosted.org/packages/37/af/f856376f1c8535e4639f977dfa25a9ee7847472dffc4050facae291eab8b/subredo-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e9ad8bb609a9f2d80f4ab1fda0d510a820ae4cba858f7f1db96436f4d16b18bb",
"md5": "01836ce8eed08aad99d037afe191b262",
"sha256": "ad335dca75cbdef1a5fc5fa2bf3a5170e0c4b9d3f3dac399eddfd7c9aa5fec30"
},
"downloads": -1,
"filename": "subredo-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "01836ce8eed08aad99d037afe191b262",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<3.12",
"size": 22677,
"upload_time": "2023-08-17T08:15:55",
"upload_time_iso_8601": "2023-08-17T08:15:55.425495Z",
"url": "https://files.pythonhosted.org/packages/e9/ad/8bb609a9f2d80f4ab1fda0d510a820ae4cba858f7f1db96436f4d16b18bb/subredo-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-17 08:15:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rlaphoenix",
"github_project": "SubReDo",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "subredo"
}