Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scottdillman/srt2docx
Convert srt files to tables and save as docx
https://github.com/scottdillman/srt2docx
docx-generator python3 srt-subtitles
Last synced: 15 days ago
JSON representation
Convert srt files to tables and save as docx
- Host: GitHub
- URL: https://github.com/scottdillman/srt2docx
- Owner: ScottDillman
- License: mit
- Created: 2024-06-27T00:25:09.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-01T00:39:48.000Z (4 months ago)
- Last Synced: 2024-10-03T12:44:44.862Z (about 1 month ago)
- Topics: docx-generator, python3, srt-subtitles
- Language: Python
- Homepage: https://dreamcyclestudios.com
- Size: 364 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
srt2docx
Convert srt files to tables in docx
This assumes you have a bash environment.
### Installation
- Run `make setup`, to initialise environment and create the vitual python environment
- Source the init script `source source-me`, to activate the python environment### Running
- Copy `srt2docx_settings_example.yaml` to `srt2docx_settings.yaml` and add your preferences.
- Go to directory with input files.
- execute the script `srt2docx` with the full path, or if you source the `source-me` file it will get added to your path and you can just use `srt2docx` without the path.### Watermarks
If you want to use or change the watermark, put the file in the assets directory, and put the file name in the yaml.
The script will look in the assets directory for all images.After a sucessful run you should have docx files that share the same base name with the input files except with a `.docx` extension. Errors should be reported to std out.
>Any questions or comments [Scott Dillman](mailto:[email protected])
Licensed under MIT.