| see huggingface_echodict\whisper.cpp | |
| 已基于 CUDA13.0 编译 | |
| 已经修改 server ,支持输出 json 格式附加音频信息 | |
| see 深入理解神经网络:从逻辑回归到CNN.md -> kotoba-whisper-v2.0-ggml | |
| see https://huggingface.co/kotoba-tech/kotoba-whisper-v2.0-ggml | |
| see https://github.com/ggerganov/whisper.cpp | |
| see https://github.com/kotoba-tech/tts_eval/blob/main/tts_eval/metric_asr.py kotoba-whisper-v2.0 + 语音相似度 | |
| see huggingface_echodict\CefSharpPlayer\CefSharpPlayer\readme.txt IPTV 输出每个流的信息 | |
| see huggingface_echodict\IPTV2\readme.txt 边下载边推流 + 伪推流 | |
| see huggingface_echodict\IPTV2\TempVideo 下载视频 | |
| cd kotoba-whisper-v2.0-ggml/whisper.cpp \ | |
| && make -j | |
| ./whisper-cli.exe -m ggml-kotoba-whisper-v2.0.bin -l ja -f 60s.wav --output-file transcription --output-json | |
| 成功识别 | |
| KotobaASRLLM/whisper-cli.exe -m KotobaASRLLM/ggml-kotoba-whisper-v2.0.bin -l ja -f "KotobaASRLLM/TempVideo/tbs-38532.wav" --output-file transcription --output-json | |
| 成功识别 | |
| ffprobe -print_format json -show_streams KotobaASRLLM/TempVideo/tbs-38532.ts | |
| 输出每个流的信息 | |
| Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s, start 62720.902889 | |
| ffmpeg -i KotobaASRLLM/TempVideo/tbs-38532.ts -c:a pcm_s16le -ar 16000 -ac 1 -y KotobaASRLLM/TempVideo/tbs-38532.wav | |
| 转成 wav | |
| 采样率 : 16000 Hz (已调整为 ASR 常用标准) | |
| 声道 : 单声道 (mono) (已调整为 ASR 常用标准) | |
| Note that it runs only with 16-bit WAV files, so make sure to convert your input before running the tool. For example, you can use ffmpeg like this: | |
| ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav | |