bazarr/libs/fese-0.2.9.dist-info/METADATA

35 lines
655 B
Plaintext

Metadata-Version: 2.1
Name: fese
Version: 0.2.9
Summary: A library to extract FFmpeg subtitle streams
Author-email: Vitiko Nogales <averroista@protonmail.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: babelfish
Requires-Dist: pysubs2
# fese
A library to extract FFmpeg subtitle streams
## Usage
```python
import logging
import sys
from fese.container import FFprobeVideoContainer
logging.basicConfig(level=logging.DEBUG)
video_path = sys.argv[1]
video = fese.FFprobeVideoContainer(video_path)
subtitles = video.get_subtitles()
paths = video.extract_subtitles(subtitles)
print(paths)
```