I work on OpenSubs, a free, open source (AGPL-3.0) subtitle tool that runs entirely in the browser tab.

You drop in a video file, and Whisper transcribes it on your own machine, using transformers.js with WebGPU where available and WebAssembly otherwise. The model (40–250 MB) downloads once and is cached. There is no upload endpoint in the product, so the video has nowhere to go.

After that you can:

  • fix lines by typing over them (click a timestamp to jump to that moment)
  • translate into 20 languages with Chrome’s built-in on-device translator
  • pick one of 12 caption styles, including word-by-word highlighting
  • export SRT / VTT / ASS, or burn the subtitles into an MP4 (libass compiled to WebAssembly, encoded with WebCodecs)

A few things I learned building it:

  • Whisper hallucinates on silence and music (“Thanks for watching!”, or the Japanese equivalent). A Silero VAD pass runs before Whisper, and a cleanup step drops the known stock phrases.
  • Singing doesn’t count as speech for the VAD, so a music video gets a “no speech found” warning. You can still force it.

Honest limits: it only takes video files, not audio-only files. Cue timings can’t be edited yet. Builds are release candidates. Everything that runs locally is free with no account; the only paid part is optional cloud translation on our backend (US$5 for 1000 credits), and you can bring your own Claude / OpenAI / DeepL key instead.

Site: https://opensubs.app/ Code: https://github.com/open-subs/opensubs

Feedback welcome, especially on languages where the transcription goes wrong.

    • AlmightyDoorman@kbin.earth
      link
      fedilink
      arrow-up
      22
      arrow-down
      4
      ·
      4 days ago

      Whisper is not an llm, just because it is trained on big datasets does not make it an LLM. Copyright infringement still happened during the training.

      • lime!@feddit.nu
        link
        fedilink
        arrow-up
        23
        arrow-down
        3
        ·
        4 days ago

        no, but claude is, and it’s the main contributor to the repo.

      • thingsiplay@lemmy.ml
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        4 days ago

        Which software are we talking about? Unfortunately no one links to it, so I will guess. Whisper: website | source is an Ai model, specifically powered by OpenAi.

      • TheTechnician27@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        9
        ·
        edit-2
        4 days ago

        Whisper is not an llm, just because it is trained on big datasets does not make it an LLM.

        The training dataset consists of 680,000 hours of labeled audio-transcript pairs sourced from the internet using semi-supervised learning.

        Brother, I don’t think you know what a large language model is if you think it being trained on a human lifespan’s worth of audio transcripts isn’t enough.

        Its job is NLP. It is an LLM, if not as general-use as something like ChatGPT.

        • VonReposti@feddit.dk
          link
          fedilink
          arrow-up
          12
          arrow-down
          2
          ·
          4 days ago

          LLM is a subset of NLP. All LLMs are NLP but not all NLP are LLMs. To be more precise, LLM is a method of achieving NLP while NLP is the goal. Whisper is just a specialised speech-to-text engine. It doesn’t have the text reasoning engine that is the core of LLMs. Yes, it has a dataset to inform it’s encoder and decoder, but that doesn’t make it an LLM. If you strip out the encoder, then you’re getting closer.

          • TheTechnician27@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            edit-2
            4 days ago

            If you strip out the encoder, then you’re getting closer.

            That’s flat-out not true. BERTs, for example, are LLMs and are encoder-only, just like GPTs are decoder-only. Whisper is trained on a large corpus of text and does NLP tasks. That’s all it is to be an LLM.

            A transformer model being encoder-only, encoder-decoder, or decoder-only has fuck-all to do with whether it’s an LLM. In fact, it being a transformer model at all isn’t required for it to be an LLM.

            • VonReposti@feddit.dk
              link
              fedilink
              arrow-up
              3
              arrow-down
              2
              ·
              3 days ago

              BERT is a special case. The academic consensus is rightly considering it an LLM since it operates on text but the industry doesn’t consider it an LLM since LLM in its colloquial meaning has drifted to mean a model generating text (which BERT doesn’t). Whisper is not an LLM since it’s working on audio, so it is an Automatic Speech Recognition model (ASR).

              Text in = LLM in academic circles (BERT and GPT)

              Text in, text out = LLM in all circles (GPT only)

              Audio in, text out ≠ LLM (Whisper)

              Now, we can argue whether we want to accept the colloquial meaning of LLM, but the fact is that Whisper is not an LLM. And neither ASR nor BERT causes even a fraction of the damage GPT is doing, but that’s another discussion.

          • Sammirr@aussie.zone
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            3 days ago

            Yes and no. As an author of open source projects, they were made available for people to fork, improve and conrribute under permissive licenses. Then come LLMs that uses code like mine to generate code or slop. My choice about license was made before LLMs. Now they use derivatives of my work without attribution as required by the license.

            Even if I change the license, it won’t be respected, and nothing else will change. To me, that’s copyright infringement on me, ignoring the hours I put in.

            On a separate note, LLMs only produce more of the same, ignoring the environmental and economic impacts. Often, more of the same is not what we need. It leads to the same mistakes being made. I’ve never used LLM to code, never will.

            • ghost_laptop@lemmy.ml
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              3 days ago

              as a pirate, i shit on copyright, culture should be free. the issue with llm is not that they used copyrighted shit, if the llm would be open source and not owned by a corpo, i’d be contributing to knowledge. here, you’re just contributing to some gringo westoid billionaire’s pockets. everything is a remix, i dont have an issue with that. so again, the issue is labour theft in marxists terms.

    • neversaydie@programming.dev
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      3 days ago

      oh no, how awful of them to release the code back into the wild for free with a copyleft license. truly an awful thing to do.