https://github.com/mononobi/subfix
Simple subtitle encoding fixer.
https://github.com/mononobi/subfix
converter cp1256 encoding fixer movie srt subtitle text-encoding tool utf-8 utf8 windows-1256
Last synced: 11 months ago
JSON representation
Simple subtitle encoding fixer.
- Host: GitHub
- URL: https://github.com/mononobi/subfix
- Owner: mononobi
- License: gpl-3.0
- Created: 2020-07-15T18:07:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-09T10:11:15.000Z (about 3 years ago)
- Last Synced: 2025-03-08T14:42:44.116Z (11 months ago)
- Topics: converter, cp1256, encoding, fixer, movie, srt, subtitle, text-encoding, tool, utf-8, utf8, windows-1256
- Language: Python
- Homepage:
- Size: 88.9 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Subfix
A simple subtitle encoding fixer.
Subfix is a utility package which helps to convert subtitle file encodings.
# Features
- Single File Conversion
- Batch Conversion
# Installing
**Install using pip**:
**`pip install subfixio`**
# Example:
*Single:*
```python
from subfix.converter.manager import converter_manager
converter_manager.convert('/home/user/movies/system-crasher-2019/english_sub.srt')
```
*Batch:*
```python
from subfix.converter.manager import converter_manager
converter_manager.batch_convert('/home/user/movies/system-crasher-2019')
```
*Both methods accept extra optional inputs to customize the conversion.*
*Read the docstrings for more information on extra options.*