3 ms·
Shocked at how good the results are, and how easy of an installation it is. Here are the exact steps to follow to get it running on Ubuntu 22.04 via WSL and yt
by gzer0 4y ago
Shocked at how good the results are, and how easy of an installation it is.
Here are the exact steps to follow to get it running on Ubuntu 22.04 via WSL and yt-dlp:
1. pip install git+https://github.com/openai/whisper.git
2. yt-dlp -f 'ba' -x --audio-format mp3 https://www.youtube.com/watch/?v\=bZkNIzeRBk4
3. renamed the file to test.mp3
4. whisper test.mp3 --language Japanese --task translate --model large
Note: the large model will download a ~3Gb file
- NaturalPhallacy 4y agoI did something similar (my ytdl is ytdlp too). You don't even have to grab just the audio, it'll take a webm: https://i.imgur.com/03UFGc8.gif https://i.imgur.com/03UFGc8.gif Amazing work.
- adeptima 4y agocause ffmpeg inside https://github.com/openai/whisper/blob/main/requirements.txt https://github.com/openai/whisper/blob/main/requirements.txt should process most formats
- adeptima 4y ago"--model large" option produces much better results at higher resources consuming costs