{"id":38361,"date":"2025-05-20T09:18:21","date_gmt":"2025-05-20T01:18:21","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38361.html"},"modified":"2025-05-20T09:18:21","modified_gmt":"2025-05-20T01:18:21","slug":"%e4%bd%bf%e7%94%a8-whisper-%e7%94%9f%e6%88%90%e8%a7%86%e9%a2%91%e5%ad%97%e5%b9%95%ef%bc%9a%e4%bb%8e%e6%8f%90%e5%8f%96%e9%9f%b3%e9%a2%91%e5%88%b0%e6%89%b9%e9%87%8f%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38361.html","title":{"rendered":"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406"},"content":{"rendered":"<p>\u751f\u6210\u89c6\u9891\u5b57\u5e55\u662f\u8bb8\u591a\u89c6\u9891\u5904\u7406\u4efb\u52a1\u7684\u6838\u5fc3\u9700\u6c42\u3002\u672c\u6587\u5c06\u6307\u5bfc\u4f60\u4f7f\u7528 OpenAI \u7684 Whisper \u6a21\u578b\u4e3a\u89c6\u9891\u6587\u4ef6&#xff08;\u5982\u7535\u89c6\u5267\u300aNormal People\u300b\u6216\u7535\u5f71\u300a\u82b1\u6837\u5e74\u534e\u300b&#xff09;\u751f\u6210\u5b57\u5e55&#xff08;SRT \u683c\u5f0f&#xff09;\u3002\u6211\u4eec\u5c06\u4ece\u63d0\u53d6\u97f3\u9891\u5f00\u59cb&#xff0c;\u9010\u6b65\u5b9e\u73b0\u5b57\u5e55\u751f\u6210&#xff0c;\u5e76\u63d0\u4f9b\u4e00\u4e2a Python \u811a\u672c\u5b9e\u73b0\u6279\u91cf\u5904\u7406\u3002\u6b64\u5916&#xff0c;\u6211\u4eec\u8fd8\u5c06\u63a2\u8ba8\u5982\u4f55\u5904\u7406\u975e\u82f1\u8bed\u97f3\u9891&#xff08;\u5982\u4e2d\u6587&#xff09;\u5e76\u4f18\u5316\u5b57\u5e55\u8d28\u91cf\u3002<\/p>\n<h3>\u524d\u63d0\u6761\u4ef6<\/h3>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u5b89\u88c5\u4ee5\u4e0b\u5de5\u5177&#xff1a;<\/p>\n<p>1.\u00a0FFmpeg&#xff1a;\u7528\u4e8e\u4ece\u89c6\u9891\u63d0\u53d6\u97f3\u9891\u3002<\/p>\n<ul>\n<li>\u5b89\u88c5&#xff1a;<\/li>\n<li>Windows&#xff1a;\u4e0b\u8f7d\u00a0FFmpeg\u00a0\u5e76\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u3002<\/li>\n<li>macOS&#xff1a;brew install ffmpeg<\/li>\n<li>Linux&#xff1a;sudo apt-get install ffmpeg&#xff08;Ubuntu\/Debian&#xff09;\u6216\u00a0sudo dnf install ffmpeg&#xff08;Fedora&#xff09;<\/li>\n<\/ul>\n<p>2.\u00a0Python 3.8&#043;&#xff1a;\u7528\u4e8e\u8fd0\u884c\u811a\u672c\u548c Whisper\u3002<\/p>\n<ul>\n<li>\u5b89\u88c5 Python&#xff1a;python.org\u3002<\/li>\n<\/ul>\n<p>3.\u00a0Whisper&#xff1a;OpenAI \u7684\u8bed\u97f3\u8f6c\u6587\u5b57\u6a21\u578b\u3002<\/p>\n<ul>\n<li>\u901a\u8fc7 pip \u5b89\u88c5&#xff1a;pip install openai-whisper<\/li>\n<\/ul>\n<p>4.\u00a0uv&#xff08;\u53ef\u9009&#xff09;&#xff1a;\u7528\u4e8e\u7ba1\u7406 Python \u9879\u76ee\u73af\u5883\u3002<\/p>\n<ul>\n<li>\u5b89\u88c5&#xff1a;pip install uv<\/li>\n<\/ul>\n<p>5.\u00a0\u89c6\u9891\u6587\u4ef6&#xff1a;\u51c6\u5907 MP4 \u6216 MKV \u683c\u5f0f\u7684\u89c6\u9891\u6587\u4ef6&#xff08;\u5982\u300aNormal People\u300b\u6216\u300a\u82b1\u6837\u5e74\u534e\u300b&#xff09;\u3002<\/p>\n<hr \/>\n<h3>\u6b65\u9aa4 1&#xff1a;\u63d0\u53d6\u97f3\u9891<\/h3>\n<p>\u7b2c\u4e00\u6b65\u662f\u4ece\u89c6\u9891\u6587\u4ef6\u4e2d\u63d0\u53d6\u97f3\u9891\u3002\u6211\u4eec\u4f7f\u7528 FFmpeg \u5c06\u89c6\u9891\u7684\u97f3\u9891\u6d41\u4fdd\u5b58\u4e3a AAC \u683c\u5f0f\u3002<\/p>\n<h4>\u793a\u4f8b\u547d\u4ee4<\/h4>\n<p>\u4e3a\u300aNormal People\u300b\u7b2c1\u5b63\u7b2c1\u96c6\u63d0\u53d6\u97f3\u9891&#xff1a;<\/p>\n<p>ffmpeg -i \/path\/to\/Normal.People.S01E01.mp4 -vn -acodec copy \/path\/to\/audio\/Normal.People.S01E01.aac <\/p>\n<ul>\n<li>-i&#xff1a;\u8f93\u5165\u89c6\u9891\u6587\u4ef6\u8def\u5f84\u3002<\/li>\n<li>-vn&#xff1a;\u7981\u7528\u89c6\u9891\u6d41&#xff08;\u4ec5\u63d0\u53d6\u97f3\u9891&#xff09;\u3002<\/li>\n<li>-acodec copy&#xff1a;\u76f4\u63a5\u590d\u5236\u97f3\u9891\u6d41&#xff0c;\u4e0d\u91cd\u65b0\u7f16\u7801&#xff0c;\u4fdd\u6301\u539f\u59cb\u8d28\u91cf\u3002<\/li>\n<li>\u8f93\u51fa&#xff1a;\u4fdd\u5b58\u4e3a\u00a0\/path\/to\/audio\/Normal.People.S01E01.aac\u3002<\/li>\n<\/ul>\n<h4>\u6ce8\u610f\u4e8b\u9879<\/h4>\n<ul>\n<li>\u786e\u4fdd\u8f93\u51fa\u76ee\u5f55&#xff08;\u5982\u00a0\/path\/to\/audio\/&#xff09;\u5b58\u5728\u3002<\/li>\n<li>\u66ff\u6362\u00a0\/path\/to\/\u00a0\u4e3a\u5b9e\u9645\u6587\u4ef6\u8def\u5f84\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3><\/h3>\n<h3>\u6b65\u9aa4 2&#xff1a;\u751f\u6210\u5b57\u5e55<\/h3>\n<p>\u4f7f\u7528 Whisper \u6a21\u578b\u5c06\u97f3\u9891\u6587\u4ef6\u8f6c\u6362\u4e3a SRT \u683c\u5f0f\u7684\u5b57\u5e55\u6587\u4ef6\u3002Whisper \u652f\u6301\u591a\u79cd\u6a21\u578b&#xff08;\u5982\u00a0tiny\u3001base\u3001small\u3001medium\u3001large\u00a0\u548c\u00a0turbo&#xff09;&#xff0c;turbo\u00a0\u901f\u5ea6\u5feb&#xff0c;\u9002\u5408\u5feb\u901f\u6d4b\u8bd5\u3002<\/p>\n<h4>\u793a\u4f8b\u547d\u4ee4<\/h4>\n<p>\u4e3a\u63d0\u53d6\u7684\u97f3\u9891\u751f\u6210\u5b57\u5e55&#xff1a;<\/p>\n<p>whisper \/path\/to\/audio\/Normal.People.S01E01.aac &#8211;model turbo &#8211;output_format srt &#8211;output_dir \/path\/to\/generated_subs\/ <\/p>\n<ul>\n<li>&#8211;model turbo&#xff1a;\u4f7f\u7528 turbo \u6a21\u578b&#xff08;\u5feb\u901f\u4f46\u53ef\u80fd\u727a\u7272\u7cbe\u5ea6&#xff09;\u3002<\/li>\n<li>&#8211;output_format srt&#xff1a;\u8f93\u51fa SRT \u683c\u5f0f\u5b57\u5e55\u3002<\/li>\n<li>&#8211;output_dir&#xff1a;\u6307\u5b9a\u5b57\u5e55\u8f93\u51fa\u76ee\u5f55\u3002<\/li>\n<li>\u8f93\u51fa&#xff1a;\u751f\u6210\u00a0\/path\/to\/generated_subs\/Normal.People.S01E01.srt\u3002<\/li>\n<\/ul>\n<h4>\u793a\u4f8b\u8f93\u51fa<\/h4>\n<p>\u751f\u6210\u7684\u524d\u51e0\u6761\u5b57\u5e55\u53ef\u80fd\u5982\u4e0b&#xff1a;<\/p>\n<p>1<br \/>\n00:00:00,000 &#8211;&gt; 00:00:24,000<br \/>\nIt&#039;s a simple game. You have 15 players. Give one of them the ball.<br \/>\nGet it into the net.  <\/p>\n<p>2<br \/>\n00:00:24,000 &#8211;&gt; 00:00:26,000<br \/>\nVery simple. Isn&#039;t it?   <\/p>\n<h3><\/h3>\n<h3>\u6b65\u9aa4 3&#xff1a;\u6279\u91cf\u5904\u7406\u811a\u672c<\/h3>\n<p>\u624b\u52a8\u4e3a\u591a\u4e2a\u89c6\u9891\u751f\u6210\u5b57\u5e55\u6548\u7387\u4f4e\u4e0b\u3002\u4ee5\u4e0b Python \u811a\u672c\u81ea\u52a8\u5904\u7406\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u89c6\u9891\u6587\u4ef6&#xff0c;\u63d0\u53d6\u97f3\u9891\u5e76\u751f\u6210\u5b57\u5e55\u3002<\/p>\n<h4>\u5b8c\u6574\u811a\u672c<\/h4>\n<\/p>\n<p>import os<br \/>\nimport subprocess<br \/>\nimport argparse  <\/p>\n<p>defextract_audio(input_dir, output_dir):<br \/>\n    &#034;&#034;&#034;Extract audio from video files in input_dir and save to output_dir.&#034;&#034;&#034;<br \/>\n    ifnot os.path.exists(output_dir):<br \/>\n        os.makedirs(output_dir)<br \/>\n    for filename in os.listdir(input_dir):<br \/>\n        if filename.endswith((&#039;.mp4&#039;, &#039;.mkv&#039;)):<br \/>\n            input_path &#061; os.path.join(input_dir, filename)<br \/>\n            audio_filename &#061; os.path.splitext(filename)[0] &#043; &#039;.aac&#039;<br \/>\n            output_path &#061; os.path.join(output_dir, audio_filename)<br \/>\n            command &#061; [<br \/>\n                &#039;ffmpeg&#039;, &#039;-i&#039;, input_path, &#039;-vn&#039;, &#039;-acodec&#039;, &#039;copy&#039;, output_path<br \/>\n            ]<br \/>\n            print(f&#034;Extracting audio: {command}&#034;)<br \/>\n            try:<br \/>\n                subprocess.run(command, check&#061;True)<br \/>\n            except subprocess.CalledProcessError as e:<br \/>\n                print(f&#034;Error extracting audio from {filename}: {e}&#034;)  <\/p>\n<p>defgenerate_subtitles(input_dir, output_dir):<br \/>\n    &#034;&#034;&#034;Generate subtitles for audio files using Whisper.&#034;&#034;&#034;<br \/>\n    ifnot os.path.exists(output_dir):<br \/>\n        os.makedirs(output_dir)<br \/>\n    for filename in os.listdir(input_dir):<br \/>\n        if filename.endswith(&#039;.aac&#039;):<br \/>\n            input_path &#061; os.path.join(input_dir, filename)<br \/>\n            command &#061; [<br \/>\n                &#039;whisper&#039;, input_path, &#039;&#8211;model&#039;, &#039;turbo&#039;,<br \/>\n                &#039;&#8211;output_format&#039;, &#039;srt&#039;, &#039;&#8211;output_dir&#039;, output_dir<br \/>\n            ]<br \/>\n            print(f&#034;Generating subtitles: {command}&#034;)<br \/>\n            try:<br \/>\n                subprocess.run(command, check&#061;True)<br \/>\n            except subprocess.CalledProcessError as e:<br \/>\n                print(f&#034;Error generating subtitles for {filename}: {e}&#034;)  <\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    parser &#061; argparse.ArgumentParser(description&#061;&#034;Extract audio and generate subtitles.&#034;)<br \/>\n    parser.add_argument(&#034;input_dir&#034;, help&#061;&#034;Directory containing video files.&#034;)<br \/>\n    parser.add_argument(&#034;audio_dir&#034;, help&#061;&#034;Directory to save extracted audio files.&#034;)<br \/>\n    parser.add_argument(&#034;subtitle_dir&#034;, help&#061;&#034;Directory to save generated subtitles.&#034;)<br \/>\n    args &#061; parser.parse_args()<br \/>\n    extract_audio(args.input_dir, args.audio_dir)<br \/>\n    generate_subtitles(args.audio_dir, args.subtitle_dir)   <\/p>\n<h4>\u4f7f\u7528\u65b9\u6cd5<\/h4>\n<li>\u4fdd\u5b58\u811a\u672c\u4e3a\u00a0generate_subtitles.py\u3002<\/li>\n<li>\u8fd0\u884c\u811a\u672c&#xff0c;\u6307\u5b9a\u76ee\u5f55\u8def\u5f84&#xff1a;<\/li>\n<p>python generate_subtitles.py \/path\/to\/videos \/path\/to\/audio \/path\/to\/generated_subs   <\/p>\n<h3>\u6b65\u9aa4 4&#xff1a;\u4f18\u5316\u5b57\u5e55\u8d28\u91cf<\/h3>\n<p>\u751f\u6210\u7684\u5b57\u5e55\u53ef\u80fd\u5b58\u5728\u4ee5\u4e0b\u95ee\u9898&#xff0c;\u6211\u4eec\u63d0\u4f9b\u4f18\u5316\u65b9\u6cd5&#xff1a;<\/p>\n<h4>\u95ee\u9898 1&#xff1a;\u65f6\u95f4\u6233\u4e0d\u51c6\u786e<\/h4>\n<ul>\n<li>\u89e3\u51b3\u65b9\u6cd5&#xff1a;\n<ul>\n<li>\u4f7f\u7528\u00a0&#8211;max_line_width 50\u00a0\u548c\u00a0&#8211;max_line_count 2\u00a0\u9650\u5236\u5b57\u5e55\u957f\u5ea6\u3002<\/li>\n<li>\u540e\u5904\u7406\u8c03\u6574\u65f6\u95f4\u6233&#xff08;\u793a\u4f8b\u4ee3\u7801&#xff09;&#xff1a;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>import pysrt<br \/>\nsubs &#061; pysrt.open(&#039;subtitles.srt&#039;)<br \/>\nfor sub in subs:<br \/>\n    if sub.start.seconds &lt; 18:<br \/>\n        sub.shift(seconds&#061;18)<br \/>\nsubs.save(&#039;adjusted_subtitles.srt&#039;)   <\/p>\n<h4>\u95ee\u9898 2&#xff1a;\u5b57\u5e55\u8fc7\u957f<\/h4>\n<ul>\n<li>\u89e3\u51b3\u65b9\u6cd5&#xff1a;\n<ul>\n<li>\u4f7f\u7528 NLTK \u5206\u53e5&#xff08;\u793a\u4f8b\u4ee3\u7801&#xff09;&#xff1a;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>import nltk<br \/>\nnltk.download(&#039;punkt&#039;)<br \/>\nfrom nltk.tokenize import sent_tokenize  <\/p>\n<p>def split_long_subtitle(text):<br \/>\n    return sent_tokenize(text)  <\/p>\n<p>long_text &#061; &#034;It&#039;s a simple game. You have 15 players. Give one of them the ball.&#034;<br \/>\nsentences &#061; split_long_subtitle(long_text)  # \u8f93\u51fa&#xff1a;[&#039;It&#039;s a simple game.&#039;, &#039;You have 15 players.&#039;, &#8230;]   <\/p>\n<h4>\u95ee\u9898 3&#xff1a;\u6807\u70b9\u4e0d\u4e00\u81f4<\/h4>\n<ul>\n<li>\u89e3\u51b3\u65b9\u6cd5&#xff1a;\n<ul>\n<li>\u4f7f\u7528\u00a0&#8211;append_punctuations &#034;.,!?&#034;\u00a0\u53c2\u6570\u3002<\/li>\n<li>\u4f7f\u7528 spaCy \u540e\u5904\u7406\u6dfb\u52a0\u6807\u70b9&#xff08;\u793a\u4f8b\u4ee3\u7801&#xff09;&#xff1a;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>import spacy<br \/>\nnlp &#061; spacy.load(&#034;en_core_web_sm&#034;)<br \/>\ntext &#061; &#034;It&#039;s a simple game You have 15 players&#034;<br \/>\ndoc &#061; nlp(text)<br \/>\npunctuated_text &#061; &#034; &#034;.join(token.text_with_ws for token in doc)  # \u8f93\u51fa&#xff1a;It&#039;s a simple game. You have 15 players.   <\/p>\n<h3>\u6b65\u9aa4 5&#xff1a;\u5904\u7406\u975e\u82f1\u8bed\u97f3\u9891&#xff08;\u5982\u4e2d\u6587&#xff09;<\/h3>\n<h4>\u793a\u4f8b\u547d\u4ee4<\/h4>\n<p>\u751f\u6210\u4e2d\u6587\u5b57\u5e55\u5e76\u7ffb\u8bd1\u4e3a\u82f1\u6587&#xff1a;<\/p>\n<p>whisper \/path\/to\/In.the.Mood.for.Love.mp4 &#8211;model large &#8211;output_format srt &#8211;output_dir \/path\/to\/generated_subs &#8211;language zh &#8211;task transcribe   <\/p>\n<h4>\u4f18\u5316\u5efa\u8bae<\/h4>\n<li>\u4f7f\u7528 large \u6a21\u578b&#xff1a;\u975e\u82f1\u8bed\u97f3\u9891\u9700\u66f4\u9ad8\u7cbe\u5ea6\u3002<\/li>\n<li>\u6307\u5b9a\u65b9\u8a00&#xff1a;\u5982\u7ca4\u8bed\u4f7f\u7528\u00a0&#8211;language yue\u3002<\/li>\n<li>\u9884\u5904\u7406\u97f3\u9891&#xff1a;\u964d\u566a\u547d\u4ee4\u793a\u4f8b&#xff1a;<\/li>\n<p>ffmpeg -i input.mp4 -af &#034;afftdn&#034; -vn -acodec copy output.aac   <\/p>\n<h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<li>\u6027\u80fd\u8003\u8651&#xff1a;large \u6a21\u578b\u9700\u66f4\u591a\u8ba1\u7b97\u8d44\u6e90\u3002<\/li>\n<li>\u6587\u4ef6\u683c\u5f0f&#xff1a;\u786e\u4fdd\u517c\u5bb9 MP4\u3001MKV\u3001AAC \u7b49\u683c\u5f0f\u3002<\/li>\n<li>\u8c03\u8bd5&#xff1a;\u4f7f\u7528\u00a0&#8211;verbose\u00a0\u67e5\u770b\u8be6\u7ec6\u65e5\u5fd7\u3002<\/li>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7 FFmpeg \u548c Whisper&#xff0c;\u53ef\u4ee5\u8f7b\u677e\u4e3a\u89c6\u9891\u751f\u6210\u9ad8\u8d28\u91cf\u5b57\u5e55\u3002\u6279\u91cf\u5904\u7406\u811a\u672c\u81ea\u52a8\u5316\u4e86\u63d0\u53d6\u97f3\u9891\u548c\u751f\u6210\u5b57\u5e55\u7684\u8fc7\u7a0b&#xff0c;\u4f18\u5316\u65f6\u95f4\u6233\u3001\u5b57\u5e55\u957f\u5ea6\u548c\u6807\u70b9\u7684\u65b9\u6cd5\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u5b57\u5e55\u8d28\u91cf\u3002\u5bf9\u4e8e\u975e\u82f1\u8bed\u97f3\u9891&#xff08;\u5982\u4e2d\u6587&#xff09;&#xff0c;\u4f7f\u7528 large \u6a21\u578b\u3001\u9884\u5904\u7406\u97f3\u9891\u548c\u5206\u79bb\u8f6c\u5f55\u7ffb\u8bd1\u662f\u5173\u952e\u3002 \u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb424\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf11\u6b21\u3002\u672c\u6587\u5c06\u6307\u5bfc\u4f60\u4f7f\u7528 OpenAI \u7684 Whisper \u6a21\u578b\u4e3a\u89c6\u9891\u6587\u4ef6\uff08\u5982\u7535\u89c6\u5267\u300aNormal People\u300b\u6216\u7535\u5f71\u300a\u82b1\u6837\u5e74\u534e\u300b\uff09\u751f\u6210\u5b57\u5e55\uff08SRT \u683c\u5f0f\uff09\u3002\u6211\u4eec\u5c06\u4ece\u63d0\u53d6\u97f3\u9891\u5f00\u59cb\uff0c\u9010\u6b65\u5b9e\u73b0\u5b57\u5e55\u751f\u6210\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a Python \u811a\u672c\u5b9e\u73b0\u6279\u91cf\u5904\u7406\u3002\u6279\u91cf\u5904\u7406\u811a\u672c\u81ea\u52a8\u5316\u4e86\u63d0\u53d6\u97f3\u9891\u548c\u751f\u6210\u5b57\u5e55\u7684\u8fc7\u7a0b\uff0c\u4f18\u5316\u65f6\u95f4\u6233\u3001\u5b57\u5e55\u957f\u5ea6\u548c\u6807\u70b9\u7684\u65b9\u6cd5\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u5b57\u5e55\u8d28\u91cf\u3002\u4ee5\u4e0b Python \u811a\u672c\u81ea\u52a8\u5904\u7406\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u89c6\u9891\u6587\u4ef6\uff0c\u63d0\u53d6\u97f3\u9891\u5e76\u751f\u6210\u5b57\u5e55\u3002\uff1a\u51c6\u5907 MP4 \u6216 MKV \u683c\u5f0f\u7684\u89c6\u9891\u6587\u4ef6\uff08\u5982\u300aNormal People\u300b\u6216\u300a\u82b1\u6837\u5e74\u534e\u300b\uff09\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,3065,50,3356,202,214],"topic":[],"class_list":["post-38361","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-whisper","tag-50","tag-3356","tag-202","tag-214"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/38361.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb424\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf11\u6b21\u3002\u672c\u6587\u5c06\u6307\u5bfc\u4f60\u4f7f\u7528 OpenAI \u7684 Whisper \u6a21\u578b\u4e3a\u89c6\u9891\u6587\u4ef6\uff08\u5982\u7535\u89c6\u5267\u300aNormal People\u300b\u6216\u7535\u5f71\u300a\u82b1\u6837\u5e74\u534e\u300b\uff09\u751f\u6210\u5b57\u5e55\uff08SRT \u683c\u5f0f\uff09\u3002\u6211\u4eec\u5c06\u4ece\u63d0\u53d6\u97f3\u9891\u5f00\u59cb\uff0c\u9010\u6b65\u5b9e\u73b0\u5b57\u5e55\u751f\u6210\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a Python \u811a\u672c\u5b9e\u73b0\u6279\u91cf\u5904\u7406\u3002\u6279\u91cf\u5904\u7406\u811a\u672c\u81ea\u52a8\u5316\u4e86\u63d0\u53d6\u97f3\u9891\u548c\u751f\u6210\u5b57\u5e55\u7684\u8fc7\u7a0b\uff0c\u4f18\u5316\u65f6\u95f4\u6233\u3001\u5b57\u5e55\u957f\u5ea6\u548c\u6807\u70b9\u7684\u65b9\u6cd5\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u5b57\u5e55\u8d28\u91cf\u3002\u4ee5\u4e0b Python \u811a\u672c\u81ea\u52a8\u5904\u7406\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u89c6\u9891\u6587\u4ef6\uff0c\u63d0\u53d6\u97f3\u9891\u5e76\u751f\u6210\u5b57\u5e55\u3002\uff1a\u51c6\u5907 MP4 \u6216 MKV \u683c\u5f0f\u7684\u89c6\u9891\u6587\u4ef6\uff08\u5982\u300aNormal People\u300b\u6216\u300a\u82b1\u6837\u5e74\u534e\u300b\uff09\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38361.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-20T01:18:21+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38361.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38361.html\",\"name\":\"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-20T01:18:21+00:00\",\"dateModified\":\"2025-05-20T01:18:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38361.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38361.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38361.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/38361.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb424\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf11\u6b21\u3002\u672c\u6587\u5c06\u6307\u5bfc\u4f60\u4f7f\u7528 OpenAI \u7684 Whisper \u6a21\u578b\u4e3a\u89c6\u9891\u6587\u4ef6\uff08\u5982\u7535\u89c6\u5267\u300aNormal People\u300b\u6216\u7535\u5f71\u300a\u82b1\u6837\u5e74\u534e\u300b\uff09\u751f\u6210\u5b57\u5e55\uff08SRT \u683c\u5f0f\uff09\u3002\u6211\u4eec\u5c06\u4ece\u63d0\u53d6\u97f3\u9891\u5f00\u59cb\uff0c\u9010\u6b65\u5b9e\u73b0\u5b57\u5e55\u751f\u6210\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a Python \u811a\u672c\u5b9e\u73b0\u6279\u91cf\u5904\u7406\u3002\u6279\u91cf\u5904\u7406\u811a\u672c\u81ea\u52a8\u5316\u4e86\u63d0\u53d6\u97f3\u9891\u548c\u751f\u6210\u5b57\u5e55\u7684\u8fc7\u7a0b\uff0c\u4f18\u5316\u65f6\u95f4\u6233\u3001\u5b57\u5e55\u957f\u5ea6\u548c\u6807\u70b9\u7684\u65b9\u6cd5\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u5b57\u5e55\u8d28\u91cf\u3002\u4ee5\u4e0b Python \u811a\u672c\u81ea\u52a8\u5904\u7406\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u89c6\u9891\u6587\u4ef6\uff0c\u63d0\u53d6\u97f3\u9891\u5e76\u751f\u6210\u5b57\u5e55\u3002\uff1a\u51c6\u5907 MP4 \u6216 MKV \u683c\u5f0f\u7684\u89c6\u9891\u6587\u4ef6\uff08\u5982\u300aNormal People\u300b\u6216\u300a\u82b1\u6837\u5e74\u534e\u300b\uff09\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/38361.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-20T01:18:21+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/38361.html","url":"https:\/\/www.wsisp.com\/helps\/38361.html","name":"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-20T01:18:21+00:00","dateModified":"2025-05-20T01:18:21+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38361.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38361.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38361.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528 Whisper \u751f\u6210\u89c6\u9891\u5b57\u5e55\uff1a\u4ece\u63d0\u53d6\u97f3\u9891\u5230\u6279\u91cf\u5904\u7406"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=38361"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38361\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38361"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}