this repository is just dockerinzed one that ggerganov/whisper.cpp.
- docker
- git
- clone this repo
git clone git@github.com:miyataka/whisper.cpp-docker.git
cd whisper.cpp-docker
- docker build or pull pre-built image
docker build .
- or
docker pull miyataka/whisper.cpp-docker:latest
- place your audio file to same directory
cp /path/to/your_video_file.mp4 ./
- run copy_and_transcription.sh with args
./copy-and-transcription.sh <your_video_file_name> <language_keyword>
- language_keyword list is here
- language_keyword is optional.
- So
./copy-and-transcription.sh ./your_video_file.mp4
- or
./copy-and-transcription.sh ./your_video_file.mp4 ja
- only test in mp4, mp3 file
- go to ggerganov/whisper.cpp and read its document.