{"id":28397,"date":"2025-03-12T19:15:15","date_gmt":"2025-03-12T11:15:15","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=28397"},"modified":"2025-07-21T05:07:17","modified_gmt":"2025-07-20T21:07:17","slug":"autiobooks","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/ja\/autiobooks\/","title":{"rendered":"Autiobooks\uff1a\u5c06epub\u7535\u5b50\u4e66\u8f6c\u6362\u4e3am4b\u6709\u58f0\u4e66"},"content":{"rendered":"<p>Autiobooks \u662f\u4e00\u6b3e\u5f00\u6e90\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u5c06\u00a0<code>.epub<\/code>\u00a0\u683c\u5f0f\u7684\u7535\u5b50\u4e66\u5feb\u901f\u8f6c\u6362\u4e3a\u00a0<code>.m4b<\/code>\u00a0\u683c\u5f0f\u7684\u6709\u58f0\u4e66\u3002\u5b83\u91c7\u7528 <a href=\"https:\/\/www.kdjingpai.com\/ja\/kokoro\/\">Kokoro<\/a> \u63d0\u4f9b\u7684\u4f18\u8d28\u8bed\u97f3\u5408\u6210\u6280\u672f\uff0c\u751f\u6210\u7684\u97f3\u9891\u81ea\u7136\u6d41\u7545\u3002\u8fd9\u6b3e\u5de5\u5177\u7531 David Nesbitt \u5f00\u53d1\uff0c\u9075\u5faa MIT \u8bb8\u53ef\u8bc1\uff0c\u7528\u6237\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528\u5e76\u53c2\u4e0e\u4ee3\u7801\u6539\u8fdb\u3002Autiobooks \u7684\u7279\u70b9\u662f\u7b80\u5355\u6613\u7528\uff0c\u80fd\u5728\u666e\u901a\u5bb6\u7528\u7535\u8111\u4e0a\u8fd0\u884c\u3002\u76ee\u524d\u4ec5\u652f\u6301\u82f1\u8bed\u5185\u5bb9\uff0c\u4f46\u4f9d\u6258 Kokoro \u7684\u80fd\u529b\uff0c\u672a\u6765\u53ef\u80fd\u6269\u5c55\u5230\u5176\u4ed6\u8bed\u8a00\u3002\u65e0\u8bba\u662f\u5c0f\u8bf4\u3001\u6559\u6750\u8fd8\u662f\u5176\u4ed6\u7535\u5b50\u4e66\uff0cAutiobooks \u90fd\u80fd\u5c06\u5176\u53d8\u6210\u65b9\u4fbf\u6536\u542c\u7684\u97f3\u9891\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28398\" title=\"Autiobooks\uff1a\u5c06epub\u7535\u5b50\u4e66\u8f6c\u6362\u4e3am4b\u6709\u58f0\u4e66-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/45681de290f7329.png\" alt=\"Autiobooks\uff1a\u5c06epub\u7535\u5b50\u4e66\u8f6c\u6362\u4e3am4b\u6709\u58f0\u4e66-1\" width=\"917\" height=\"789\" srcset=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/45681de290f7329.png 917w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/45681de290f7329-768x661.png 768w, https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/03\/45681de290f7329-14x12.png 14w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li><strong>\u7535\u5b50\u4e66\u8f6c\u6709\u58f0\u4e66<\/strong>\uff1a\u652f\u6301\u5c06\u00a0<code>.epub<\/code>\u00a0\u6587\u4ef6\u81ea\u52a8\u8f6c\u6362\u4e3a\u00a0<code>.m4b<\/code>\u00a0\u683c\u5f0f\u7684\u6709\u58f0\u4e66\u3002<\/li>\n<li><strong>\u81ea\u7136\u8bed\u97f3\u5408\u6210<\/strong>\uff1a\u5229\u7528 Kokoro \u7684 8200 \u4e07\u53c2\u6570\u6a21\u578b\uff0c\u751f\u6210\u63a5\u8fd1\u771f\u4eba\u7684\u8bed\u97f3\u6548\u679c\u3002<\/li>\n<li><strong>\u7ae0\u8282\u81ea\u52a8\u5904\u7406<\/strong>\uff1a\u6309\u7535\u5b50\u4e66\u7ae0\u8282\u62c6\u5206\u97f3\u9891\uff0c\u6700\u540e\u5408\u5e76\u4e3a\u5b8c\u6574\u6709\u58f0\u4e66\u3002<\/li>\n<li><strong>\u652f\u6301\u82f1\u8bed\u6717\u8bfb<\/strong>\uff1a\u5f53\u524d\u4e13\u6ce8\u4e8e\u82f1\u8bed\uff0cKokoro \u63d0\u4f9b\u591a\u79cd\u53e3\u97f3\u548c\u8bed\u8c03\u9009\u62e9\u3002<\/li>\n<li><strong>\u5f00\u6e90\u793e\u533a\u652f\u6301<\/strong>\uff1a\u4ee3\u7801\u516c\u5f00\uff0c\u7528\u6237\u53ef\u901a\u8fc7 GitHub \u63d0\u4ea4\u95ee\u9898\u6216\u6539\u8fdb\u5efa\u8bae\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<h3>\u5b89\u88c5\u6d41\u7a0b<\/h3>\n<p>\u8981\u5728\u7535\u8111\u4e0a\u4f7f\u7528 Autiobooks\uff0c\u9700\u8981\u5148\u5b8c\u6210\u4e00\u4e9b\u51c6\u5907\u5de5\u4f5c\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u5b89\u88c5\u6b65\u9aa4\uff0c\u9002\u7528\u4e8e Linux \u548c MacOS \u7cfb\u7edf\u3002\u6ce8\u610f\uff0c\u76ee\u524d pip \u5b89\u88c5\u5b58\u5728\u95ee\u9898\uff0c\u5efa\u8bae\u76f4\u63a5\u4e0b\u8f7d\u6e90\u7801\u8fd0\u884c\uff0c\u4e14\u4e0d\u652f\u6301 Python 3.13\u3002<\/p>\n<h4>1. \u68c0\u67e5 Python \u73af\u5883<\/h4>\n<p>\u786e\u4fdd\u7535\u8111\u5df2\u5b89\u88c5 Python 3\uff08\u63a8\u8350\u7248\u672c\u4e3a 3.10 \u6216 3.11\uff09\u3002\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\uff1a<\/p>\n<pre><code>python3 --version\r\n<\/code><\/pre>\n<p>\u5982\u679c\u6ca1\u6709 Python\uff0c\u53ef\u524d\u5f80\u00a0Python \u5b98\u7f51\u00a0\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<h4>2. \u83b7\u53d6 Autiobooks \u6e90\u7801<\/h4>\n<p>\u7531\u4e8e pip \u5b89\u88c5\u6682\u4e0d\u53ef\u7528\uff0c\u8bf7\u4ece GitHub \u4e0b\u8f7d\uff1a<\/p>\n<ul>\n<li>\u8bbf\u95ee\u00a0https:\/\/github.com\/plusuncold\/autiobooks\u3002<\/li>\n<li>\u70b9\u51fb\u53f3\u4e0a\u89d2\u7eff\u8272 \u201cCode\u201d \u6309\u94ae\uff0c\u9009\u62e9 \u201cDownload ZIP\u201d\u3002<\/li>\n<li>\u89e3\u538b\u6587\u4ef6\u5230\u672c\u5730\uff0c\u4f8b\u5982\u00a0<code>\/home\/user\/autiobooks<\/code>\u3002<\/li>\n<\/ul>\n<h4>3. \u5b89\u88c5\u4f9d\u8d56\u5de5\u5177<\/h4>\n<p>Autiobooks \u9700\u8981\u00a0<code>ffmpeg<\/code>\u00a0\u548c\u00a0<code>tkinter<\/code>\uff0c\u5efa\u8bae\u989d\u5916\u5b89\u88c5\u00a0<code>espeak-ng<\/code>\u00a0\u4ee5\u63d0\u5347\u53d1\u97f3\u51c6\u786e\u6027\u3002\u6839\u636e\u4f60\u7684\u7cfb\u7edf\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p><strong>Linux \u7cfb\u7edf<\/strong>\uff1a<\/p>\n<pre><code>sudo apt update\r\nsudo apt install ffmpeg python3-tk espeak-ng\r\n<\/code><\/pre>\n<p><strong>MacOS \u7cfb\u7edf<\/strong>\uff1a<\/p>\n<pre><code>brew install ffmpeg python-tk espeak-ng\r\n<\/code><\/pre>\n<p>\u5982\u679c\u6ca1\u6709 Homebrew\uff0c\u5148\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<pre><code>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"\r\n<\/code><\/pre>\n<h4>4. \u542f\u52a8\u7a0b\u5e8f<\/h4>\n<p>\u8fdb\u5165\u89e3\u538b\u540e\u7684\u6587\u4ef6\u5939\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre><code>cd \/home\/user\/autiobooks\r\n<\/code><\/pre>\n<p>\u7136\u540e\u8fd0\u884c\uff1a<\/p>\n<pre><code>python3 -m autiobooks\r\n<\/code><\/pre>\n<p>\u7a0b\u5e8f\u542f\u52a8\u540e\u4f1a\u663e\u793a\u4e00\u4e2a\u56fe\u5f62\u754c\u9762\uff0c\u8fd9\u5c31\u662f Autiobooks \u7684\u64cd\u4f5c\u7a97\u53e3\u3002<\/p>\n<h3>\u5982\u4f55\u4f7f\u7528<\/h3>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528 Autiobooks \u7684\u8fc7\u7a0b\u5f88\u7b80\u5355\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u6b65\u9aa4\uff1a<\/p>\n<h4>1. \u6253\u5f00\u754c\u9762<\/h4>\n<p>\u8fd0\u884c\u547d\u4ee4\u540e\uff0c\u4f1a\u5f39\u51fa\u4e00\u4e2a\u53ef\u8c03\u6574\u5927\u5c0f\u7684\u7a97\u53e3\u3002\u8fd9\u662f Autiobooks \u7684\u4e3b\u754c\u9762\uff0c\u64cd\u4f5c\u90fd\u5728\u8fd9\u91cc\u5b8c\u6210\u3002<\/p>\n<h4>2. \u5bfc\u5165\u7535\u5b50\u4e66<\/h4>\n<ul>\n<li>\u5728\u754c\u9762\u4e0a\u627e\u5230 \u201c\u9009\u62e9\u6587\u4ef6\u201d \u6216\u7c7b\u4f3c\u6309\u94ae\uff08\u5177\u4f53\u540d\u79f0\u53ef\u80fd\u56e0\u7248\u672c\u7565\u6709\u4e0d\u540c\uff09\u3002<\/li>\n<li>\u6d4f\u89c8\u7535\u8111\u6587\u4ef6\u5939\uff0c\u9009\u62e9\u4e00\u4e2a\u00a0<code>.epub<\/code>\u00a0\u6587\u4ef6\uff0c\u4f8b\u5982\u00a0<code>mybook.epub<\/code>\uff0c\u7136\u540e\u70b9\u51fb \u201c\u6253\u5f00\u201d\u3002<\/li>\n<li>\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u52a0\u8f7d\u7535\u5b50\u4e66\u7684\u7ae0\u8282\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<h4>3. \u914d\u7f6e\u8f93\u51fa<\/h4>\n<ul>\n<li>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u751f\u6210\u7684\u00a0<code>.m4b<\/code>\u00a0\u6587\u4ef6\u4f1a\u4fdd\u5b58\u5728\u5f53\u524d\u6587\u4ef6\u5939\uff0c\u6587\u4ef6\u540d\u901a\u5e38\u57fa\u4e8e\u7535\u5b50\u4e66\u540d\u79f0\uff0c\u4f8b\u5982\u00a0<code>mybook.m4b<\/code>\u3002<\/li>\n<li>\u5982\u679c\u9700\u8981\u8c03\u6574\u4fdd\u5b58\u4f4d\u7f6e\u6216\u6587\u4ef6\u540d\uff0c\u53ef\u5728\u754c\u9762\u4e0a\u624b\u52a8\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<h4>4. \u5f00\u59cb\u8f6c\u6362<\/h4>\n<ul>\n<li>\u70b9\u51fb \u201c\u5f00\u59cb\u201d \u6216 \u201c\u8f6c\u6362\u201d \u6309\u94ae\uff0c\u7a0b\u5e8f\u4f1a\u5148\u5c06\u6bcf\u4e2a\u7ae0\u8282\u8f6c\u4e3a\u00a0<code>.wav<\/code>\u00a0\u6587\u4ef6\u3002<\/li>\n<li>\u8f6c\u6362\u65f6\u95f4\u53d6\u51b3\u4e8e\u7535\u5b50\u4e66\u957f\u5ea6\u548c\u7535\u8111\u6027\u80fd\uff0c\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u5230\u51e0\u5c0f\u65f6\u3002<\/li>\n<li>\u5b8c\u6210\u540e\uff0c\u6240\u6709\u00a0<code>.wav<\/code>\u00a0\u6587\u4ef6\u4f1a\u5408\u5e76\u4e3a\u4e00\u4e2a\u00a0<code>.m4b<\/code>\u00a0\u6587\u4ef6\uff0c\u5373\u6700\u7ec8\u7684\u6709\u58f0\u4e66\u3002<\/li>\n<\/ul>\n<h4>5. \u64ad\u653e\u97f3\u9891<\/h4>\n<ul>\n<li>\u4f7f\u7528\u652f\u6301\u00a0<code>.m4b<\/code>\u00a0\u7684\u64ad\u653e\u5668\u6253\u5f00\u6587\u4ef6\uff0c\u4f8b\u5982 VLC \u5a92\u4f53\u64ad\u653e\u5668\u3001iTunes \u6216\u624b\u673a\u4e0a\u7684\u6709\u58f0\u4e66\u5e94\u7528\u3002<\/li>\n<li>\u68c0\u67e5\u97f3\u9891\u662f\u5426\u6b63\u5e38\u3002\u5982\u679c\u6709\u95ee\u9898\uff0c\u53ef\u4ee5\u67e5\u770b\u63a7\u5236\u53f0\u9519\u8bef\u4fe1\u606f\u6216\u91cd\u8bd5\u3002<\/li>\n<\/ul>\n<h3>\u7279\u8272\u529f\u80fd\u8be6\u89e3<\/h3>\n<ul>\n<li><strong>\u7ae0\u8282\u5904\u7406<\/strong>\uff1aAutiobooks \u80fd\u81ea\u52a8\u8bc6\u522b\u00a0<code>.epub<\/code>\u00a0\u6587\u4ef6\u7684\u7ae0\u8282\u7ed3\u6784\u3002\u4ece 1.0.3 \u7248\u672c\u5f00\u59cb\uff0c\u5373\u4f7f\u7ae0\u8282\u672a\u6807\u8bb0\u4e3a\u00a0<code>ITEM_DOCUMENT<\/code>\uff0c\u4e5f\u80fd\u6b63\u786e\u8bfb\u53d6\u3002\u5982\u679c\u67d0\u4e9b\u7ae0\u8282\u672a\u88ab\u8bc6\u522b\uff0c\u53ef\u4ee5\u624b\u52a8\u9009\u62e9\u5168\u90e8\u7ae0\u8282\u3002<\/li>\n<li><strong>\u8bed\u97f3\u6548\u679c<\/strong>\uff1aKokoro \u63d0\u4f9b\u591a\u79cd\u82f1\u8bed\u8bed\u97f3\u9009\u9879\uff08\u5982\u7f8e\u5f0f\u6216\u82f1\u5f0f\u53e3\u97f3\uff09\uff0c\u76ee\u524d\u7531\u7a0b\u5e8f\u9ed8\u8ba4\u9009\u62e9\u3002\u60f3\u8c03\u6574\u8bed\u97f3\u9700\u4fee\u6539\u6e90\u7801\uff0c\u9002\u5408\u61c2\u7f16\u7a0b\u7684\u7528\u6237\u3002<\/li>\n<li><strong>\u9519\u8bef\u5904\u7406<\/strong>\uff1a\u5982\u679c\u8f6c\u6362\u5931\u8d25\uff0c\u5148\u786e\u8ba4\u00a0<code>ffmpeg<\/code>\u00a0\u662f\u5426\u6b63\u786e\u5b89\u88c5\u3002\u518d\u68c0\u67e5\u63a7\u5236\u53f0\u8f93\u51fa\uff0c\u5e38\u89c1\u95ee\u9898\u5982\u591a\u97f3\u9891\u6d41\uff081.0.9 \u4fee\u590d\uff09\u6216\u7ade\u6001\u6761\u4ef6\uff081.1.0 \u4fee\u590d\uff09\u5df2\u89e3\u51b3\u3002<\/li>\n<\/ul>\n<h3>\u4f7f\u7528\u6280\u5de7\u4e0e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li><strong>\u6587\u4ef6\u683c\u5f0f<\/strong>\uff1a\u786e\u4fdd\u00a0<code>.epub<\/code>\u00a0\u6587\u4ef6\u683c\u5f0f\u6807\u51c6\uff0c\u975e\u6807\u51c6\u6587\u4ef6\u53ef\u80fd\u5bfc\u81f4\u8f6c\u6362\u5931\u8d25\u3002<\/li>\n<li><strong>\u786c\u4ef6\u8981\u6c42<\/strong>\uff1a\u5efa\u8bae\u7535\u8111\u81f3\u5c11\u6709 4GB \u5185\u5b58\uff0cKokoro \u8fd0\u884c\u65f6\u4f1a\u5360\u7528\u4e00\u5b9a\u8d44\u6e90\u3002<\/li>\n<li><strong>\u6545\u969c\u6392\u9664<\/strong>\uff1a\u5982\u679c\u7a0b\u5e8f\u65e0\u54cd\u5e94\uff0c\u68c0\u67e5\u4f9d\u8d56\u662f\u5426\u9f50\u5168\uff0c\u6216\u91cd\u542f\u7a0b\u5e8f\u3002GitHub \u7684 Changelog \u8bb0\u5f55\u4e86\u5386\u53f2\u95ee\u9898\u548c\u4fee\u590d\u60c5\u51b5\uff0c\u53ef\u4f9b\u53c2\u8003\u3002<\/li>\n<li><strong>\u6269\u5c55\u6f5c\u529b<\/strong>\uff1a\u867d\u7136\u76ee\u524d\u4ec5\u652f\u6301\u82f1\u8bed\uff0c\u4f46 Kokoro \u652f\u6301\u591a\u79cd\u8bed\u8a00\uff08\u6cd5\u8bed\u3001\u97e9\u8bed\u3001\u65e5\u8bed\u7b49\uff09\uff0c\u672a\u6765\u7248\u672c\u53ef\u80fd\u5f00\u653e\u66f4\u591a\u9009\u9879\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u7528 Autiobooks \u8f7b\u677e\u5c06\u7535\u5b50\u4e66\u8f6c\u4e3a\u6709\u58f0\u4e66\uff0c\u4eab\u53d7\u968f\u65f6\u968f\u5730\u7684\u542c\u4e66\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Autiobooks \u662f\u4e00\u6b3e\u5f00\u6e90\u5de5\u5177\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u5c06\u00a0.epub\u00a0\u683c\u5f0f\u7684\u7535\u5b50\u4e66\u5feb\u901f\u8f6c\u6362\u4e3a\u00a0.m4b\u00a0\u683c\u5f0f\u7684\u6709\u58f0\u4e66\u3002\u5b83\u91c7\u7528 Kokoro \u63d0\u4f9b\u7684\u4f18\u8d28\u8bed\u97f3\u5408\u6210\u6280\u672f\uff0c\u751f\u6210\u7684\u97f3\u9891\u81ea\u7136\u6d41\u7545\u3002\u8fd9\u6b3e\u5de5\u5177\u7531 David Nesbitt \u5f00\u53d1\uff0c\u9075\u5faa MIT &#8230;<\/p>\n","protected":false},"author":1,"featured_media":32782,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,416,479],"tags":[230,215],"class_list":["post-28397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tool","category-ai-audio","category-text-to-speech","tag-aikaiyuanxiangmu","tag-aiwenbenzhuanyuyin"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/28397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/comments?post=28397"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/28397\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media\/32782"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media?parent=28397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/categories?post=28397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/tags?post=28397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}