bazarr/libs/fese-0.3.0.dist-info/METADATA
2024-07-09 18:52:51 -04:00

35 lines
655 B
Plaintext

Metadata-Version: 2.1
Name: fese
Version: 0.3.0
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)
```