Skip to main content

A simple file and folder browser for Panda3D

Project description

Panda3D Subtitler

A subtitle reader/renderer for the Panda3D game engine

Features

This library extends the game engine by a simple subtitle reader/renderer. You just open an existing subtitle file, sync it to the audio or video and you'll have subtitles in your panda3d application.

Currently this library only supports SubRip subtitle (.srt) files.

Install

Install the subtitler via pip

pip install panda3d-subtitler

How to use

To add a browser instance to your running Panda3D application, just instantiate it like shown here:

from subtitler.subtitler import Subtitler

mySound = loader.loadSfx("someAudioFile.ogg")

subtitles = Subtitler("subtitles")
subtitles.loadSubtitleFile("./mySubtitles.srt")
subtitles.synchronizeToAudio(mySound)

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

panda3d-subtitler-22.6.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

panda3d_subtitler-22.6-py3-none-any.whl (2.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