gabluz commited on
Commit
180186c
1 Parent(s): 5345525

Fixed sample rate to 16000, the one accepted by whisper.cpp

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -26,4 +26,4 @@ It can transcribe ONLY wav files!
26
  ffmpeg -i yourfilename.mp4 -vn -acodec pcm_s16le -ar 16000 -ac 2 yourfilename.wav
27
 
28
  # Command to convert all mp4 (works for any video, just change the extension) inside folder to wav:
29
- find . -type f -iname "*.mp4" -exec bash -c 'ffmpeg -i "$0" -vn -acodec pcm_s16le -ar 44100 -ac 2 "${0%.*}.wav"' {} \;
 
26
  ffmpeg -i yourfilename.mp4 -vn -acodec pcm_s16le -ar 16000 -ac 2 yourfilename.wav
27
 
28
  # Command to convert all mp4 (works for any video, just change the extension) inside folder to wav:
29
+ find . -type f -iname "*.mp4" -exec bash -c 'ffmpeg -i "$0" -vn -acodec pcm_s16le -ar 16000 -ac 2 "${0%.*}.wav"' {} \;