dlxj commited on
Commit ·
0d85c08
1
Parent(s): 80984af
转成 wav
Browse files- .gitignore +2 -1
- readme.txt +6 -1
.gitignore
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
-
transcription.json
|
|
|
|
|
|
| 1 |
+
transcription.json
|
| 2 |
+
KotobaASRLLM/TempVideo/*.wav
|
readme.txt
CHANGED
|
@@ -24,9 +24,14 @@ cd kotoba-whisper-v2.0-ggml/whisper.cpp \
|
|
| 24 |
成功识别
|
| 25 |
|
| 26 |
|
| 27 |
-
ffprobe -print_format json -show_streams
|
| 28 |
输出每个流的信息
|
|
|
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
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:
|
| 32 |
|
|
|
|
| 24 |
成功识别
|
| 25 |
|
| 26 |
|
| 27 |
+
ffprobe -print_format json -show_streams KotobaASRLLM/TempVideo/tbs-38532.ts
|
| 28 |
输出每个流的信息
|
| 29 |
+
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s, start 62720.902889
|
| 30 |
|
| 31 |
+
ffmpeg -i KotobaASRLLM/TempVideo/tbs-38532.ts -c:a pcm_s16le -ar 16000 -ac 1 -y KotobaASRLLM/TempVideo/tbs-38532.wav
|
| 32 |
+
转成 wav
|
| 33 |
+
采样率 : 16000 Hz (已调整为 ASR 常用标准)
|
| 34 |
+
声道 : 单声道 (mono) (已调整为 ASR 常用标准)
|
| 35 |
|
| 36 |
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:
|
| 37 |
|