DEV Community

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

Posted on • Updated on

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.

Top comments (0)