Skip to main content

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.9.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

fese-0.2.9-py3-none-any.whl (20.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page