Add transcription doc for remote runners

This commit is contained in:
Chocobozzz 2024-07-01 14:32:53 +02:00
parent a7fc7c97a6
commit 85678854c2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -119,7 +119,7 @@ peertube-cli redundancy remove --video 823
## PeerTube runner
PeerTube >= 5.2 supports VOD or Live transcoding by a remote PeerTube runner.
PeerTube supports VOD/Live transcoding and VOD transcription (PeerTube >= 6.2) by a remote PeerTube runner.
### Runner installation
@ -131,6 +131,12 @@ ffprobe -version # Should be >= 4.3
ffmpeg -version # Should be >= 4.3
```
If you want to use video transcription:
```bash
pip install whisper-ctranslate2 # or pipx install whisper-ctranslate2 depending on your distribution
```
Then install the CLI:
```bash
@ -149,7 +155,7 @@ peertube-runner [commands] --id instance-2
peertube-runner [commands] --id instance-3
```
You can change the runner configuration (jobs concurrency, ffmpeg threads/nice etc) by editing `~/.config/peertube-runner-nodejs/[id]/config.toml`.
You can change the runner configuration (jobs concurrency, ffmpeg threads/nice, whisper engines/models, etc.) by editing `~/.config/peertube-runner-nodejs/[id]/config.toml`.
### Run the server