{"id":199,"date":"2022-01-31T15:30:16","date_gmt":"2022-01-31T07:30:16","guid":{"rendered":"http:\/\/192.168.0.122:8088\/?p=199"},"modified":"2022-06-11T03:22:29","modified_gmt":"2022-06-10T19:22:29","slug":"window10_ffmpeg%e8%b0%83%e8%af%95%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba-%e7%bc%96%e8%af%9164%e4%bd%8d","status":"publish","type":"post","link":"https:\/\/www.xianwaizhiyin.net\/?p=199","title":{"rendered":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d"},"content":{"rendered":"\n<p>\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86 \u5982\u4f55\u7528 MSYS2 + MinGW \u7f16\u8bd1FFmpeg 32 \u4f4d\u7a0b\u5e8f\uff0c\u672c\u6587\u4e3b\u8981\u8bb2\u89e3\u5982\u4f55\u7528 MSYS2 + MinGW \u7f16\u8bd1 FFmpeg 64\u4f4d\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<p>\u5f00\u59cb\u5b89\u88c5\uff1a<\/p>\n\n\n\n<p>1\uff0cCMD \u7528 <code class=\"prettyprint\" >.\\msys2_shell.cmd -mingw64<\/code> \u8fdb\u5165 MinGw64 \u4f4d\u73af\u5883\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"127\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png\" alt=\"\" class=\"wp-image-201\"\/><\/figure>\n\n\n\n<p>2\uff0c\u5b89\u88c5\u6240\u9700\u8f6f\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" ># \u5237\u65b0\u8f6f\u4ef6\u5305\u6570\u636e\npacman -Sy  \n# \u5b89\u88c5mingw-w64\u3002\npacman -S mingw-w64-x86_64-toolchain\npacman -S git\npacman -S make\npacman -S automake \npacman -S autoconf\npacman -S perl\npacman -S mingw-w64-x86_64-SDL2\npacman -S libtool\n#32\u4f4d\u7684cmake\u8ddf64\u4f4d\u7684cmake\u90fd\u88c5\u4e00\u4e0b\uff0c\u6bd4\u8f83\u4fdd\u9669\u3002\npacman -S mingw-w64-i686-cmake\npacman -S mingw-w64-x86_64-cmake\npacman -S pkg-config \npacman -S yasm\n# \u7f16\u8bd1x264 \u9700\u8981 nasm\npacman -S nasm<\/code><\/pre>\n\n\n\n<p>\u5c0f\u6280\u5de7\uff0c pacman -Ss \u5173\u952e\u5b57\uff1a\u5728\u4ed3\u5e93\u4e2d\u641c\u7d22\u542b\u5173\u952e\u5b57\u7684\u5305\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>google_ads_content<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u51c6\u5907\u5de5\u4f5c\u5df2\u7ecf\u5b8c\u6bd5\u4e86\u3002<\/p>\n\n\n\n<p>FFmpeg \u8fd9\u4e2a\u5de5\u7a0b\u7f16\u89e3\u7801\u7b49\u529f\u80fd\uff0c\u662f\u9700\u8981\u4f9d\u8d56\u4e00\u4e9b\u5916\u90e8\u5e93\u7684\uff0c\u4f8b\u5982 x264\u5e93\uff0caac\u5e93\u7b49\u7b49\u3002\u6240\u4ee5\u7f16\u8bd1FFmpeg\u4e4b\u524d\uff0c\u9700\u8981\u628a x264 \uff0cacc \u7b49\u9879\u76ee\u7f16\u8bd1\u51fa\u9759\u6001\u5e93\uff0c\u7136\u540e\u518d\u628ax264\u9759\u6001\u5e93\uff0cacc\u9759\u6001\u5e93\u7b49 Link \u8fdb\u53bb FFmpeg \u7684DLL\u91cc\u9762\u3002<\/p>\n\n\n\n<p><strong>x264 \u9879\u76ee\u7f16\u8bd1\uff1a<\/strong><\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u547d\u4ee4\u8bf7\u628a \/home\/loken \u6539\u6210\u81ea\u5df1\u7684\u76ee\u5f55\u3002<\/p>\n\n\n\n<p>\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u5982\u679c\u62a5 final link failed: No space left on device \u9519\u8bef\uff0c\u5c1d\u8bd5\u91cd\u542fwindow10\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" ># \u56de\u5230\u7528\u6237\u76ee\u5f55\ncd \/home\/loken\n# \u521b\u5efaffmpeg\u76ee\u5f55,build64 \u76ee\u5f55\uff0c\u7edf\u4e00\u7ba1\u7406\nmkdir -p ffmpeg\/build64  \n# \u8fdb\u5165ffmpeg\u76ee\u5f55\ncd ffmpeg \n#\u4e0b\u8f7dx264\u9879\u76ee\u4ee3\u7801\ngit clone https:\/\/gitee.com\/mirrors_addons\/x264\n# \u8fdb\u5165x264\u9879\u76ee\u76ee\u5f55\ncd x264 \n# \u6267\u884cconfigure\n.\/configure --prefix=\/home\/loken\/ffmpeg\/build64\/libx264 \\\n--host=x86_64-w64-mingw32 --enable-static \\\n--extra-ldflags=&quot;-Wl,--output-def=libx264.def&quot;  \nmake -j8\nmake install<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4e0a\u9762\u7684\u547d\u4ee4\u6ca1\u51fa\u9519\uff0c\u5728 <code class=\"prettyprint\" >~\/ffmpeg\/build64\/libx264\/lib<\/code> \u76ee\u5f55\u4e0b\u4f1a\u7f16\u8bd1\u51fa x264 \u7684\u9759\u6001\u5e93 <code>libx264.a<\/code>\u3002<\/p>\n\n\n\n<p><strong>fdk-aac\u9879\u76ee\u7f16\u8bd1\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" ># \u56de\u5230ffmpeg\u76ee\u5f55\ncd \/home\/loken\/ffmpeg \ngit clone --depth 1 https:\/\/gitee.com\/mirrors\/fdk-aac.git\ncd fdk-aac\n.\/autogen.sh\n.\/configure --prefix=\/home\/loken\/ffmpeg\/build64\/libfdk-aac --disable-shared \\\n--enable-static\nmake -j8\nmake install<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4e0a\u9762\u7684\u547d\u4ee4\u6ca1\u51fa\u9519\uff0c\u5728 <code class=\"prettyprint\" >~\/ffmpeg\/build64\/libfdk-aac\/lib<\/code> \u76ee\u5f55\u4e0b\u4f1a\u7f16\u8bd1\u51fa aac \u7684\u9759\u6001\u5e93 <code>libfdk-aac.a<\/code>\u3002<\/p>\n\n\n\n<p><strong>mp3\u9879\u76ee\u7f16\u8bd1\uff1a<\/strong><\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u547d\u4ee4\u5982\u679c\u62a5\u9519\uff0c\u8bf7\u628a \"~\" \u76f8\u5bf9\u76ee\u5f55 \u6539\u6210\u7edd\u5bf9\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >cd \/home\/loken\/ffmpeg \ngit clone --depth 1 https:\/\/gitee.com\/hqiu\/lame.git\ncd lame\n.\/configure --prefix=\/home\/loken\/ffmpeg\/build64\/libmp3lame --disable-frontend \\\n--disable-shared --enable-static\nmake -j8\nmake install<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4e0a\u9762\u7684\u547d\u4ee4\u6ca1\u51fa\u9519\uff0c\u5728 <code class=\"prettyprint\" >~\/ffmpeg\/build64\/libmp3lame\/lib<\/code> \u76ee\u5f55\u4e0b\u4f1a\u7f16\u8bd1\u51fa mp3 \u7684\u9759\u6001\u5e93 <code>libmp3lame.a<\/code>\u3002<\/p>\n\n\n\n<p><strong>libvpx\u9879\u76ee\u7f16\u8bd1\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >cd \/home\/loken\/ffmpeg \ngit clone --depth 1 https:\/\/github.com\/webmproject\/libvpx.git\ncd libvpx\n.\/configure --prefix=\/home\/loken\/ffmpeg\/build64\/libvpx --disable-examples \\\n--disable-unit-tests --enable-vp9-highbitdepth --as=yasm\nmake -j8\nmake install<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4e0a\u9762\u7684\u547d\u4ee4\u6ca1\u51fa\u9519\uff0c\u5728 <code class=\"prettyprint\" >~\/ffmpeg\/build64\/libvpx\/lib<\/code> \u76ee\u5f55\u4e0b\u4f1a\u7f16\u8bd1\u51fa vpx\u7684\u9759\u6001\u5e93 <code>libvpx.a<\/code>\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>FFmpeg \u5de5\u7a0b\u4f9d\u8d56\u7684\u5916\u90e8\u9759\u6001\u5e93\u90fd\u5df2\u7ecf\u7f16\u8bd1\u51fa\u6765\uff0c\u4e0b\u9762\u53ef\u4ee5\u5f00\u59cb\u7f16\u8bd1 FFmpeg \u5de5\u7a0b\u4e86\u3002<\/p>\n\n\n\n<p><strong>FFmpeg\u9879\u76ee\u7f16\u8bd1\uff1a<\/strong><\/p>\n\n\n\n<p>\u4e0b\u8f7d ffmpeg 4.2 \u6e90\u7801\uff0c\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1VpUvpLhew-nuq4Dns80mOw\">https:\/\/pan.baidu.com\/s\/1VpUvpLhew-nuq4Dns80mOw<\/a> \u63d0\u53d6\u7801\uff1ag3k8<\/p>\n\n\n\n<p>\u628a\u6587\u4ef6 <code class=\"prettyprint\" >FFmpeg-4.2.zip<\/code> \u89e3\u538b\u5230 \/home\/loken\/ffmpeg\/ffmpeg<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >cd \/home\/loken\/ffmpeg\/ffmpeg-4.2\n\n.\/configure \\\n--prefix=\/home\/loken\/ffmpeg\/build64\/ffmepg-4.2 \\\n--enable-gpl \\\n--enable-sdl2 \\\n--enable-zlib \\\n--enable-shared \\\n--enable-nonfree \\\n--enable-libx264 \\\n--enable-libfdk-aac \\\n--enable-libmp3lame \\\n--enable-libvpx \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build64\/libfdk-aac\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build64\/libfdk-aac\/lib&quot; \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build64\/libvpx\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build64\/libvpx\/lib&quot; \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build64\/libx264\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build64\/libx264\/lib&quot; \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build64\/libmp3lame\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build64\/libmp3lame\/lib&quot;\n  \nmake -j8\nmake install<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">\u7f16\u8bd1\u5b8c\u6210\u4e4b\u540e\uff0cbuild64\/ffmpeg-4.2 \u76ee\u5f55\u5982\u4e0b\uff1a<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"702\" height=\"254\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-3.png\" alt=\"\" class=\"wp-image-203\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"496\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-4.png\" alt=\"\" class=\"wp-image-204\"\/><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230 ffmpeg.exe \u5df2\u7ecf\u7f16\u8bd1\u51fa\u6765\u4e86\u3002\u8fd9\u4e2a\u65f6\u5019 \u5728MSYS2 \u4eff\u771flinux\u547d\u4ee4\u884c\u91cc\uff0cffmpeg.exe \u662f\u53ef\u4ee5\u8fd0\u884c\u7684\u3002\u5982\u56fe\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"622\" height=\"394\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-5.png\" alt=\"\" class=\"wp-image-205\"\/><\/figure>\n\n\n\n<p>\u4f46\u662f\u5982\u679c\u5728window CMD \u547d\u4ee4\u884c\u8fd0\u884c ffmpeg.exe \uff0c\u4f1a\u62a5\u9519\uff0c\u63d0\u793a <code class=\"prettyprint\" >The application was unable to start correctly (0xc000007b)<\/code> \u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"881\" height=\"629\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-10.png\" alt=\"\" class=\"wp-image-210\"\/><\/figure>\n\n\n\n<p>0xc000007b \u8fd9\u4e2a\u9519\u8bef\u662f\u56e0\u4e3a 64\u4f4d exe \u6587\u4ef6\u5f15\u7528\u4e86 32\u4f4d\u7684\u5e93\u3002<\/p>\n\n\n\n<p>0xc000007b \u8fd9\u4e2a\u9519\u8bef\u6bd4\u8f83\u9ebb\u70e6\uff0c\u56e0\u4e3a\u4f60\u770b\u4e0d\u5230\u4ed6\u7f3a\u5c11\u54ea\u4e9b\u5e93\uff0c\u5b9e\u9645\u4e0a\u8fd9\u4e2a 0xc000007b \u5c31\u662fbuild64\/ffmpeg-4.2\/bin \u76ee\u5f55\u7f3a\u5c11 libwinpthread-1.dll\uff0c\u6240\u4ee5 \u542f\u52a8 ffmpeg.exe \u7684\u65f6\u5019\u53bb\u4e86\u5176\u4ed6\u76ee\u5f55\u627e\u4e86\u4e2a 32\u4f4d \u7684 libwinpthread-1.dll \u8fdb\u884c\u5f15\u5165\u3002<\/p>\n\n\n\n<p>\u5b9e\u9645\u4e0a\uff0c\u8981\u5728CMD\u73af\u5883\u8fd0\u884c ffmpeg.exe \uff0c\u8fd8\u9700\u62f7\u8d1d6\u4e2adll\u5e93\u5230 <strong>build64\/ffmpeg-4.2\/bin<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>C:\\msys64\\mingw64\\bin\\libwinpthread-1.dll<\/li><li>C:\\msys64\\mingw64\\bin\\SDL2.dll<\/li><li>C:\\msys64\\mingw64\\bin\\zlib1.dll<\/li><li>C:\\msys64\\mingw64\\bin\\liblzma-5.dll<\/li><li>C:\\msys64\\mingw64\\bin\\libbz2-1.dll<\/li><li>C:\\msys64\\mingw64\\bin\\libiconv-2.dll<\/li><\/ol>\n\n\n\n<p>\u628a\u4e0a\u9762\u8fd96\u4e2a dll\u5168\u90e8\u62f7\u8d1d\u5230 <strong>build64\/ffmpeg-4.2\/bin<\/strong> \uff0c\u518d\u8fd0\u884c ffmpeg.exe \u5c31\u4e0d\u4f1a\u62a5\u9519\u4e86<\/p>\n\n\n\n<p><strong>\u91cd\u8981\u77e5\u8bc6\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5982\u4f55\u67e5\u770bexe \uff0cdll \u7684\u662f 32\u4f4d \u8fd8\u662f 64\u4f4d \uff1f \u89e3\u7b54\uff1adumpbin.exe \/headers ffmpeg.exe<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>MSYS2 \u73af\u5883\u4e0b ffmpeg 64\u4f4d\u7684\u7f16\u8bd1\u5df2\u7ecf\u8bb2\u5b8c\u4e86\uff0c\u4e0b\u9762\u4ecb\u7ecdQT \u5982\u4f55\u8c03\u7528 FFmpeg \u7684 api \u51fd\u6570\u3002<\/p>\n\n\n\n<p>\u4e4b\u524d\u7f16\u8bd1ffmpeg \u7684\u65f6\u5019\uff0cconfigure \u6307\u5b9a\u4e86 --enable-shared\uff0c\u6240\u4ee5\u9879\u76ee\u751f\u6210\u4e86\u51e0\u4e2aDLL\u52a8\u6001\u5e93\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>avcodec-58.dll \u7f16\u89e3\u7801API\u3002<\/li><li>avdevice-58.dll \u8bbe\u5907API\u3002<\/li><li>avfilter-7.dll \u6ee4\u955cAPI<\/li><li>avformat-58.dll \u5bb9\u5668API\u3002<\/li><li>\u7b49\u7b49\u3002<\/li><\/ul>\n\n\n\n<p>\u4e0b\u9762\u4ecb\u7ecd QT \u9879\u76ee\u5982\u4f55\u52a0\u5165\u8fd9\u4e9bdll\u3002\u5982\u679c\u4e4b\u524d\u6ca1\u88c5\u8fc7 qt \u8ddf Visual Studio 2015 \u8bf7\u770b\u7b2c\u4e00\u7bc7\u6587\u7ae0\u3002<\/p>\n\n\n\n<p>1\uff0c\u6253\u5f00Qt creator\uff0c\u70b9\u51fbNew File Or Project\uff0c\u9009\u62e9 Non-Qt Project \uff0c\u9009\u62e9 Plain C Application\uff0c\u521b\u5efa\u5de5\u7a0b \"ffmpeg-qt-version-64\"\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"517\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-7.png\" alt=\"\" class=\"wp-image-207\"\/><\/figure>\n\n\n\n<p>2\uff0c\u52fe\u9009 64 \u4f4d\u7f16\u8bd1\u73af\u5883 kit \u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"525\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-8.png\" alt=\"\" class=\"wp-image-208\"\/><\/figure>\n\n\n\n<p>3\uff0c\u628a <code class=\"prettyprint\" >\\home\\loken\\ffmpeg\\build64<\/code> \u6574\u4e2a\u76ee\u5f55\u62f7\u8d1d\u5230 ffmpeg-qt-version-64 \u9879\u76ee\u76ee\u5f55\u4e0b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"195\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-9.png\" alt=\"\" class=\"wp-image-209\"\/><\/figure>\n\n\n\n<p>4\uff0c\u4fee\u6539 <code class=\"prettyprint\" >ffmpeg-qt-version-64.pro<\/code> \u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >TEMPLATE = app\nCONFIG += console\nCONFIG -= app_bundle\nCONFIG -= qt\n\u200b\nSOURCES += main.c\n\u200b\ncontains(QT_ARCH, i386) {\n    message(&quot;32-bit&quot;)\n} else {\n    message(&quot;64-bit&quot;)\n    INCLUDEPATH += $$PWD\/build64\/ffmepg-4.2\/include\n    LIBS += $$PWD\/build64\/ffmepg-4.2\/bin\/avformat.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/avcodec.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/avdevice.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/avfilter.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/avutil.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/postproc.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/swresample.lib \\\n            $$PWD\/build64\/ffmepg-4.2\/bin\/swscale.lib\n}<\/code><\/pre>\n\n\n\n<p>5\uff0c\u4fee\u6539 main.c \u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >#include &lt;stdio.h&gt;\n#include &quot;libavutil\/avutil.h&quot;\nint main(){\n    printf(&quot;Hello FFMPEG, version is %s\\n&quot;, av_version_info());\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p>6\uff0c\u7f16\u8bd1\u8fd0\u884c <code class=\"prettyprint\" >ffmpeg-qt-version-64<\/code> \u9879\u76ee\u3002\u4f1a\u63d0\u793a 0xc000007b \u9519\u8bef\u3002\u8fd9\u4e2a\u9519\u8bef\u4e5f\u662f\u56e0\u4e3a\u7f3a\u5c11\u5e93\uff0c\u5bfc\u81f4\u5b83\u7a0b\u5e8f\u81ea\u52a8\u53bb\u5176\u4ed6\u76ee\u5f55\u627e\u4e86\u4e2a32\u4f4d\u7684dll\u8fdb\u884c\u5f15\u5165\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"881\" height=\"629\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-10.png\" alt=\"\" class=\"wp-image-210\"\/><\/figure>\n\n\n\n<p>7\uff0c\u628a build64\/ffmpeg-4.2\/bin\/*.dll \u6240\u6709DLL\u90fd\u590d\u5236\u5230 <code class=\"prettyprint\" >build-ffmpeg-qt-version-64-Desktop_xxxx-Debug\\debug<\/code> \u76ee\u5f55\u3002\u7136\u540e\u518d\u6b21\u7f16\u8bd1\u8fd0\u884c <code>ffmpeg-qt-version<\/code> \u9879\u76ee\uff0c\u5c31\u4f1a\u6b63\u5e38\u6253\u5370\u51fa version\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"829\" height=\"505\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-11.png\" alt=\"\" class=\"wp-image-200\"\/><\/figure>\n\n\n\n<p><strong>\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u9879\u76ee\u6587\u4ef6\u8def\u5f84\u4e0d\u8981\u6709\u4e2d\u6587\uff0cQT \u53ef\u80fd\u4f1a\u62a5\u9519\u3002<\/li><\/ul>\n\n\n\n<p><strong>\u5e38\u89c1\u9519\u8bef\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5982\u679c\u62a5\u9519\u627e\u4e0d\u5230\u6587\u4ef6\u4e4b\u7c7b\u7684\uff0c\u628aqt \u7684 <code class=\"prettyprint\" >build-ffmpeg-qt-version-Desktop_xxx-Debug<\/code> \u76ee\u5f55\u5220\u6389\uff0c\u56e0\u4e3a\u53ef\u80fd\u6709\u7f13\u5b58\uff0c\u518d\u91cd\u65b0\u6267\u884c\u4e0a\u9762\u6b65\u594f\u3002<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u7248\u6743\u6240\u5c5e\uff1a\u77e5\u8bc6\u661f\u7403\uff1a\u5f26\u5916\u4e4b\u97f3\uff0cQQ\uff1a2338195090\u3002 \u7531\u4e8e\u7b14\u8005\u7684\u6c34\u5e73\u6709\u9650\uff0c \u52a0\u4e4b\u7f16\u5199\u7684\u540c\u65f6\u8fd8\u8981\u53c2\u4e0e\u5f00\u53d1\u5de5\u4f5c\uff0c\u6587\u4e2d\u96be\u514d\u4f1a\u51fa\u73b0\u4e00\u4e9b\u9519\u8bef\u6216\u8005\u4e0d\u51c6\u786e\u7684\u5730\u65b9\uff0c\u6073\u8bf7\u8bfb\u8005\u6279\u8bc4\u6307\u6b63\u3002\u5982\u679c\u8bfb\u8005\u6709\u4efb\u4f55\u5b9d\u8d35\u610f\u89c1\uff0c\u53ef\u4ee5\u52a0\u6211\u5fae\u4fe1 Loken1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86 \u5982\u4f55\u7528 MSYS2 + MinGW \u7f16\u8bd1FFmpeg 32 \u4f4d\u7a0b\u5e8f\uff0c\u672c\u6587\u4e3b\u8981\u8bb2\u89e3\u5982\u4f55\u7528 MSY [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-199","post","type-post","status-publish","format-standard","hentry","category-ffmpeg","category-ffmpeg-env-build"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d - \u5f26\u5916\u4e4b\u97f3<\/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.xianwaizhiyin.net\/?p=199\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d - \u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86 \u5982\u4f55\u7528 MSYS2 + MinGW \u7f16\u8bd1FFmpeg 32 \u4f4d\u7a0b\u5e8f\uff0c\u672c\u6587\u4e3b\u8981\u8bb2\u89e3\u5982\u4f55\u7528 MSY [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xianwaizhiyin.net\/?p=199\" \/>\n<meta property=\"og:site_name\" content=\"\u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-31T07:30:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-10T19:22:29+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/.\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"loken\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#website\",\"url\":\"https:\/\/www.xianwaizhiyin.net\/\",\"name\":\"\u5f26\u5916\u4e4b\u97f3\",\"description\":\"FFmpeg\u3001WebRTC\uff0cSRS \u97f3\u89c6\u9891\u3001\u6d41\u5a92\u4f53\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.xianwaizhiyin.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=199#primaryimage\",\"inLanguage\":\"zh-Hans\",\"url\":\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png\",\"contentUrl\":\".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=199#webpage\",\"url\":\"https:\/\/www.xianwaizhiyin.net\/?p=199\",\"name\":\"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d - \u5f26\u5916\u4e4b\u97f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=199#primaryimage\"},\"datePublished\":\"2022-01-31T07:30:16+00:00\",\"dateModified\":\"2022-06-10T19:22:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=199#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.xianwaizhiyin.net\/?p=199\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=199#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.xianwaizhiyin.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3\",\"name\":\"loken\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#personlogo\",\"inLanguage\":\"zh-Hans\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g\",\"caption\":\"loken\"},\"sameAs\":[\"https:\/\/www.xianwaizhiyin.net\/\"],\"url\":\"https:\/\/www.xianwaizhiyin.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d - \u5f26\u5916\u4e4b\u97f3","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.xianwaizhiyin.net\/?p=199","og_locale":"zh_CN","og_type":"article","og_title":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d - \u5f26\u5916\u4e4b\u97f3","og_description":"\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86 \u5982\u4f55\u7528 MSYS2 + MinGW \u7f16\u8bd1FFmpeg 32 \u4f4d\u7a0b\u5e8f\uff0c\u672c\u6587\u4e3b\u8981\u8bb2\u89e3\u5982\u4f55\u7528 MSY [&hellip;]","og_url":"https:\/\/www.xianwaizhiyin.net\/?p=199","og_site_name":"\u5f26\u5916\u4e4b\u97f3","article_published_time":"2022-01-31T07:30:16+00:00","article_modified_time":"2022-06-10T19:22:29+00:00","og_image":[{"url":".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"loken","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.xianwaizhiyin.net\/#website","url":"https:\/\/www.xianwaizhiyin.net\/","name":"\u5f26\u5916\u4e4b\u97f3","description":"FFmpeg\u3001WebRTC\uff0cSRS \u97f3\u89c6\u9891\u3001\u6d41\u5a92\u4f53\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.xianwaizhiyin.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"ImageObject","@id":"https:\/\/www.xianwaizhiyin.net\/?p=199#primaryimage","inLanguage":"zh-Hans","url":".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png","contentUrl":".\/wp-content\/uploads\/2022\/01\/FFmpeg-4-1.png"},{"@type":"WebPage","@id":"https:\/\/www.xianwaizhiyin.net\/?p=199#webpage","url":"https:\/\/www.xianwaizhiyin.net\/?p=199","name":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d - \u5f26\u5916\u4e4b\u97f3","isPartOf":{"@id":"https:\/\/www.xianwaizhiyin.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=199#primaryimage"},"datePublished":"2022-01-31T07:30:16+00:00","dateModified":"2022-06-10T19:22:29+00:00","author":{"@id":"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3"},"breadcrumb":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=199#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xianwaizhiyin.net\/?p=199"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.xianwaizhiyin.net\/?p=199#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.xianwaizhiyin.net\/"},{"@type":"ListItem","position":2,"name":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u7f16\u8bd164\u4f4d"}]},{"@type":"Person","@id":"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3","name":"loken","image":{"@type":"ImageObject","@id":"https:\/\/www.xianwaizhiyin.net\/#personlogo","inLanguage":"zh-Hans","url":"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f6320b5256dc36ef4243e0acf26144b8ac2668b478302ad154e95ce3202bc421?s=96&d=mm&r=g","caption":"loken"},"sameAs":["https:\/\/www.xianwaizhiyin.net\/"],"url":"https:\/\/www.xianwaizhiyin.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199"}],"version-history":[{"count":2,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/199\/revisions"}],"predecessor-version":[{"id":2706,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/199\/revisions\/2706"}],"wp:attachment":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}