Skip to content

簡單的yt影片或本機語音文件轉文字程式-獲取高品質的數據集

Notifications You must be signed in to change notification settings

win10ogod/whisper-yt.transcribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

使用方法

警告安裝必要的庫:

pip install torch transformers yt-dlp librosa

運行轉錄工具:

從 YouTube 轉錄:

python whisper_transcribe.py --youtube YOUR_YOUTUBE_URL --output output.json

從本機音源文件或影片文件轉錄:

python whisper_transcribe.py --file YOUR_AUDIO_OR_VIDEO_FILE --output output.json

v2新增

--output-txt "Output TXT file path"
--output-json "Output JSON file path")

--output-parquet "Output Parquet file path") --pure-text "Save only pure text without timestamps")

About

簡單的yt影片或本機語音文件轉文字程式-獲取高品質的數據集

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages