{"id":8613,"date":"2023-01-29T10:50:03","date_gmt":"2023-01-29T02:50:03","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=8613"},"modified":"2024-05-05T23:08:03","modified_gmt":"2024-05-05T15:08:03","slug":"windows-%e9%85%8d%e7%bd%ae-ffmpeg-%e4%bd%bf%e7%94%a8%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=8613","title":{"rendered":"Windows \u914d\u7f6e FFmpeg \u4f7f\u7528\u73af\u5883"},"content":{"rendered":"<p>FFmpeg \u5b98\u7f51\uff1a<a href=\"https:\/\/ffmpeg.org\/\">https:\/\/ffmpeg.org\/<\/a><\/p>\n<p>FFmpeg \u8fd9\u4e2a\u5f00\u6e90\u9879\u76ee\u4f3c\u4e4e\u633a\u4e45\u8fdc\u4e86\uff0c\u5728\u5904\u7406\u89c6\u9891\u3001\u97f3\u9891\u7b49\u65b9\u9762\u5f88\u5f3a\u3002\u5f88\u591a\u97f3\u89c6\u9891\u64ad\u653e\u5668\u5e95\u5c42\u90fd\u6709\u4f7f\u7528\u5b83\uff0c\u66fe\u7ecf\u66b4\u98ce\u5f71\u97f3\u3001QQ \u5f71\u97f3\u56e0\u4e3a\u4e0d\u9075\u5b88\u5f00\u6e90\u534f\u8bae\u4f7f\u7528 FFmpeg\uff0c\u8fd8\u88ab\u653e\u5230\u4e86 FFmpeg \u7684\u201c\u803b\u8fb1\u67f1\u201d\u4e0a\u3002<\/p>\n<p>\u73b0\u5728\u8fdb\u5165\u6b63\u9898\uff0cLinux \u5b89\u88c5\u7684\u8bdd\uff0c\u76f4\u63a5\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u6ca1\u95ee\u9898\uff0cDebian \u7cfb\u7684\uff0c\u5982 Debian\u3001Kali Linux\u3001Ubuntu\u3001\u4f18\u9e92\u9e9f \u7b49\u7b49\uff0c\u76f4\u63a5\u4e00\u4e2a\u547d\u4ee4\u5b89\u88c5<\/p>\n<pre><code class=\"language-bash\">sudo apt install -y ffmpeg<\/code><\/pre>\n<p>\u5f53\u7136\u4e0d\u7ba1 Windows\u3001Mac\uff0c\u8fd8\u662f Linux \u90fd\u53ef\u4ee5\u901a\u8fc7\u5f00\u6e90\u7684\u6e90\u7801\u81ea\u5df1\u7f16\u8bd1\uff0cMac \u6ca1\u7528\u8fc7\u4e5f\u4e0d\u4e86\u89e3\uff0c\u8fd9\u91cc\u5c31\u4e0d\u8bf4\u4e86\u3002Windows \u7aef\u6709\u7f16\u8bd1\u597d\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u70b9\u5f00\u4e0a\u9762\u7684\u5b98\u7f51\u5730\u5740\u8fdb\u53bb\u4e0b\u8f7d<br \/>\n\u70b9\u5230\u4e0b\u9762\u9875\u9762\uff0c\u70b9 Windows \u56fe\u6807\uff0c\u8fd9\u91cc\u63d0\u4f9b\u4e86\u4e24\u4e2a\u7f16\u8bd1\u7248\u672c\uff08\u90fd\u662f\u7b2c\u4e09\u65b9\u7f16\u8bd1\u7684\uff09<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674959195400.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 845px; --smush-placeholder-aspect-ratio: 845\/501;\" \/><\/p>\n<p>\u6211\u7528\u7684 BtbN \u7684\uff0c\u53ef\u4ee5\u76f4\u63a5\u53bb\u4ed6\u7684 GitHub \u9875\u9762\uff1a<a href=\"https:\/\/github.com\/BtbN\/FFmpeg-Builds\/releases\">https:\/\/github.com\/BtbN\/FFmpeg-Builds\/releases<\/a><\/p>\n<p>\u8fd9\u91cc\u5c31\u76f4\u63a5\u7528\u6700\u65b0\u7f16\u8bd1\u7684\uff0c\u9009 win64 \u7248\u672c<br \/>\n\u5982\u679c\u6ca1\u6709\u68af\u5b50\uff0c\u4e0b\u8f7d\u53ef\u80fd\u4f1a\u5f88\u6162\u3002\u4e5f\u53ef\u4ee5\u8bd5\u8bd5\u590d\u5236\u94fe\u63a5\u7528\u8fc5\u96f7\u4e0b\u8f7d\u53ef\u80fd\u4f1a\u597d\u4e00\u70b9\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674959364860.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 868px; --smush-placeholder-aspect-ratio: 868\/691;\" \/><\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e\u89e3\u538b\u5305\uff0c\u5f97\u5230\u6587\u4ef6\u5939 ffmpeg-master-latest-win64-gpl\uff0c\u6253\u5f00\u8fd9\u4e2a\u6587\u4ef6\u5939\u53ef\u4ee5\u770b\u5230<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674959764206.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 615px; --smush-placeholder-aspect-ratio: 615\/172;\" \/><\/p>\n<p>\u90a3\u4e48\u628a ffmpeg-master-latest-win64-gpl \u6587\u4ef6\u5939\u79fb\u52a8\u5230\u4e00\u4e2a\u56fa\u5b9a\u7684\u4f4d\u7f6e\uff0c\u907f\u514d\u4e0d\u5c0f\u5fc3\u88ab\u5220\u6389\u4e86\u3002<br \/>\n\u8fd9\u91cc\u6211\u653e\u5230 D \u76d8\u7684 64 \u4f4d\u8f6f\u4ef6\u5b89\u88c5\u8def\u5f84 D:\\Program Files\uff0c\u79fb\u52a8\u540e\uff0c\u6309\u4e0b\u56fe\u7684\u8def\u5f84\u4e00\u76f4\u8fdb\u5230 bin \u76ee\u5f55\u91cc\uff0c\u770b\u5230\u5982\u56fe\u7684\u4e09\u4e2a\u6587\u4ef6\uff0c\u5b83\u4eec\u5c31\u662f ffmpeg \u7684\u7a0b\u5e8f\u53ef\u6267\u884c\u6587\u4ef6<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674959930292.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 719px; --smush-placeholder-aspect-ratio: 719\/219;\" \/><\/p>\n<p>\u590d\u5236\u5730\u5740\u680f\u7684\u8def\u5f84\uff0c\u6211\u8fd9\u91cc\u590d\u5236\u4e0b\u6765\u5c31\u662f D:\\Program Files\\ffmpeg-master-latest-win64-gpl\\bin<\/p>\n<p>\u7136\u540e\u914d\u7f6e\u4e00\u4e0b\u73af\u5883\u53d8\u91cf\uff0c\u624d\u80fd\u5728\u63a7\u5236\u53f0\u91cc\u4f7f\u7528\u3002\u6253\u5f00\u63a7\u5236\u9762\u677f-&gt;\u7cfb\u7edf\u548c\u5b89\u5168-&gt;\u7cfb\u7edf\uff0c\u70b9\u51fb\u5de6\u4fa7\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1675877065681.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 769px; --smush-placeholder-aspect-ratio: 769\/582;\" \/><\/p>\n<p>\u70b9\u5230\u9ad8\u7ea7-\u73af\u5883\u53d8\u91cf<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674960172559.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 478px; --smush-placeholder-aspect-ratio: 478\/599;\" \/><\/p>\n<p>\u4e0a\u9762\u7684\u662f\u8bbe\u7f6e\u5f53\u524d\u7528\u6237\u7684\u73af\u5883\u53d8\u91cf\uff0c\u4e0b\u9762\u7684\u662f\u9488\u5bf9\u7cfb\u7edf\u5185\u6240\u6709\u7684\u7528\u6237\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674960186153.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 615px; --smush-placeholder-aspect-ratio: 615\/665;\" \/><\/p>\n<p>\u5982\u679c\u7cfb\u7edf\u91cc\u6709\u591a\u4e2a\u7528\u6237\u8d26\u53f7\u8981\u4f7f\u7528\uff0c\u90a3\u5c31\u53cc\u51fb\u4e0b\u9762\u7684 Path\uff0c\u6211\u8fd9\u91cc\u5c31\u662f\u81ea\u5df1\u7684\u5f53\u524d\u7528\u6237\u8d26\u53f7\uff0c\u53cc\u51fb\u4e0a\u9762\u7684 Path<br \/>\n\u7136\u540e\u65b0\u5efa\uff0c\u5c06\u521a\u624d\u590d\u5236\u7684\u8def\u5f84\u7c98\u7c98\u8fdb\u53bb\uff0c\u4f9d\u6b21\u70b9\u786e\u5b9a\u5b8c\u6210\u8bbe\u7f6e\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674960355354.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 616px; --smush-placeholder-aspect-ratio: 616\/763;\" \/><\/p>\n<p>\u6253\u5f00 PowerShell \u6216\u8005 cmd \u53ef\u4ee5\u8f93\u5165 ffmpeg \u8fd0\u884c\u770b\u4e0b\uff0c\u4f1a\u663e\u793a\u4e00\u4e9b\u4fe1\u606f<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/01\/image-1674960546019.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 981px; --smush-placeholder-aspect-ratio: 981\/602;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FFmpeg \u5b98\u7f51\uff1ahttps:\/\/ffmpeg.org\/ FFmpeg \u8fd9\u4e2a\u5f00\u6e90\u9879\u76ee\u4f3c\u4e4e\u633a\u4e45\u8fdc\u4e86\uff0c\u5728\u5904\u7406\u89c6\u9891 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1,609],"tags":[],"class_list":["post-8613","post","type-post","status-publish","format-standard","hentry","category-all","category-ffmpeg"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/8613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8613"}],"version-history":[{"count":0,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/8613\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}