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 details)

Uploaded Source

Built Distribution

panda3d_subtitler-22.6-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file panda3d-subtitler-22.6.tar.gz.

File metadata

  • Download URL: panda3d-subtitler-22.6.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for panda3d-subtitler-22.6.tar.gz
Algorithm Hash digest
SHA256 a910609acac2c50d8f6a329a2e19a0396771bce1ff602275e24b4c58b8a9770d
MD5 4caedbbe5c3e95883b91d368ec239293
BLAKE2b-256 1d701f0792a217218a5cd4e2cbe32b2287466bfafc39709dc49a27b50d661172

See more details on using hashes here.

Provenance

File details

Details for the file panda3d_subtitler-22.6-py3-none-any.whl.

File metadata

File hashes

Hashes for panda3d_subtitler-22.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a5e6774281406e4416e276b270b8b7638d3bb83c4d1422ac4689adc5154e35d0
MD5 0ed6358b8a11e57600fbfa346ea6838e
BLAKE2b-256 11f7f78b05f0992adc6513eab0e6d4442313a81aa9dae0839b5bfc6930d5d3bd

See more details on using hashes here.

Provenance

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