this post was submitted on 09 Jan 2025
483 points (99.2% liked)

Opensource

1699 readers
65 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] FundMECFSResearch@lemmy.blahaj.zone 190 points 2 weeks ago (4 children)

I know people are gonna freak out about the AI part in this.

But as a person with hearing difficulties this would be revolutionary. So much shit I usually just can’t watch because open subtitles doesn’t have any subtitles for it.

[–] kautau@lemmy.world 116 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

The most important part is that it’s a local ~~LLM~~ model running on your machine. The problem with AI is less about LLMs themselves, and more about their control and application by unethical companies and governments in a world driven by profit and power. And it’s none of those things, it’s just some open source code running on your device. So that’s cool and good.

[–] technomad@slrpnk.net 40 points 2 weeks ago (3 children)

Also the incessant ammounts of power/energy that they consume.

[–] jsomae@lemmy.ml 21 points 2 weeks ago (10 children)

Running an llm llocally takes less power than playing a video game.

[–] vividspecter@lemm.ee 13 points 2 weeks ago (2 children)

The training of the models themselves also takes a lot of power usage.

load more comments (2 replies)
load more comments (9 replies)
load more comments (2 replies)
[–] mormund@feddit.org 41 points 2 weeks ago (2 children)

Yeah, transcription is one of the only good uses for LLMs imo. Of course they can still produce nonsense, but bad subtitles are better none at all.

load more comments (2 replies)
[–] hushable@lemmy.world 19 points 2 weeks ago

Indeed, YouTube had auto generated subtitles for a while now and they are far from perfect, yet I still find it useful.

load more comments (1 replies)
[–] TheImpressiveX@lemm.ee 93 points 2 weeks ago (2 children)

Et tu, Brute?

VLC automatic subtitles generation and translation based on local and open source AI models running on your machine working offline, and supporting numerous languages!

Oh, so it's basically like YouTube's auto-generatedd subtitles. Never mind.

[–] neme@lemm.ee 68 points 2 weeks ago (12 children)

Hopefully better than YouTube's, those are often pretty bad, especially for non-English videos.

They are terrible.

[–] wazzupdog@lemmy.blahaj.zone 23 points 2 weeks ago (2 children)

They're awful for English videos too, IMO. Anyone with any kind of accent(read literally anyone except those with similar accents to the team that developed the auto-caption) it makes egregious errors, it's exceptionally bad with Australian, New Zealand, English, Irish, Scottish, Southern US, and North Eastern US. I'm my experience "using" it i find it nigh unusable.

load more comments (2 replies)
[–] moosetwin@lemmy.dbzer0.com 17 points 2 weeks ago (2 children)

Youtube's removal of community captions was the first time I really started to hate youtube's management, they removed an accessibility feature for no good reason, making my experience with it significantly worse. I still haven't found a replacement for it (at least, one that actually works)

[–] moosetwin@lemmy.dbzer0.com 18 points 2 weeks ago

and if you are forced to use the auto-generated ones remember no [__] swearing either! as we all know disabled people are small children who need to be coddled!

load more comments (1 replies)
[–] MoSal@lemm.ee 9 points 2 weeks ago (1 children)

I've been working on something similar-ish on and off.

There are three (good) solutions involving open-source models that I came across:

  • KenLM/STT
  • DeepSpeech
  • Vosk

Vosk has the best models. But they are large. You can't use the gigaspeech model for example (which is useful even with non-US english) to live-generate subs on many devices, because of the memory requirements. So my guess would be, whatever VLC will provide will probably suck to an extent, because it will have to be fast/lightweight enough.

What also sets vosk-api apart is that you can ask it to provide multiple alternatives (10 is usually used).

One core idea in my tool is to combine all alternatives into one text. So suppose the model predicts text to be either "... still he ..." or "... silly ...". My tool can give you "... (still he|silly) ..." instead of 50/50 chancing it.

[–] fartsparkles@sh.itjust.works 7 points 2 weeks ago

I love that approach you’re taking! So many times, even in shows with official subs, they’re wrong because of homonyms and I’d really appreciate a hedged transcript.

