this post was submitted on 11 Oct 2023
57 points (98.3% liked)

Selfhosted

40183 readers
748 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

All the solutions I'm seeing are some third party service where I would have to upload my videos to them to get them transcribed.

all 17 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (3 children)
[–] [email protected] 4 points 1 year ago (1 children)

Okay yeah, I spun up a docker instance and this is cool as fuck. It seems to be exactly what OP is looking for. This is cool enough to be a post on its own tbh. It would be perfect in a ytdl workflow, as you can do the transcription by linking a video. I’ve been holding off on adding youtube to my Jellyfin setup for just this sort of tool. I hope the add the GPU accelerated faster-whisper models soon.

[–] [email protected] 2 points 1 year ago

Luckily I still had the project in my history! Glad it was useful.

[–] [email protected] 2 points 1 year ago

That looks perfect! Thank you!

[–] [email protected] 1 points 1 year ago

Oh that looks really cool, thank you for the link.

[–] [email protected] 12 points 1 year ago (3 children)

Here's one I've been playing with https://github.com/jhj0517/Whisper-WebUI
The small model of fast Whisper has been amazing for the 3 options it gives (files, YT, or recording), tho I have in mind the limitations and I've only used it with somewhat clear audio.

[–] [email protected] 5 points 1 year ago

I second this. Also, I have been experiencing with automating it, using https://hub.docker.com/r/onerahmet/openai-whisper-asr-webservice as a provider for Bazarr

[–] [email protected] 1 points 1 year ago

That looks pretty much what I'm looking for, thank you! I see instructions to run in Windows, but does it also work on Macs?

[–] [email protected] 6 points 1 year ago (1 children)

If you need it for media that has subtitles available somewhere, then there are plugins for that (ex. Jellyfin/Plex/Kodi)

If you're looking for something to automatically transcribe audio locally, I'm not as sure but others already suggested some

Which are you looking for?

[–] [email protected] 5 points 1 year ago (1 children)

My friend makes youtube videos and wants an easy way to subtitle them, as YouTube auto caption is crap.

[–] [email protected] 1 points 1 year ago (1 children)

What does he edit the video with? My video editing software does speech to text subtitles. Which is nice because I can edit where and how the subs are displayed.

[–] [email protected] 1 points 1 year ago

I'm not sure, I'll ask him

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

Maybe you don't even need that, at least for accessibility.

Windows for example now has exactly this feature, which is a speech-to-text-transformer powered by some "AI".

But, in contrast to the Bing chat, this works (afaik) offline by some FOSS-backend, which I don't know the name of anymore (maybe someone else will?) You could use that tool for live transcription. That is supposed to work extremely well!

Please correct my if I'm wrong, I don't use Windows anymore personally, and at work we have a business edition that doesn't ship this brand new feature yet.

(Side note: as strongly as I hate Windows, this feature is absolutely godsend for hearing-impaired people and should be adopted by every other OS!)

If you want to transcript movies and thereof in bulk by uploading them, I can't give you any information, sorry.

But I believe there are some sites that give you the "subtitle file" for download freely, which you can add manually for each movie in Plex/ Jellyfin.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Android does on-device transcription of any Audio source as well in recent versions!

The issue with providing this with open-source software is that it tends to require deep integration into the OS, which needs pretty much the same kinds of APIs that spyware also needs, so they get locked down a lot ...

For example on Android I'm pretty sure that a 3rd party play store app could not provide the same feature without requiring the user to click through some unavoidable, scary sounding warnings from the OS (if at all).

[–] [email protected] 2 points 1 year ago

AFAIK iOS and macOS have had this for some time now. I think since a couple years back it’s all local-only on newer devices as well.

[–] [email protected] 2 points 1 year ago

Might be janky, but if you really wanted this for free you could get a speech to text program like futo, play the video and have it transcribe it and save it to a text file, then copy and paste in the subtitles