Skip to content

Instantly share code, notes, and snippets.

@Jeshii
Jeshii / README.md
Last active November 18, 2025 03:41
Making subtitle files en-masse with whisper
  1. Install https://github.com/openai/whisper
  2. Make audio files of the video files
for file in *.MOV; do ffmpeg -i "$file" -vn -acodec copy "${file:r}.m4a"; done
  1. Run whisper on the audio files
for file in *.m4a; do whisper "$file" --language English; done
  1. Play videos with VLC to see subtitles or use the other various files created by whisper.
<select>
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">American Samoa</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AQ">Antarctica</option>
<option value="AG">Antigua and Barbuda</option>