A library to extract FFmpeg subtitle streams
Project description
fese
A library to extract FFmpeg subtitle streams
Usage
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fese-0.2.7.tar.gz
(21.8 kB
view hashes)
Built Distribution
fese-0.2.7-py3-none-any.whl
(20.1 kB
view hashes)