Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 911225

Summary: kde-apps/kdenlive-23.04.3: Unpackaged optional dependencies for Speech-to-Text functionality
Product: Gentoo Linux Reporter: Patrick McMunn <doctorwhoguy>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick McMunn 2023-07-25 21:51:09 UTC
KDEnlive offers two modes for speech-to-text generation with which to automatically create subtitles for videos.

VOSK may have been available in earlier versions of KDEnlive, but I didn't know about it until recently. VOSK requires the dev-python/srt package which is not currently available in the main Gentoo repo but is available in the Guru overlay. It also requires the VOSK Python module which doesn't appear to be available in any overlay. Its homepage is https://github.com/alphacep/vosk-api

The new speech-to-text mode in KDEnlive is Whisper. Whisper requires sci-libs/pytorch, the same dev-python/srt package mentioned above, and the openai-whisper Python module which also does not appear to be available in any overlay. It's homepage is https://github.com/openai/whisper

So two new ebuilds will need to be written, but at least Python modules are easy. I may be able to do these if I have the time.
Comment 1 Andreas Sturmlechner gentoo-dev 2023-07-28 16:00:20 UTC
@bug wranglers: This is basically a new packages request. kde proj will not take on maintenance of foreign packages.

@bug reporter: You should open separate new package requests per-package.
Comment 2 Andreas Sturmlechner gentoo-dev 2023-07-30 15:57:42 UTC
- dev-python/srt appears to be in guru overlay.
- sci-libs/pytorch appears to be in ::gentoo.

If you want to work on it, you'll just have to decide which of (VOSK|whisper) is easier/more futureproof to do.