登入
首頁
收藏
0
返回課程
Colab python cuda語音辨識程式產生SRT字幕檔
進階程式設計
程式語言的排名
加入課程請說hello
2025toibe程式語言排名與Python實作
問Gemini 2025程式語言排名
copilot詢問python雲端開發平台Google colab並實作
colab hello說三遍
分組
ex1 程式語言排名&Python 第一個程式
從基本變數概念到if
python 運算式、變數與資料型別
python if
python實作BMI if elif else利用Blockly技術輔助
ex2 bmi
bmi2.ipynb
計算一個人的bmi並寫個判斷函數
list跟for loop
實作一群人的bmi存至list並寫至csv檔
Python list與切片slice與sort
bmi+list+csv
一群人的bmi.ipynb
Python函數參數的問題
Python list函數處理一群人的bmi的簡報
Python用with open與pandas將健康數據寫進csv檔
字典dict
dict
Python dict字典相關語法說明
dog_dict.ipynb
bmi_dict.ipynb
ex3 一群人的bmi處理至少三人
一群狗狗採dict處理屬性與DataFrame處理表格資訊
一群人bmi健康資訊採dict與DataFrame處理
requests與股市資訊
requests讀取台積電股票json資訊爬蟲練習
requests與股市json資訊
用requests取json格式的股市資訊code
細談 requests抓股市json格式Python實作
股市資訊與pyplot+中文字型1102線上教學
requests股市爬蟲與pyplot數據視覺化操作
Colab上安裝中文字型修改股市爬蟲pyplot顯圖
stock2025_中文字型.ipynb
期中
ex4 爬蟲股市與日線圖
模擬考
複習講解
期中考
期中考檢討
requests 爬取 HTML 表格與 pandas 資料處理
requests 爬取 HTML 表格與 pandas 資料處理應用
requests與pandas抓股市html資料.ipynb
requests 爬取股票 HTML 表格與 pandas 資料處理
爬蟲股市html表格作業檢討
ex5 股市爬蟲html表格
pandas dataframe與爬蟲黃金價格
pandas dataframe與爬蟲黃金價格資訊講義
pandas與黃金、外匯匯率之一爬蟲、資料擷取與篩選
測驗pandas
測驗解說
黃金外幣pandas處理與seaborn視覺化、統計分析
pandas對黃金、外匯匯率的爬蟲練習
新台幣視角下的 pandas numpy對黃金、外匯匯率的數據分析
ex6 金融數據爬蟲分析
openAI之whisper
openai whisper在huggingface的試用與在colab上的使用
免費版Openai-whisper超好用---簡介
whisper large v3 python轉VTT字幕
Colab python cuda語音辨識程式產生SRT字幕檔
期末
whisper辨識語音與opencc徹底解決正體中文字幕問題(0111)
whisper turbo版與large v2版colab GPU語音辨識練習
期末作業openAI-whisper實作
重點
討論
(1)
筆記
發表時間 : 2026-01-04 07:47
觀看次數 : 152
原始資料來自 :
https://www.youtube.com/embed/-tHsJZtAPPc?si=Oy1NCk-WyvTdOzbQ
附件
討論功能僅開放給課程成員,請先加入課程
最新的回應
...more
01-07
c11333106
:
這行程式碼 from whisper.utils import get_writer 的意思是從 whisper 函式庫中的 utils 模組導入 get_writer 這個函式。 whisper 是一個語音轉文字的函式庫。 utils 是 whisper 函式庫裡面的一個工具模組,通常會放一些輔助性的函式。 get_writer 則是 utils 模組裡的一個特定函式,它的作用是幫助你創建不同格式(例如 VTT、SRT 等)的字幕檔案。
01-04
C11333117
:
產生 SRT 或 VTT 字幕檔最專業的做法是匯入 whisper 套件,並特別利用它內建的 whisper.utils.get_writer 工具。
01-04
c11333109
:
產生 SRT 或 VTT 字幕檔最專業的做法是匯入 whisper 套件,並特別利用它內建的 whisper.utils.get_writer 工具。
01-04
c11333147
:
要產生字幕檔時,SRT 格式可以使用 Python 的 srt 套件,而 VTT 格式則可以使用 webvtt-py 套件,安裝後即可用來建立與輸出對應的字幕檔案。
01-04
C11333122
:
from whisper.utils import get_writer
安文
請問如果要產生字幕檔如srt, vtt要匯入什麼套件?
01-04
1 樓
顯示先前的回應
20 則當中的 3 則
c11333119
這行程式碼 from whisper.utils import get_writer 的意思是從 whisper 函式庫中的 utils 模組導入 get_writer 這個函式。
whisper 是一個語音轉文字的函式庫。
utils 是 whisper 函式庫裡面的一個工具模組,通常會放一些輔助性的函式。
get_writer 則是 utils 模組裡的一個特定函式,它的作用是幫助你創建不同格式(例如 VTT、SRT 等)的字幕檔案。
01-04
3 樓
c11333136
from whisper.utils import get_writer
01-04
4 樓
c11333118
這行程式碼 from whisper.utils import get_writer 的意思是從 whisper 函式庫中的 utils 模組導入 get_writer 這個函式。
whisper 是一個語音轉文字的函式庫。
utils 是 whisper 函式庫裡面的一個工具模組,通常會放一些輔助性的函式。
get_writer 則是 utils 模組裡的一個特定函式,它的作用是幫助你創建不同格式(例如 VTT、SRT 等)的字幕檔案。
01-04
5 樓
c11333127
from whisper.utils import get_writer
01-04
6 樓
C11333142
from whisper.utils import get_writer
01-04
7 樓
c11333123
from whisper.utils import get_writer
01-04
8 樓
C11233112
from whisper.utils import get_writer
01-04
9 樓
c11333132
Whisper 情境: from whisper.utils import get_writer
01-04
10 樓
c11334197
from whisper.utils import get_writer
01-04
11 樓
C11333137
產生字幕檔主要推薦以下三種套件:
srt:最輕量直覺,適合精確控制時間軸與索引,是產生 SRT 檔的首選。
webvtt-py:專為 VTT 格式設計,支援網頁字幕特有的標籤與格式要求。
pysubs2:功能最強大,支援 SRT、VTT 及 ASS 多格式互轉,適合複雜處理。
建議: 僅需基本功能選 srt;網頁用途選 webvtt-py;需跨格式轉換則選 pysubs2。
01-04
12 樓
C11333125
產生 SRT 或 VTT 字幕檔最專業的做法是匯入 whisper 套件,並特別利用它內建的 whisper.utils.get_writer 工具。
01-04
13 樓
C11333107
可以加入from whisper.utils. import get_writer
01-04
14 樓
c11333124
產生 SRT 或 VTT 字幕檔最專業的做法是匯入 whisper 套件,並特別利用它內建的 whisper.utils.get_writer 工具。
01-04
15 樓
C11333141
要產生字幕檔時,SRT 格式可以使用 Python 的 srt 套件,而 VTT 格式則可以使用 webvtt-py 套件,安裝後即可用來建立與輸出對應的字幕檔案。
01-04
16 樓
c11333134
加入from whisper.utils. import get_writer
01-04
17 樓
C11333122
from whisper.utils import get_writer
01-04
18 樓
c11333147
要產生字幕檔時,SRT 格式可以使用 Python 的 srt 套件,而 VTT 格式則可以使用 webvtt-py 套件,安裝後即可用來建立與輸出對應的字幕檔案。
01-04
19 樓
c11333109
產生 SRT 或 VTT 字幕檔最專業的做法是匯入 whisper 套件,並特別利用它內建的 whisper.utils.get_writer 工具。
01-04
20 樓
C11333117
產生 SRT 或 VTT 字幕檔最專業的做法是匯入 whisper 套件,並特別利用它內建的 whisper.utils.get_writer 工具。
01-04
21 樓
c11333106
這行程式碼 from whisper.utils import get_writer 的意思是從 whisper 函式庫中的 utils 模組導入 get_writer 這個函式。
whisper 是一個語音轉文字的函式庫。
utils 是 whisper 函式庫裡面的一個工具模組,通常會放一些輔助性的函式。
get_writer 則是 utils 模組裡的一個特定函式,它的作用是幫助你創建不同格式(例如 VTT、SRT 等)的字幕檔案。
01-07
22 樓
筆記功能僅開放給課程成員,請先加入課程
Prev
whisper large v3 python轉VTT字幕
Next
期末
whisper 是一個語音轉文字的函式庫。
utils 是 whisper 函式庫裡面的一個工具模組,通常會放一些輔助性的函式。
get_writer 則是 utils 模組裡的一個特定函式,它的作用是幫助你創建不同格式(例如 VTT、SRT 等)的字幕檔案。