Awesome Open Source
Awesome Open Source

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:

from subfix.converter.manager import converter_manager


converter_manager.convert('/home/user/movies/system-crasher-2019/english_sub.srt')

Batch:

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.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,120,001
Tool (6,317
Converter (1,974
Encoding (795
Movie (654
Subtitles (557
Utf 8 (294
Srt (170
Related Projects