DEV Community

Cover image for auto generate subtitle for local video / audio 📃
arsannnnn
arsannnnn

Posted on • Edited on

1

auto generate subtitle for local video / audio 📃

Ni Hao!

If you wondering how to show subtitle automatically from your local video like you are watching youtube video, or how to show subtitle from your favorite podcast/audio which does not provide subtitle feature, this is it.

Did you know that our lovely web browser Google Chrome had a features to make us able to recognize text from audio using Google AI? It's already in there and no need to install something like 3rd party. Alright, so watch this step.

  1. Open Chrome.

  2. Move your local video to Chrome.
    image

  3. Open Chrome Settings.
    image

  4. Scroll down -> Click Advanced -> On accessibility panel, click Captions. Simple doing, just type live caption on search bar.
    image

  5. Turn on Live Caption. It will download AI Audio to Text if you do this for the first time.
    image

  6. Back to your video and play it! You can see the subtitle on bottom of screen.
    image

You can change the language based on your needs.

This feature will show up everytime Chrome detect audio. Just easily change the switch button if you want to turn this feature off or on.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay