/pycaption

Python module to read/write popular video caption formats

Primary LanguagePythonApache License 2.0Apache-2.0

py-caption

Unit Tests Python Versions pre-commit Dependencies License

pycaption is a caption reading/writing module. Use one of the given Readers to read content into a CaptionSet object, and then use one of the Writers to output the CaptionSet into captions of your desired format.

Tested with Python versions 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11. (for Python 2 use pycaption < 1.0.0)

For details, see the documentation.

License

This module is Copyright (c) 2012-2024 PBS.org and is available under the Apache License, Version 2.0.