• katy ✨
    link
    fedilink
    arrow-up
    22
    ·
    10 hours ago

    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.

    • yonder@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      9 hours 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.

  • Not a replicant@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 hours 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

      • GolfNovemberUniform@infosec.pub
        link
        fedilink
        English
        arrow-up
        11
        ·
        11 hours ago

        VLC doesn’t innovate. And it’s basically dead on Linux.

        Afaik it’s false. It had a major update recently and it’s installed on a lot of Linux systems.

        • BB_C@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          11 hours ago

          installed on a lot of Linux systems.

          Fake info. It would be fake too if you made the opposite claim. Because such info is simply not available.

          VLC being an MPlayer clone with better branding has been a running half-joke for decades.

          The latest released version of VLC is not compatible with ffmpeg versions > 4.4 🤗. Some distros have actually considered dropping the package for that reason. Maybe some did, I don’t know. But if the situation doesn’t change, some definitely will.

          And VLC 4, which those who still care for some reason have been waiting for it to be released for years, is centered around libplacebo, a library that was factored out of mpv 😎 .

          I’m not emotionally charged against VLC or anything. In fact, I occasionally use it on Android. But what’s stated above is just facts.

  • Kit
    link
    fedilink
    arrow-up
    5
    ·
    12 hours ago

    This is great timing considering the recent Open Subtitles fiasco.

  • moosetwin@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    17
    ·
    16 hours ago

    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.

      • nova_ad_vitum@lemmy.ca
        link
        fedilink
        arrow-up
        11
        ·
        13 hours ago

        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.

        • MDCCCLV@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 hours ago

          No, if you have a center track you can just use that. Volume isn’t a problem for a computer listening to it since they don’t use the physical speakers.

    • Warl0k3@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      15 hours ago

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

  • FundMECFSResearch
    link
    fedilink
    arrow-up
    148
    ·
    23 hours ago

    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
      link
      fedilink
      arrow-up
      87
      ·
      edit-2
      21 hours ago

      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.

            • jsomae@lemmy.ml
              link
              fedilink
              arrow-up
              6
              ·
              edit-2
              9 hours ago

              I don’t have a source for that, but the most that any locally-run program can cost in terms of power is basically the sum of a few things: maxed-out gpu usage, maxed-out cpu usage, maxed-out disk access. GPU is by far the most power-consuming of these things, and modern video games make essentially the most possible use of the GPU that they can get away with.

              Running an LLM locally can at most max out usage of the GPU, putting it in the same ballpark as a video game. Typical usage of an LLM is to run it for a few seconds and then submit another query, so it’s not running 100% of the time during typical usage, unlike a video game (where it remains open and active the whole time, GPU usage dips only when you’re in a menu for instance.)

              Data centers drain lots of power by running a very large number of machines at the same time.

              • msage@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                2 hours ago

                From what I know, local LLMs take minutes to process a single prompt, not seconds, but I guess that depends on the use case.

                But also games, dunno about maxing GPU in most games. I maxed mine for crypto mining, and that was power hungry. So I would put LLMs closer to crypto than games.

                Not to mention games will entertain you way more for the same time.

        • Sixty@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 hours ago

          Curious how resource intensive AI subtitle generation will be. Probably fine on some setups.

          Trying to use madVR (tweaker’s video postprocessing) in the summer in my small office with an RTX 3090 was turning my office into a sauna. Next time I buy a video card it’ll be a lower tier deliberately to avoid the higher power draw lol.

    • mormund@feddit.org
      link
      fedilink
      arrow-up
      36
      ·
      21 hours ago

      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.

    • hushable@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      21 hours ago

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

  • TheImpressiveX@lemm.ee
    link
    fedilink
    English
    arrow-up
    79
    ·
    23 hours ago

    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.

    • Nemeski@lemm.eeOP
      link
      fedilink
      arrow-up
      57
      ·
      23 hours ago

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

      • moosetwin@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        9
        ·
        16 hours ago

        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
          link
          fedilink
          English
          arrow-up
          9
          ·
          16 hours 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!

        • SuperSpruce@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          10 hours ago

          Same here. It kick-started my hatred of YouTube, and they continued to make poor decision after poor decision.

      • wazzupdog (they/them)
        link
        fedilink
        arrow-up
        20
        ·
        22 hours ago

        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.

      • MoSal@lemm.ee
        link
        fedilink
        arrow-up
        8
        ·
        22 hours ago

        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
          link
          fedilink
          arrow-up
          6
          ·
          22 hours 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.

    • GenderNeutralBro@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      14
      ·
      22 hours ago

      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.

      • IrateAnteater@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        21 hours ago

        Since VLC runs on just about everything, I’d imagine that the cloud service will be best for the many devices that just don’t have the horsepower to run an LLM locally.

        • GenderNeutralBro@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 hours ago

          True. I guess they will require you to enter your own OpenAI/Anthropic/whatever API token, because there’s no way they can afford to do that centrally. Hopefully you can point it to whatever server you like (such as a selfhosted ollama or similar).

        • zurohki@aussie.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          21 hours ago

          It’s not just computing power - you don’t always want your device burning massive amounts of battery.

        • GenderNeutralBro@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          20 hours ago

          Cool, thanks for sharing!

          I see you prompt it to “Make sure to only use knowledge found in the following audio transcription”. Have you found that sufficient to eliminate hallucination and going off track?

          • troed@fedia.io
            link
            fedilink
            arrow-up
            2
            ·
            20 hours ago

            Yes I have been impressed with the quality of summaries keeping to the content. I have seen, rare, attribution errors though, where who said what got mixed up in unfortunate ways.

  • Alice@beehaw.org
    link
    fedilink
    arrow-up
    32
    ·
    20 hours ago

    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
      link
      fedilink
      English
      arrow-up
      22
      ·
      18 hours ago

      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
        link
        fedilink
        arrow-up
        13
        ·
        17 hours ago

        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.

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          4
          ·
          17 hours ago

          i just did it for one video :P it really is tedious and thankless though so it would be a great application of ml.

      • Nate@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        18 hours ago

        I did this for a couple videos too. It’s actually still a thing, it was just so time consuming for no pay that almost nobody did it, so creators don’t check the box to allow people to contribute subs

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      arrow-up
      26
      ·
      17 hours ago

      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
        link
        fedilink
        English
        arrow-up
        9
        ·
        13 hours ago

        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
          link
          fedilink
          arrow-up
          6
          ·
          12 hours ago

          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

  • pastaPersona@lemmy.world
    link
    fedilink
    arrow-up
    44
    ·
    22 hours ago

    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
      link
      fedilink
      English
      arrow-up
      15
      ·
      21 hours ago

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

    • Kilgore Trout@feddit.it
      link
      fedilink
      English
      arrow-up
      6
      ·
      18 hours ago

      I can’t see how this could possibly be interpreted as a net negative here

      Not judging this as bad or good, but for sure if it’s offline generated it will bloat the size of the program.