{"id":62842,"date":"2026-01-20T19:19:44","date_gmt":"2026-01-20T11:19:44","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/62842.html"},"modified":"2026-01-20T19:19:44","modified_gmt":"2026-01-20T11:19:44","slug":"windows-%e4%b8%8b%e4%bd%bf%e7%94%a8-msys2-mingw64-%e7%bc%96%e8%af%91-x264%e3%80%81x265-%e4%b8%8e-ffmpeg","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/62842.html","title":{"rendered":"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg"},"content":{"rendered":"<p>\u672c\u6587\u8bb0\u5f55\u5728 Windows 10\/11 64\u4f4d\u7cfb\u7edf\u4e0b&#xff0c;\u4f7f\u7528 MSYS2 \u73af\u5883\u914d\u5408 MinGW64 \u5de5\u5177\u94fe&#xff0c;\u7f16\u8bd1 x264\u3001x265 \u4ee5\u53ca FFmpeg \u7684\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u65b9\u4fbf\u5728 Windows \u5e73\u53f0\u4e0b\u751f\u6210\u652f\u6301 H.264\/H.265 \u7f16\u7801\u7684 FFmpeg \u52a8\u6001\u5e93\u3002<\/p>\n<h3>\u4e00\u3001\u73af\u5883\u51c6\u5907<\/h3>\n<h4>1. \u5b89\u88c5 MSYS2<\/h4>\n<p>\u4ece MSYS2 \u5b98\u7f51 \u4e0b\u8f7d\u5b89\u88c5\u5305&#xff0c;\u6309\u63d0\u793a\u5b89\u88c5\u5373\u53ef\u3002<\/p>\n<h4>2. \u914d\u7f6e\u955c\u50cf\u6e90&#xff08;\u52a0\u901f\u4e0b\u8f7d&#xff09;<\/h4>\n<p>\u6253\u5f00 MSYS2 MinGW 64-bit&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u66ff\u6362\u4e3a\u4e2d\u79d1\u5927\u955c\u50cf\u6e90&#xff1a;<\/p>\n<p><span class=\"token function\">sed<\/span> -i <span class=\"token string\">&#034;s#mirror.msys2.org\/#mirrors.ustc.edu.cn\/msys2\/#g&#034;<\/span> \/etc\/pacman.d\/mirrorlist*<br \/>\npacman -Sy<\/p>\n<h4>3. \u5b89\u88c5\u7f16\u8bd1\u5de5\u5177\u94fe\u4e0e\u4f9d\u8d56<\/h4>\n<p>pacman -S mingw-w64-x86_64-toolchain  <span class=\"token comment\"># MinGW64 \u7f16\u8bd1\u5de5\u5177\u94fe&#xff08;gcc, make\u7b49&#xff09;<\/span><br \/>\npacman -S base-devel                  <span class=\"token comment\"># \u57fa\u7840\u5f00\u53d1\u5de5\u5177<\/span><br \/>\npacman -S yasm nasm                   <span class=\"token comment\"># \u6c47\u7f16\u5668<\/span><br \/>\npacman -S <span class=\"token function\">git<\/span>                         <span class=\"token comment\"># \u53ef\u9009&#xff0c;\u7528\u4e8e\u62c9\u53d6\u6e90\u7801<\/span><br \/>\npacman -S mingw-w64-x86_64-cmake      <span class=\"token comment\"># CMake&#xff08;\u7528\u4e8e x265 \u7f16\u8bd1&#xff09;<\/span><\/p>\n<h4>4. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b gcc \u7248\u672c&#xff1a;<\/p>\n<p>gcc -v<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ce1989d.png\" alt=\"2024-03-19-09-13-02-image.png\" \/><\/p>\n<h4>5. \u6dfb\u52a0\u73af\u5883\u53d8\u91cf&#xff08;\u53ef\u9009&#xff09;<\/h4>\n<p>\u5982\u679c\u5e0c\u671b\u5728\u4efb\u4f55\u7ec8\u7aef\u4e2d\u4f7f\u7528 MinGW \u5de5\u5177&#xff0c;\u53ef\u5c06\u4ee5\u4e0b\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf PATH \u4e2d&#xff08;\u6839\u636e\u5b9e\u9645\u5b89\u88c5\u8def\u5f84\u8c03\u6574&#xff09;&#xff1a;<\/p>\n<p>C:<span class=\"token punctuation\">\\\\<\/span>msys64<span class=\"token punctuation\">\\\\<\/span>mingw64<span class=\"token punctuation\">\\\\<\/span>bin<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ce3a131.png\" alt=\"2024-03-19-09-15-01-image.png\" \/><\/p>\n<h3>\u4e8c\u3001\u7f16\u8bd1 x264<\/h3>\n<h4>1. \u4e0b\u8f7d\u6e90\u7801<\/h4>\n<p><span class=\"token function\">git<\/span> clone https:\/\/code.videolan.org\/videolan\/x264.git<br \/>\n<span class=\"token builtin class-name\">cd<\/span> x264<\/p>\n<h4>2. \u7f16\u8bd1\u811a\u672c&#xff08;build-x264.sh&#xff09;<\/h4>\n<p>\u521b\u5efa build-x264.sh&#xff0c;\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/sh<\/span><br \/>\n<span class=\"token assign-left variable\">basepath<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">cd<\/span> &#096;dirname $0&#096;<span class=\"token punctuation\">;<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token variable\">${basepath}<\/span><\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> <span class=\"token variable\">${basepath}<\/span>\/x264-src   <span class=\"token comment\"># \u6839\u636e\u8def\u5f84\u540d\u79f0\u81ea\u884c\u4fee\u6539<\/span><br \/>\n<span class=\"token builtin class-name\">pwd<\/span><\/p>\n<p>.\/configure &#8211;prefix<span class=\"token operator\">&#061;<\/span><span class=\"token variable\">${basepath}<\/span>\/x264_MinGW &#8211;enable-shared<br \/>\n<span class=\"token function\">make<\/span> -j8<br \/>\n<span class=\"token function\">make<\/span> <span class=\"token function\">install<\/span><br \/>\n<span class=\"token function\">make<\/span> clean<\/p>\n<h4>3. \u6267\u884c\u7f16\u8bd1<\/h4>\n<p><span class=\"token function\">chmod<\/span> &#043;x build-x264.sh<br \/>\n.\/build-x264.sh<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ce5aea1.png\" alt=\"2024-03-19-15-31-39-image.png\" \/><\/p>\n<h3>\u4e09\u3001\u7f16\u8bd1 x265<\/h3>\n<h4>1. \u4e0b\u8f7d\u6e90\u7801<\/h4>\n<p><span class=\"token function\">git<\/span> clone https:\/\/bitbucket.org\/multicoreware\/x265_git.git<br \/>\n<span class=\"token builtin class-name\">cd<\/span> x265_git<\/p>\n<h4>2. \u4f7f\u7528 CMake \u751f\u6210 Makefile<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ce66156.png\" alt=\"2024-03-19-15-25-19-image.png\" \/><\/p>\n<h4>3. \u7f16\u8bd1\u4e0e\u5b89\u88c5<\/h4>\n<p><span class=\"token comment\"># \u8fdb\u5165\u76f8\u5bf9\u5e94\u76ee\u5f55    <\/span><br \/>\n<span class=\"token builtin class-name\">cd<\/span> D:\/FFmpeg\/x265_MinGW <\/p>\n<p><span class=\"token comment\"># \u7f16\u8bd1<\/span><br \/>\nmingw32-make -j<span class=\"token variable\"><span class=\"token variable\">$(<\/span>nproc<span class=\"token variable\">)<\/span><\/span><br \/>\nmingw32-make <span class=\"token function\">install<\/span><\/p>\n<h3>\u56db\u3001\u7f16\u8bd1 FFmpeg&#xff08;\u96c6\u6210 x264 \u4e0e x265&#xff09;<\/h3>\n<h4>1. \u4e0b\u8f7d FFmpeg \u6e90\u7801<\/h4>\n<p>\u4ece FFmpeg \u5b98\u7f51 \u4e0b\u8f7d\u7a33\u5b9a\u7248\u6e90\u7801&#xff08;\u5982 ffmpeg-5.1.4.tar.xz&#xff09;&#xff0c;\u89e3\u538b\u540e\u8fdb\u5165\u76ee\u5f55\u3002<\/p>\n<h4>2. \u7f16\u8bd1\u811a\u672c&#xff08;build-ffmpeg.sh&#xff09;<\/h4>\n<p>\u521b\u5efa build-ffmpeg_MinGW.sh&#xff0c;\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/sh<\/span><br \/>\n<span class=\"token assign-left variable\">basepath<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">cd<\/span> &#096;dirname $0&#096;<span class=\"token punctuation\">;<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token variable\">${basepath}<\/span><\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> <span class=\"token variable\">${basepath}<\/span>\/ffmpeg-5.1.4-src<br \/>\n<span class=\"token builtin class-name\">pwd<\/span><\/p>\n<p><span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">PKG_CONFIG_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\">${PKG_CONFIG_PATH}<\/span>:\/d\/FFmpeg\/x264_MinGW\/lib\/pkgconfig<br \/>\n<span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">PKG_CONFIG_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\">${PKG_CONFIG_PATH}<\/span>:\/d\/FFmpeg\/x265_MinGW\/lib\/pkgconfig<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token variable\">${PKG_CONFIG_PATH}<\/span><\/p>\n<p>.\/configure &#8211;prefix<span class=\"token operator\">&#061;<\/span><span class=\"token variable\">${basepath}<\/span>\/ffmpeg514_MinGW <span class=\"token punctuation\">\\\\<\/span><br \/>\n&#8211;enable-gpl &#8211;enable-libx264 &#8211;enable-libx265 &#8211;disable-static &#8211;enable-shared <span class=\"token punctuation\">\\\\<\/span><br \/>\n&#8211;extra-cflags<span class=\"token operator\">&#061;<\/span>-l<span class=\"token variable\">${basepath}<\/span>\/x264_MinGW\/include &#8211;extra-ldflags<span class=\"token operator\">&#061;<\/span>-L<span class=\"token variable\">${basepath}<\/span>\/x264_MinGW\/lib<br \/>\n&#8211;extra-cflags<span class=\"token operator\">&#061;<\/span>-l<span class=\"token variable\">${basepath}<\/span>\/x265_MinGW\/include &#8211;extra-ldflags<span class=\"token operator\">&#061;<\/span>-L<span class=\"token variable\">${basepath}<\/span>\/x265_MinGW\/lib<\/p>\n<p><span class=\"token function\">make<\/span> -j8<br \/>\n<span class=\"token function\">make<\/span> <span class=\"token function\">install<\/span><\/p>\n<h4>3. \u6267\u884c\u7f16\u8bd1<\/h4>\n<p><span class=\"token function\">chmod<\/span> &#043;x build-ffmpeg.sh<br \/>\n.\/build-ffmpeg.sh<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64cedcb3e.png\" alt=\"2024-03-19-15-38-04-image.png\" \/><\/p>\n<h3>\u4e94\u3001\u9a8c\u8bc1\u7f16\u8bd1\u7ed3\u679c<\/h3>\n<p>\u8fdb\u5165\u5b89\u88c5\u76ee\u5f55&#xff08;\u5982 ffmpeg_mingw\/bin&#xff09;&#xff0c;\u8fd0\u884c&#xff1a;<\/p>\n<p>ffmpeg &#8211;version<\/p>\n<p>\u82e5\u8f93\u51fa\u4e2d\u5305\u542b &#8211;enable-libx264 &#8211;enable-libx265&#xff0c;\u5219\u8bf4\u660e\u7f16\u8bd1\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ceea50c.png\" alt=\"image.png\" \/><\/p>\n<h3>\u516d\u3001\u5e38\u89c1\u95ee\u9898<\/h3>\n<ul>\n<li>\n<p>\u627e\u4e0d\u5230 pkg-config \u5305 \u786e\u4fdd PKG_CONFIG_PATH \u73af\u5883\u53d8\u91cf\u6307\u5411\u6b63\u786e\u7684 .pc \u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<\/li>\n<li>\n<p>CMake \u65e0\u6cd5\u627e\u5230\u7f16\u8bd1\u5668 \u8bf7\u786e\u8ba4\u4f7f\u7528\u7684\u662f MSYS2 MinGW 64-bit \u7ec8\u7aef&#xff0c;\u800c\u975e MSYS2 \u5176\u5b83\u7ec8\u7aef\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u7f3a\u5c11\u4f9d\u8d56 \u53ef\u901a\u8fc7 pacman -S mingw-w64-x86_64-&lt;\u5305\u540d&gt; \u5b89\u88c5\u5bf9\u5e94\u4f9d\u8d56\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u8bb0\u5f55\u5728 Windows 10\/11 64\u4f4d\u7cfb\u7edf\u4e0b&#xff0c;\u4f7f\u7528 MSYS2 \u73af\u5883\u914d\u5408 MinGW64 \u5de5\u5177\u94fe&#xff0c;\u7f16\u8bd1 x264\u3001x265 \u4ee5\u53ca FFmpeg \u7684\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u65b9\u4fbf\u5728 Windows \u5e73\u53f0\u4e0b\u751f\u6210\u652f\u6301 H.264\/H.265 \u7f16\u7801\u7684 FFmpeg \u52a8\u6001\u5e93\u3002<br \/>\n\u4e00\u3001\u73af\u5883\u51c6\u5907<br \/>\n1. \u5b89\u88c5 MSYS2<br \/>\n\u4ece MSYS2 \u5b98\u7f51 \u4e0b\u8f7d\u5b89\u88c5\u5305&#xff0c;\u6309\u63d0\u793a\u5b89\u88c5\u5373\u53ef\u3002<br \/>\n2. \u914d\u7f6e\u955c\u50cf\u6e90&#xff08;\u52a0\u901f\u4e0b\u8f7d&#xff09;<br \/>\n\u6253\u5f00 <\/p>\n","protected":false},"author":2,"featured_media":62836,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[213,218,149],"topic":[],"class_list":["post-62842","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ffmpeg","tag-qt","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg - \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\/62842.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u8bb0\u5f55\u5728 Windows 10\/11 64\u4f4d\u7cfb\u7edf\u4e0b&#xff0c;\u4f7f\u7528 MSYS2 \u73af\u5883\u914d\u5408 MinGW64 \u5de5\u5177\u94fe&#xff0c;\u7f16\u8bd1 x264\u3001x265 \u4ee5\u53ca FFmpeg \u7684\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u65b9\u4fbf\u5728 Windows \u5e73\u53f0\u4e0b\u751f\u6210\u652f\u6301 H.264\/H.265 \u7f16\u7801\u7684 FFmpeg \u52a8\u6001\u5e93\u3002 \u4e00\u3001\u73af\u5883\u51c6\u5907 1. \u5b89\u88c5 MSYS2 \u4ece MSYS2 \u5b98\u7f51 \u4e0b\u8f7d\u5b89\u88c5\u5305&#xff0c;\u6309\u63d0\u793a\u5b89\u88c5\u5373\u53ef\u3002 2. \u914d\u7f6e\u955c\u50cf\u6e90&#xff08;\u52a0\u901f\u4e0b\u8f7d&#xff09; \u6253\u5f00\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/62842.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-20T11:19:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ce1989d.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/62842.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/62842.html\",\"name\":\"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-20T11:19:44+00:00\",\"dateModified\":\"2026-01-20T11:19:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/62842.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/62842.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/62842.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg\"}]},{\"@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":"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg - \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\/62842.html","og_locale":"zh_CN","og_type":"article","og_title":"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6587\u8bb0\u5f55\u5728 Windows 10\/11 64\u4f4d\u7cfb\u7edf\u4e0b&#xff0c;\u4f7f\u7528 MSYS2 \u73af\u5883\u914d\u5408 MinGW64 \u5de5\u5177\u94fe&#xff0c;\u7f16\u8bd1 x264\u3001x265 \u4ee5\u53ca FFmpeg \u7684\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u65b9\u4fbf\u5728 Windows \u5e73\u53f0\u4e0b\u751f\u6210\u652f\u6301 H.264\/H.265 \u7f16\u7801\u7684 FFmpeg \u52a8\u6001\u5e93\u3002 \u4e00\u3001\u73af\u5883\u51c6\u5907 1. \u5b89\u88c5 MSYS2 \u4ece MSYS2 \u5b98\u7f51 \u4e0b\u8f7d\u5b89\u88c5\u5305&#xff0c;\u6309\u63d0\u793a\u5b89\u88c5\u5373\u53ef\u3002 2. \u914d\u7f6e\u955c\u50cf\u6e90&#xff08;\u52a0\u901f\u4e0b\u8f7d&#xff09; \u6253\u5f00","og_url":"https:\/\/www.wsisp.com\/helps\/62842.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-20T11:19:44+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120111942-696f64ce1989d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/62842.html","url":"https:\/\/www.wsisp.com\/helps\/62842.html","name":"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-20T11:19:44+00:00","dateModified":"2026-01-20T11:19:44+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/62842.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/62842.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/62842.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Windows \u4e0b\u4f7f\u7528 MSYS2 + MinGW64 \u7f16\u8bd1 x264\u3001x265 \u4e0e FFmpeg"}]},{"@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\/62842","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=62842"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/62842\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/62836"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=62842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=62842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=62842"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=62842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}