load more comments (8 replies)
[–] GenderNeutralBro@lemmy.sdf.org 17 points 2 weeks ago (6 children)

In my experiments, local Whisper models I can run locally are comparable to YouTube's — which is to say, not production-quality but certainly better then nothing.

I've also had some success cleaning up the output with a modest LLM. I suspect the VLC folks could do a good job with this, though I'm put off by the mention of cloud services. Depends on how they implement it.

load more comments (6 replies)
[–] Evil_Shrubbery@lemm.ee 67 points 2 weeks ago

All hail the peak humanity levels of VLC devs.

FOSS FTW

[–] cupcakezealot@lemmy.blahaj.zone 59 points 2 weeks ago (7 children)

accessibility is honestly the first good use of ai. i hope they can find a way to make them better than youtube's automatic captions though.

[–] HK65@sopuli.xyz 17 points 2 weeks ago

There are other good uses of AI. Medicine. Genetics. Research, even into humanities like history.

The problem always was the grifters who insist calling any program more complicated than adding two numbers AI in the first place, trying to shove random technologies into random products just to further their cancerous sales shell game.

The problem is mostly CEOs and salespeople thinking they are software engineers and scientists.

[–] jol@discuss.tchncs.de 13 points 2 weeks ago

The app Be My Eyes pivoted from crowd sourced assistance to the blind, to using AI and it's just fantastic. AI is truly helping lots of people in certain applications.

[–] yonder@sh.itjust.works 11 points 2 weeks ago

I know Jeff Geerling on Youtube uses OpenAIs Whisper to generate captions for his videos instead of relying on Youtube's. Apparently they are much better than Youtube's being nearly flawless. I would have a guess that Google wants to minimize the compute that they use when processing videos to save money.

[–] hector@sh.itjust.works 8 points 2 weeks ago

While LLMs are truly impressive feats of engineering, it's really annoying to witness the tech hype train once again.

load more comments (3 replies)
[–] pastaPersona@lemmy.world 43 points 2 weeks ago (3 children)

I know AI has some PR issues at the moment but I can’t see how this could possibly be interpreted as a net negative here.

In most cases, people will go for (manually) written subtitles rather than autogenerated ones, so the use case here would most often be in cases where there isn’t a better, human-created subbing available.

I just can’t see AI / autogenerated subtitles of any kind taking jobs from humans because they will always be worse/less accurate in some way.

[–] x00z@lemmy.world 20 points 2 weeks ago (1 children)

Autogenerated subtitles are pretty awesome for subtitle editors I'd imagine.

[–] vrighter@discuss.tchncs.de 27 points 2 weeks ago (1 children)

even if they get the words wrong, but the timestamps right, it'd still save a lot of time

[–] glimse@lemmy.world 8 points 2 weeks ago (6 children)

We started doing subtitling near the end of my time as an editor and I had to create the initial English ones (god forbid we give the translation company another couple hundred bucks to do it) and yeah....the timestamps are the hardest part.

I can type at 120 wpm but that's not very helpful when you can only write a sentence at a time

load more comments (6 replies)
[–] ArgentRaven@lemmy.world 12 points 2 weeks ago (1 children)

Yeah this is exactly what we should want from AI. Filling in an immediate need, but also recognizing it won't be as good as a pro translation.

load more comments (1 replies)
load more comments (1 replies)
[–] mhague@lemmy.world 37 points 2 weeks ago

Solving problems related to accessibility is a worthy goal.

[–] Alice@beehaw.org 32 points 2 weeks ago (1 children)

My experience with generated subtitles is that they're awful. Hopefully these are better, but I wish human beings with brains would make them.

[–] lime@feddit.nu 26 points 2 weeks ago (4 children)

