PlanetRead / PR-Repository

5 stars 9 forks source link

Auto-subtitler using openai whisper #6

Open AleenDhar opened 4 months ago

AleenDhar commented 4 months ago

Auto-subtitle generator using openai whisper

In this I have created an auto subtitles generator that takes video as an input and outputs subtitle in .srt format. The working is as follows :

  1. using moviepy to extract audio from the video
  2. using openai whisper to create a audio to text outputs
  3. using a simple self-made algorithm to output a .srt file.

The openai whisper model is free and supports more than 50 languages including Tamil, Kannada and Telugu. If there is change that is required, let me know i will try my best to fix it