Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lehigh-university-libraries/islandora_vtt
Support generating and displaying VTT files for audio and video files in your Islandora repository
https://github.com/lehigh-university-libraries/islandora_vtt
Last synced: 3 days ago
JSON representation
Support generating and displaying VTT files for audio and video files in your Islandora repository
- Host: GitHub
- URL: https://github.com/lehigh-university-libraries/islandora_vtt
- Owner: lehigh-university-libraries
- Created: 2024-10-03T20:30:15.000Z (about 2 months ago)
- Default Branch: 1.0.x
- Last Pushed: 2024-10-28T11:21:21.000Z (23 days ago)
- Last Synced: 2024-10-28T14:46:12.249Z (23 days ago)
- Language: JavaScript
- Homepage: https://www.drupal.org/project/islandora_vtt
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Islandora VTT
Support generating and displaying VTT files for audio and video
## Install
This module can be installed on your site using the typical Drupal install process
```
composer require drupal/islandora_vtt
drush en islandora_vtt
```### Update Islandora Contexts
Update your audio and video derivative contexts at `/admin/structure/context` to also trigger the `Create VTT file from Audio or Video` action.
### Deploy microservice
In order to have the VTT files generated, you'll need to have the scyllaridae OpenAI Whisper microservice available in your stack.
#### docker-compose
Add the microservice to your docker compose
```
whisper-dev: &whisper
<<: [*dev, *common]
image: lehighlts/scyllaridae-whisper:main
networks:
default:
aliases:
- whisper
whisper-prod:
<<: [*prod, *whisper]
```#### kubernetes
See [service/deployment manifest in scyllaridae repo](https://github.com/lehigh-university-libraries/scyllaridae/blob/main/ci/k8s/whisper.yaml)
### Configure alpaca
You'll also need to add `whisper` to `derivative.systems.installed` in your `alpaca.properties` by adding that string to the `ALPACA_DERIVATIVE_SYSTEMS` environment variable in your alpaca service.
```
ALPACA_DERIVATIVE_SYSTEMS=whisper
```You'll also need to define the service in alpaca.properties.tmpl
```
derivative.whisper.enabled=true
derivative.whisper.in.stream=queue:islandora-connector-whisper
# this url may be different if deploying via kubernetes
derivative.whisper.service.url=http://whisper:8080
derivative.whisper.concurrent-consumers=1
derivative.whisper.max-concurrent-consumers=-1
derivative.whisper.async-consumer=true
```