subtitling by hand takes sooooo fucking long :( people who do it really are heroes. i did community subs on youtube when that was a thing and subtitling + timing a 20 minute video took me six or seven hours, even with tools that suggested text and helped align it to sound. your brain instantly notices something is off if the subs are unaligned.

[–] Alice@beehaw.org 15 points 2 weeks ago (1 children)

Oh shit, I knew it was tedious but it sounds like I seriously underestimated how long it takes. Good to know, and thanks for all you've done.

Sounds to me like big YouTubers should pay subtitlers, but that's still a small fraction of audio/video content in existence. So yeah, I guess a better wish would be for the tech to improve. Hopefully it's on the right track.

load more comments (1 replies)
load more comments (3 replies)
[–] Feathercrown@lemmy.world 23 points 2 weeks ago (1 children)

And yet they still can't seek backwards

[–] OsrsNeedsF2P@lemmy.ml 29 points 2 weeks ago (2 children)

Iirc this is because of how they've optimized the file reading process; it genuinely might be more work to add efficient frame-by-frame backwards seeking than this AI subtitle feature.

That said, jfc please just add backwards seeking. It is so painful to use VLC for reviewing footage. I don't care how "inefficient" it is, my computer can handle any operation on a 100mb file.

[–] Feathercrown@lemmy.world 11 points 2 weeks ago (1 children)

If you have time to read the issue thread about it, it's infuriating. There are multiple viable suggestions that are dismissed because they don't work in certain edge cases where it would be impossible for any method at all to work, and which they could simply fail gracefully for.

[–] stevestevesteve@lemmy.world 7 points 2 weeks ago (2 children)

That kind of attitude in development drives me absolutely insane. See also: support for DHCPv6 in Android. There's a thread that has been raging for I think over a decade now

load more comments (2 replies)
load more comments (1 replies)
[–] nossaquesapao@lemmy.eco.br 22 points 2 weeks ago

It's nice to see a good application of ai. I hope my low end stuff will be able to run it.

[–] Sunshine@lemmy.ca 21 points 2 weeks ago (1 children)
load more comments (1 replies)
[–] moosetwin@lemmy.dbzer0.com 13 points 2 weeks ago (2 children)

I don't mind the idea, but I would be curious where the training data comes from. You can't just train them off of the user's (unsubtitled) videos, because you need subtitles to know if the output is right or wrong. I checked their twitter post, but it didn't seem to help.

[–] leftytighty@slrpnk.net 17 points 2 weeks ago (1 children)

subtitles aren't a unique dataset it's just audio to text

[–] nova_ad_vitum@lemmy.ca 12 points 2 weeks ago (2 children)

They may have to give it some special training to be able to understand audio mixed by the Chris Nolan school of wtf are they saying.

load more comments (2 replies)
[–] Warl0k3@lemmy.world 8 points 2 weeks ago

I hope they're using Open Subtitles, or one of the many academic Speech To Text datasets that exist.

[–] clutchtwopointzero@lemmy.world 12 points 2 weeks ago (1 children)

I am still waiting for seek previews

load more comments (1 replies)
[–] DepressedMan@reddthat.com 10 points 2 weeks ago

Perhaps we could also get a built-in AI tool for automatic subtitle synchronization?

[–] jagged_circle@feddit.nl 9 points 2 weeks ago (6 children)
load more comments (6 replies)
[–] r_deckard@lemmy.world 8 points 2 weeks ago

I've been waiting for ~~this~~ break-free playback for a long time. Just play Dark Side of the Moon without breaks in between tracks. Surely a single thread could look ahead and see the next track doesn't need any different codecs launched, it's technically identical to the current track, there's no need to have a break. /rant

[–] mlg@lemmy.world 7 points 2 weeks ago

Still no live audio encoding without CLI (unless you stream to yourself), so no plug and play with Dolby/DTS

Encoding params still max out at 512 kpbs on every codec without CLI.

Can't switch audio backends live (minor inconvenience, tbh)

Creates a barely usable non standard M3A format when saving a playlist.

I think that's about my only complaints for VLC. The default subtitles are solid, especially with multiple text boxes for signs. Playback has been solid for ages. Handles lots of tracks well, and doesn't just wrap ffmpeg so it's very useful for testing or debugging your setup against mplayer or mpv.

load more comments
view more: next ›