From 85678854c2e32343ed2cffa3f2488a6508ffa02d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 1 Jul 2024 14:32:53 +0200 Subject: [PATCH] Add transcription doc for remote runners --- support/doc/tools.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/support/doc/tools.md b/support/doc/tools.md index d54190bd2..e505a5900 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -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