-
-
Save yanyaoer/c6f418ee2a6d31e29aa6b4076160a1f7 to your computer and use it in GitHub Desktop.
test whisper.cpp with bilibili video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ yt-dlp 'https://www.bilibili.com/video/BV15V411K7yE/' | |
$ ffmpeg -i INPUT.mp4 -ar 16000 -ac 1 -c:a pcm_s16le /tmp/output.wav | |
$ ~/P/a/whisper.cpp: ./main -m ./models/ggml-base.bin -f /tmp/output.wav -l zh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whisper_init_from_file_no_state: loading model from './models/ggml-base.bin' | |
whisper_model_load: loading model | |
whisper_model_load: n_vocab = 51865 | |
whisper_model_load: n_audio_ctx = 1500 | |
whisper_model_load: n_audio_state = 512 | |
whisper_model_load: n_audio_head = 8 | |
whisper_model_load: n_audio_layer = 6 | |
whisper_model_load: n_text_ctx = 448 | |
whisper_model_load: n_text_state = 512 | |
whisper_model_load: n_text_head = 8 | |
whisper_model_load: n_text_layer = 6 | |
whisper_model_load: n_mels = 80 | |
whisper_model_load: ftype = 1 | |
whisper_model_load: qntvr = 0 | |
whisper_model_load: type = 2 | |
whisper_model_load: mem required = 310.00 MB (+ 6.00 MB per decoder) | |
whisper_model_load: adding 1608 extra tokens | |
whisper_model_load: model ctx = 140.66 MB | |
whisper_model_load: model size = 140.54 MB | |
whisper_init_state: kv self size = 5.25 MB | |
whisper_init_state: kv cross size = 17.58 MB | |
whisper_init_state: loading Core ML model from './models/ggml-base-encoder.mlmodelc' | |
whisper_init_state: first run on a device may take a while ... | |
whisper_init_state: Core ML model loaded | |
system_info: n_threads = 4 / 8 | AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 1 | ARM_FMA = 1 | F16C = 0 | FP16_VA = 1 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 0 | VSX = 0 | COREML = 1 | OPENVINO = 0 | | |
main: processing '/tmp/output.wav' (11176619 samples, 698.5 sec), 4 threads, 1 processors, lang = zh, task = transcribe, timestamps = 1 ... | |
[00:00:00.000 --> 00:00:10.000] (音樂) | |
[00:00:10.000 --> 00:00:13.500] 朋友們大家好,我是克力虹 | |
[00:00:13.500 --> 00:00:17.000] 今天來跟大家聊一下自行車的工具 | |
[00:00:17.000 --> 00:00:21.000] 討論一下我們主義台車需要準備少了工具 | |
[00:00:21.000 --> 00:00:23.000] 還有開箱我的工具箱 | |
[00:00:23.000 --> 00:00:26.000] 跟大家愛現一下我有什麼自行車工具 | |
[00:00:26.000 --> 00:00:30.000] 當然一般是絕對不需要這麼多的工具 | |
[00:00:30.000 --> 00:00:33.000] 我也沒有要介紹這裡所有的工具 | |
[00:00:33.000 --> 00:00:37.000] 我會從裡面選你最可能會用到的來介紹 | |
[00:00:37.000 --> 00:00:40.000] 那這個就是我工具箱 | |
[00:00:40.000 --> 00:00:44.000] 這套是Topic牌的Prep Station Pro | |
[00:00:44.000 --> 00:00:48.000] 可以算是四面上最齊全的工具箱之一 | |
[00:00:48.000 --> 00:00:51.000] 我還跟大家講一下我用這套工具的故事 | |
[00:00:51.000 --> 00:00:53.000] 話說幾年前 | |
[00:00:53.000 --> 00:00:58.000] 有一次有外國其比亞奇的車隊來參加環台賽 | |
[00:00:58.000 --> 00:01:00.000] 不是央波Vis法車隊 | |
[00:01:00.000 --> 00:01:03.000] 是一個Canty-Nento等級的車隊 | |
[00:01:03.000 --> 00:01:06.000] 比較沒有經費的所以既私人手不夠 | |
[00:01:06.000 --> 00:01:10.000] 比亞奇上面就叫我過去友情支援一下 | |
[00:01:10.000 --> 00:01:13.000] 那個時候所有的車隊的車 | |
[00:01:13.000 --> 00:01:18.000] 都停在台北小巨盪附近EKIA旁邊的地下市 | |
[00:01:18.000 --> 00:01:21.000] 我就很開心帶著我的小工具箱過去 | |
[00:01:21.000 --> 00:01:25.000] 結果到的時候發現比人帶著家伙都很厲害 | |
[00:01:25.000 --> 00:01:29.000] 在我們旁邊的計師還帶了這套Topic | |
[00:01:29.000 --> 00:01:32.000] 我第一次看到這麼漂亮的工具箱 | |
[00:01:32.000 --> 00:01:36.000] 雖然我的小工具箱能做到百分之百一樣的工作 | |
[00:01:36.000 --> 00:01:41.000] 但是在氣勢上就是完全不是在同樣的等級 | |
[00:01:41.000 --> 00:01:45.000] 之後我就忍不住買了一套同樣的 | |
[00:01:45.000 --> 00:01:47.000] 完全不是因為我需要 | |
[00:01:47.000 --> 00:01:50.000] 但存只是因為很想要 | |
[00:01:50.000 --> 00:01:52.000] 你看這個是真的很美 | |
[00:01:52.000 --> 00:01:55.000] 它這樣把工具箱給解開 | |
[00:01:55.000 --> 00:01:57.000] 蓄一下拉起來 | |
[00:01:57.000 --> 00:02:01.000] 像是一層一層的便當我跌在一起 | |
[00:02:01.000 --> 00:02:04.000] 還有小貼紙在前面告訴你每一層有什麼 | |
[00:02:04.000 --> 00:02:07.000] 像這一層就全部都是板手 | |
[00:02:07.000 --> 00:02:09.000] 而且是高級的不得了 | |
[00:02:09.000 --> 00:02:11.000] 是我見過最精美的板手 | |
[00:02:11.000 --> 00:02:13.000] 但是我怕弄丟了 | |
[00:02:13.000 --> 00:02:16.000] 所以我另外買了不精美的板手來用 | |
[00:02:17.000 --> 00:02:21.000] 那這一層有打鍊器挖胎棒扭力板手單單的 | |
[00:02:21.000 --> 00:02:25.000] 這一層有各種不同的前置 | |
[00:02:25.000 --> 00:02:27.000] 這一層有飛輪工具 | |
[00:02:27.000 --> 00:02:30.000] BB工具還有踏板工具 | |
[00:02:30.000 --> 00:02:32.000] 最下面還有置物空間 | |
[00:02:32.000 --> 00:02:35.000] 放這個垂直跟前插工具 | |
[00:02:35.000 --> 00:02:38.000] 你如果是很常在DIY的話 | |
[00:02:38.000 --> 00:02:41.000] 大概會用到百分之八十的工具 | |
[00:02:41.000 --> 00:02:45.000] 那我現在來示範主義台最簡單主的車 | |
[00:02:45.000 --> 00:02:49.000] 看看會使用到哪些基本的自行車工具 | |
[00:02:49.000 --> 00:02:53.000] 首先如果你是主義台新的車架的話 | |
[00:02:53.000 --> 00:02:56.000] 新的這個前插的速管部分 | |
[00:02:56.000 --> 00:02:59.000] 一定是需要先切成四檔的長度 | |
[00:02:59.000 --> 00:03:03.000] 這個時候就需要用到切管子的工具 | |
[00:03:03.000 --> 00:03:05.000] 使用到的概念就是像這樣 | |
[00:03:05.000 --> 00:03:08.000] 去導演這個句子去切管子 | |
[00:03:08.000 --> 00:03:10.000] 像是這樣切切切 | |
[00:03:10.000 --> 00:03:14.000] 你看隨便切幾次就有這麼明顯的痕跡 | |
[00:03:14.000 --> 00:03:18.000] 具個差不多一兩百下就可以前插速管切斷 | |
[00:03:18.000 --> 00:03:21.000] 然後我們就需要這個挫刀 | |
[00:03:21.000 --> 00:03:24.000] 那把剛剛切斷的前插速管 | |
[00:03:24.000 --> 00:03:25.000] 模模模 | |
[00:03:25.000 --> 00:03:30.000] 模好之後就可以把前插給套上去 | |
[00:03:30.000 --> 00:03:32.000] 這個時候把手與龍頭 | |
[00:03:32.000 --> 00:03:35.000] 也可以一起給它裝到前插上面 | |
[00:03:35.000 --> 00:03:39.000] 這個時候用到的工具自然就是內六角板售 | |
[00:03:39.000 --> 00:03:42.000] 但從內六角板售這個工具 | |
[00:03:42.000 --> 00:03:45.000] 就可以租70%的自行車了 | |
[00:03:45.000 --> 00:03:49.000] 接下來也需要這個保護上管的東西 | |
[00:03:49.000 --> 00:03:52.000] 這個是之前開箱新車時留起來的 | |
[00:03:52.000 --> 00:03:55.000] 你把把手裝上撒車線之前 | |
[00:03:55.000 --> 00:03:57.000] 會隨意擺來擺去 | |
[00:03:57.000 --> 00:03:59.000] 套上這個就可以保護上管 | |
[00:03:59.000 --> 00:04:01.000] 不被把手裝壞 | |
[00:04:01.000 --> 00:04:05.000] 那下一接下來的任務就是裝線 | |
[00:04:05.000 --> 00:04:08.000] 以前傳統的自行車會有四條線 | |
[00:04:08.000 --> 00:04:10.000] 現在進入電子電數之後 | |
[00:04:10.000 --> 00:04:12.000] 只剩下兩條線 | |
[00:04:12.000 --> 00:04:15.000] 油壓跌殺會需要不同的工具 | |
[00:04:15.000 --> 00:04:18.000] 我之前已經做過油壓跌殺的DIY影片 | |
[00:04:18.000 --> 00:04:21.000] 這邊示範的是線拉的撒車 | |
[00:04:21.000 --> 00:04:25.000] 你會需要這種簡外線內線的工具 | |
[00:04:25.000 --> 00:04:29.000] 撒車線與變速線都是同樣用這個來減 | |
[00:04:29.000 --> 00:04:32.000] 減的話這個洞孔就會是圓圓的 | |
[00:04:32.000 --> 00:04:35.000] 我這批納還有一個獨門工具 | |
[00:04:35.000 --> 00:04:39.000] 這是肩牛排的時候插進牛肉裡面的溫度機 | |
[00:04:39.000 --> 00:04:41.000] 它有一邊是尖尖的 | |
[00:04:41.000 --> 00:04:43.000] 你減完線之後 | |
[00:04:43.000 --> 00:04:45.000] 拿這個尖尖的在洞孔專利專 | |
[00:04:45.000 --> 00:04:48.000] 線口就會變成很圓哦 | |
[00:04:48.000 --> 00:04:50.000] 這個是不專業技術分享 | |
[00:04:50.000 --> 00:04:57.000] 接下來我們把輪子給裝上 | |
[00:04:57.000 --> 00:05:00.000] 通常來說裝輪胎是不需要工具的 | |
[00:05:00.000 --> 00:05:02.000] 拆輪胎才需要工具 | |
[00:05:02.000 --> 00:05:05.000] 拆輪胎需要的工具是瓦胎棒 | |
[00:05:05.000 --> 00:05:08.000] 大部分的工具箱也是有負這個的 | |
[00:05:08.000 --> 00:05:11.000] 而裝碟紗是需要工具的 | |
[00:05:11.000 --> 00:05:14.000] 如果是這種中所式的碟紗 | |
[00:05:14.000 --> 00:05:17.000] 你會需要這個飛輪工具 | |
[00:05:17.000 --> 00:05:20.000] 不過也有中所式碟紗是使用BB工具的 | |
[00:05:20.000 --> 00:05:25.000] 但至少碟紗工具是跟飛輪或BB工具共用 | |
[00:05:25.000 --> 00:05:29.000] 不需要因為碟紗而多準備一樣工具 | |
[00:05:29.000 --> 00:05:33.000] 那接下來我們可以把碟紗給裝上去 | |
[00:05:33.000 --> 00:05:36.000] 因為如果是組裝線在車架裡面的車 | |
[00:05:36.000 --> 00:05:39.000] BB記得是線都要裝好車的彩裝 | |
[00:05:39.000 --> 00:05:42.000] 不然裝上碟紗之後也就很難傳線了 | |
[00:05:42.000 --> 00:05:46.000] 那我這台車是用最簡單的鎖鴉式碟紗 | |
[00:05:46.000 --> 00:05:59.000] 就是用這種轉鎖鴉的工具鎖鴉的工具鎖鴉 | |
[00:05:59.000 --> 00:06:04.000] 這種類型的鎖鴉碟紗有彩菜裝裝很簡單 | |
[00:06:04.000 --> 00:06:07.000] 當然鴨路式的也是很簡單裝 | |
[00:06:07.000 --> 00:06:10.000] 拿下來才是他難的部分 | |
[00:06:10.000 --> 00:06:14.000] 這邊我們試試看用的大盤是許芒羅式的大盤 | |
[00:06:14.000 --> 00:06:18.000] 我覺得許芒羅大盤在設計的羅集上是最棒的 | |
[00:06:18.000 --> 00:06:22.000] 是最容易組裝的正確與完美的大盤 | |
[00:06:22.000 --> 00:06:25.000] 剛剛那個Topic的BB工具 | |
[00:06:25.000 --> 00:06:29.000] 轉過來的背面就是這個區餅預壓工具 | |
[00:06:29.000 --> 00:06:32.000] 用這個把區餅轉緊 | |
[00:06:32.000 --> 00:06:37.000] 接下來按照區餅上的指示 | |
[00:06:37.000 --> 00:06:41.000] 羅式輪流平均的轉到12到14的流頓 | |
[00:06:41.000 --> 00:06:45.000] 這個部分我們就需要用到扭力板手 | |
[00:06:45.000 --> 00:06:49.000] Topic的工具箱裡面確實是不由扭力板手 | |
[00:06:49.000 --> 00:06:51.000] 這支我們之前介紹過 | |
[00:06:51.000 --> 00:06:53.000] 它確實是準的 | |
[00:06:53.000 --> 00:06:55.000] 而且它可以鎖到12扭頓 | |
[00:06:55.000 --> 00:06:59.000] Topic可以算是自行車扭力板手的專家 | |
[00:06:59.000 --> 00:07:02.000] 這線條我也收集了它們家不少扭力板手 | |
[00:07:02.000 --> 00:07:05.000] 像這一組是可以設定扭力的 | |
[00:07:05.000 --> 00:07:07.000] 最大可以到20扭頓 | |
[00:07:07.000 --> 00:07:11.000] 而且還有卡麗卡麗用起來爽 | |
[00:07:11.000 --> 00:07:13.000] 是不是蠻爽的 | |
[00:07:13.000 --> 00:07:18.000] 再接下來我們就是要來裝飛輪 | |
[00:07:18.000 --> 00:07:21.000] 我來示範一下如何把飛輪拆下來 | |
[00:07:21.000 --> 00:07:23.000] 放到另外一個輪廚上 | |
[00:07:23.000 --> 00:07:26.000] 你需要這個拆飛輪的頭頭 | |
[00:07:26.000 --> 00:07:30.000] 這個跟剛剛鎖疊上是同樣一個頭頭 | |
[00:07:30.000 --> 00:07:33.000] 但是你要鬆開的時候飛輪會一起轉 | |
[00:07:33.000 --> 00:07:37.000] 這樣子就沒有辦法把這個飛輪上面鎖的地方給鬆開了 | |
[00:07:37.000 --> 00:07:41.000] 所以我們需要這個叫做千會的工具 | |
[00:07:41.000 --> 00:07:44.000] 它可以用來把飛輪給固定住 | |
[00:07:44.000 --> 00:07:47.000] 這樣飛輪就不會隨著板手一起轉了 | |
[00:07:47.000 --> 00:07:51.000] 因為我們的板手是超級大隻的 | |
[00:07:51.000 --> 00:07:54.000] 所以很簡單的就把飛輪給拆下來 | |
[00:07:54.000 --> 00:08:00.000] 裝上去就是相反的步驟 | |
[00:08:00.000 --> 00:08:03.000] 但是裝上去又是不需要千會的 | |
[00:08:03.000 --> 00:08:05.000] 因為在鎖緊的轉向 | |
[00:08:05.000 --> 00:08:07.000] 飛輪是不會一起轉的18 | |
[00:08:07.000 --> 00:08:14.000] 接下來有變速的部分 | |
[00:08:14.000 --> 00:08:17.000] 不管是電子變速還是機械變速 | |
[00:08:17.000 --> 00:08:20.000] 都是不需要用到剛剛沒出現的工具 | |
[00:08:20.000 --> 00:08:25.000] 但是接下來這個鏈條就是需要特殊工具 | |
[00:08:25.000 --> 00:08:29.000] 這個是用來切斷鏈條的打鏈器 | |
[00:08:29.000 --> 00:08:33.000] 新的鏈條通常是會比需要用到的長很多 | |
[00:08:33.000 --> 00:08:36.000] 需要縮短到適合的長度 | |
[00:08:36.000 --> 00:08:39.000] 你把鏈條放在這個打鏈器上面 | |
[00:08:39.000 --> 00:08:41.000] 轉動打鏈器的時候 | |
[00:08:41.000 --> 00:08:44.000] 它這個針就會隨著你一直轉 | |
[00:08:44.000 --> 00:08:46.000] 把鏈條的屁給頂出來 | |
[00:08:46.000 --> 00:08:49.000] 這樣鏈條就分開了 | |
[00:08:49.000 --> 00:08:54.000] 那現在大部分的新鏈條都是使用快厚的 | |
[00:08:54.000 --> 00:08:58.000] 這種鏈條在裝的時候是可以不需要用到工具 | |
[00:08:58.000 --> 00:09:01.000] 按住厚煞車有用力踩踏板 | |
[00:09:01.000 --> 00:09:03.000] 這個快厚就會扣起來了 | |
[00:09:03.000 --> 00:09:07.000] 不過你如果有這樣的拆鏈條工具 | |
[00:09:07.000 --> 00:09:09.000] 這也是可以反過來使用 | |
[00:09:09.000 --> 00:09:11.000] 變成不裝快厚的工具 | |
[00:09:11.000 --> 00:09:13.000] 像這樣往外一拉 | |
[00:09:13.000 --> 00:09:15.000] 快厚就扣起來了 | |
[00:09:15.000 --> 00:09:21.000] 因為我這台Canon的有市面上最容易組的車子一 | |
[00:09:21.000 --> 00:09:22.000] 所以一轉眼之間 | |
[00:09:22.000 --> 00:09:25.000] 我們已經把組它會用到的工具都用到了 | |
[00:09:25.000 --> 00:09:29.000] 你組裝更複雜的車款可能會需要更多的工具 | |
[00:09:29.000 --> 00:09:33.000] 但是組裝基本的車大概就是會用到這些 | |
[00:09:33.000 --> 00:09:36.000] 我來稍微幫你整理一下 | |
[00:09:36.000 --> 00:09:39.000] 首先最重要的就是這個內六角板手 | |
[00:09:39.000 --> 00:09:43.000] 70%以上的組車都是靠這個工具 | |
[00:09:43.000 --> 00:09:47.000] 再來是這個切斷前擦速管的工具 | |
[00:09:47.000 --> 00:09:50.000] 還有這個去斷前擦速管之後 | |
[00:09:50.000 --> 00:09:52.000] 會需要用到的挫刀 | |
[00:09:52.000 --> 00:09:54.000] 再來是一隻好用的 | |
[00:09:54.000 --> 00:09:56.000] 簡陷工具 | |
[00:09:56.000 --> 00:10:00.000] 還有烤牛排或者是烤雞用的溫度機 | |
[00:10:00.000 --> 00:10:03.000] 或者是任何一頭有尖尖的工具 | |
[00:10:03.000 --> 00:10:08.000] 還有這個裝飛輪與裝疊上用的頭與板手 | |
[00:10:08.000 --> 00:10:11.000] 那這個千尾不是拆飛輪用的 | |
[00:10:11.000 --> 00:10:15.000] 如果是只有裝的話並不需要用到這個 | |
[00:10:15.000 --> 00:10:19.000] 再來是這個安裝鎖牙式BB的工具 | |
[00:10:19.000 --> 00:10:23.000] Povic的Z-TOWA同時也是許Mano的區別工具 | |
[00:10:23.000 --> 00:10:27.000] 還有你會想要為它有扭力頒售 | |
[00:10:27.000 --> 00:10:29.000] 當然沒有也是可以的 | |
[00:10:29.000 --> 00:10:32.000] 有很多人靠感覺也是可以手的很好 | |
[00:10:32.000 --> 00:10:35.000] 最後你會需要一個打鍊器 | |
[00:10:35.000 --> 00:10:38.000] 還有一個拆裝快扣的工具 | |
[00:10:38.000 --> 00:10:41.000] 這些就是你組一台基本車款 | |
[00:10:41.000 --> 00:10:43.000] 應該會用到的工具 | |
[00:10:43.000 --> 00:10:44.000] 每次用完之後 | |
[00:10:44.000 --> 00:10:47.000] 要記得好好地把工具放回盒子裡 | |
[00:10:47.000 --> 00:10:51.000] 我的工具都是用很多年也是保持很完整的 | |
[00:10:51.000 --> 00:10:55.000] 因為會有缺件就很煎熬的那種強貨症 | |
[00:10:55.000 --> 00:10:59.000] 好啦!這就是我的工具箱開箱 | |
[00:10:59.000 --> 00:11:03.000] 還有組裝自行車會用到的特殊工具介紹 | |
[00:11:03.000 --> 00:11:06.000] 希望能給新車有一些準備工具的概念 | |
[00:11:06.000 --> 00:11:08.000] 非常感謝你的觀看 | |
[00:11:08.000 --> 00:11:11.000] 辦法按讚來支持一下這個頻道 | |
[00:11:11.000 --> 00:11:14.000] 看了訂閱的朋友也這一次來加個訂閱吧 | |
[00:11:14.000 --> 00:11:16.000] 掰掰~ | |
[00:11:16.000 --> 00:11:39.000] (字幕:J Chong) | |
whisper_print_timings: load time = 145.80 ms | |
whisper_print_timings: fallbacks = 2 p / 1 h | |
whisper_print_timings: mel time = 3129.36 ms | |
whisper_print_timings: sample time = 3846.65 ms / 3372 runs ( 1.14 ms per run) | |
whisper_print_timings: encode time = 2935.40 ms / 26 runs ( 112.90 ms per run) | |
whisper_print_timings: decode time = 46709.62 ms / 3371 runs ( 13.86 ms per run) | |
whisper_print_timings: total time = 57046.27 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment