{"id":88,"date":"2022-01-31T01:18:31","date_gmt":"2022-01-30T17:18:31","guid":{"rendered":"http:\/\/192.168.0.122:8088\/?p=88"},"modified":"2022-06-11T03:23:23","modified_gmt":"2022-06-10T19:23:23","slug":"window10_ffmpeg%e8%b0%83%e8%af%95%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba-%e8%87%aa%e5%b7%b1%e7%bc%96%e8%af%91","status":"publish","type":"post","link":"https:\/\/www.xianwaizhiyin.net\/?p=88","title":{"rendered":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u81ea\u5df1\u7f16\u8bd1"},"content":{"rendered":"\n<p>\u300awindow10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u6781\u901f\u7248\u300b\u5df2\u7ecf\u4ecb\u7ecd\u4e86\u5728qt creator\u91cc\u9762 \u8c03\u8bd5ffmpeg.c \u5de5\u7a0b\u3002\u4f46\u662f\u6781\u901f\u7248\u7684dll\u662f\u73b0\u6210\u7684\u3002\u6240\u4ee5\u672c\u6587\u6765\u8bb2\u89e3\u5982\u4f55\u81ea\u5df1\u7f16\u8bd1\u51faffmpeg\u7684dll\u3002<\/p>\n\n\n\n<p>window10 \u73af\u5883\u4e0b ffmpeg\u7684\u7f16\u8bd1\u65b9\u5f0f\u4e3b\u8981\u6709\u4ee5\u4e0b2\u79cd\uff1a<\/p>\n\n\n\n<p>1\uff0cMSYS2 + MinGW<\/p>\n\n\n\n<p>2\uff0cMSYS2 + MSVC<\/p>\n\n\n\n<p>\u7531\u4e8e window \u7684\u539f\u751f CMD \u547d\u4ee4\u884c\u65e0\u6cd5\u6267\u884cshell\u811a\u672c\uff0c\u4e5f\u6ca1\u6709 make \u4e4b\u7c7b\u7684\u547d\u4ee4\uff0c\u6240\u4ee5\u9700\u8981\u88c5 MSYS2 \u8f6f\u4ef6\u3002<\/p>\n\n\n\n<p>MSYS2 \u662f\u4ec0\u4e48\uff1fMSYS2 \u5b9e\u9645\u4e0a\u5c31\u662f\u4e00\u4e2alinux \u4eff\u771f\u73af\u5883\uff0c\u88c5\u4e86 MSYS2 \u5c31\u53ef\u4ee5\u8fd0\u884c ffmpeg \u7684configure \u7f16\u8bd1\u811a\u672c\u4e86\u3002<\/p>\n\n\n\n<p>MinGW \u8ddf MSVC \u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u7f16\u8bd1\u5668\uff0cMinGW \u7f16\u8bd1\u5668\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f\u8bf7\u770b\u4e0b\u9762\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >\/*linux api pthread_create()*\/\n#include &lt;stdio.h&gt;\n#include &lt;pthread.h&gt;\nvoid* PrintHello(void* data)\n{\n    printf(&quot;Hello from new thread\\n&quot;);\n    pthread_exit(NULL);\n}\nint main(int argc, char* argv&#091;])\n{\n\n   pthread_t  thread_id;\n   pthread_create(&amp;thread_id, NULL, PrintHello, NULL);\n   pthread_exit(NULL);\n}<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u7684\u4ee3\u7801\u4f7f\u7528\u4e86\u4e00\u4e2a linux \u91cc\u9762 pthread_create() \u7ebf\u7a0b\u51fd\u6570\uff0c\u5728window \u73af\u5883\u662f\u6ca1\u6709\u8fd9\u4e2a\u7ebf\u7a0b\u51fd\u6570\u7684\uff0c\u5982\u679c\u7528 MSVC \u7f16\u8bd1\u5668\u7f16\u8bd1\uff0c\u4f1a\u62a5\u9519\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\u5982\u679c\u7528 MinGW \u7f16\u8bd1\u5668 \u5c31\u53ef\u4ee5\u5728window\u73af\u5883 \u7f16\u8bd1 pthread_create() \u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>fmpeg \u7684\u6e90\u4ee3\u7801\u662f linux \uff0cwindow \u7b49\u591a\u5e73\u53f0\u901a\u7528\u7684\uff0cffmpeg \u91cc\u9762\u5e76\u6ca1\u6709\u76f4\u63a5\u4f7f\u7528 pthread_create() \u4e4b\u7c7b\u7684linux\u4e13\u5c5e\u7684api\u51fd\u6570\uff0c\u6240\u4ee5 \u7528MinGW \u8fd8\u662fMSVC \u90fd\u53ef\u4ee5\u7f16\u8bd1ffmpeg \u7684\u6e90\u7801\uff0cffmpeg \u7684configure \u7f16\u8bd1\u811a\u672c\u6839\u636e\u4e0d\u540c\u7684\u7f16\u8bd1\u65b9\u5f0f\u6267\u884c\u4e0d\u540c\u7684\u7f16\u8bd1\u903b\u8f91\uff0c\u4f8b\u5982\u5982\u679c\u7528MinGW\u7684\u7f16\u8bd1\u5668\uff0cconfigure \u91cc\u9762\u4f1a\u8d70 MinGW\u7684\u90a3\u5757\u7f16\u8bd1\u903b\u8f91\uff0c\u5982\u679c\u6307\u5b9a\u7528 MSVC \u7f16\u8bd1\uff0cconfigure\u4f1a\u8d70\u53e6\u4e00\u5757\u903b\u8f91\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7\u5728configure\u524d\u9762\u52a0 --toolchain=xxx \u53ef\u4ee5\u6307\u5b9a\u4e0d\u540c\u7684\u7f16\u8bd1\u5de5\u5177\u94fe\uff0c\u4f8b\u5982 --toolchain=msvc \u662f\u6307\u5b9amsvc \u7f16\u8bd1\u5de5\u5177\u94fe\uff0c \u5982\u679c\u6ca1\u6307\u5b9a --toolchain \uff0c\u5728mingw32\u73af\u5883\u4e0b\uff0cconfigure\u4f1a\u81ea\u52a8\u9009\u62e9 MinGW \u7684\u65b9\u5f0f\u7f16\u8bd1\uff0c\u6211\u4eec\u672c\u6587\u7684\u793a\u4f8b\u5c31\u6ca1\u6307\u5b9a --toolchain\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\uff0c\u4e0e\u5176\u8bf4ffmpeg \u7684\u4ee3\u7801\u662f\u8de8\u5e73\u53f0\u7684\uff0c\u4e0d\u5982\u8bf4\u662f configure \u8fd9\u4e2ashell\u811a\u672c\u5b9e\u73b0\u4e86\u4e0d\u540c\u5e73\u53f0\u7684\u7f16\u8bd1\u89c4\u5219\u3002\u56e0\u4e3a window \u539f\u751f CMD \u547d\u4ee4\u884c\u6ca1\u6cd5\u8fd0\u884cshell\u811a\u672c\uff0c\u6240\u4ee5\u5c31\u9700\u8981 MSYS2\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>google_ads_content<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u672c\u6587\u4e3b\u8981\u8bb2\u89e3 MSYS2 + MinGW \u7684\u7f16\u8bd1\u65b9\u6cd5\uff0cMSYS2 + MSVC \u540e\u7eed\u518d\u4f1a\u51fa\u4e00\u7bc7\u6587\u7ae0\u8be6\u7ec6\u8bb2\u89e3\u3002<\/p>\n\n\n\n<p>MSYS2 \u5b98\u7f51\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/www.msys2.org\/\">https:\/\/www.msys2.org\/<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>MSYS2 \u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\uff0cCMD \u8fdb\u5165\u5b89\u88c5\u76ee\u5f55 C:\\msys64 \u76ee\u5f55\uff0c\u6267\u884c <code class=\"prettyprint\" >.\\msys2_shell.cmd -mingw32<\/code>\uff0c\u6253\u5f0032\u4f4d\u7684\u73af\u5883\u3002\u4e0d\u8981\u76f4\u63a5\u70b9\u51fb <code>mingw32.exe<\/code> \u8fdb\u516532\u4f4d\u73af\u5883\u3002\u5c3d\u91cf\u7528 <code>.\\msys2_shell.cmd -mingw32<\/code>\u3002\u56e0\u4e3a\u540e\u9762\u4f1a\u6539\u52a8\u4e00\u4e0b <code>msys2_shell.cmd<\/code> \u6587\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"106\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1.png\" alt=\"\" class=\"wp-image-154\"\/><\/figure>\n\n\n\n<p>\u8fd0\u884c\u4e4b\u540e\u5c31\u4f1a\u8fdb\u5165 linux \u7684\u4eff\u771f\u73af\u5883\uff0c<code class=\"prettyprint\" >ls<\/code>\uff0c<code>ps<\/code>\uff0c\u7b49linux\u547d\u4ee4\u90fd\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n\n\n\n<p><code class=\"prettyprint\" >.\\msys2_shell.cmd -mingw32<\/code> \u662f 64\u4f4d\u7684\u73af\u5883\uff0c\u7528\u8fd9\u4e2a\u5165\u53e3\u7f16\u8bd1\u51fa\u6765\u7684 ffmpeg.exe \u8ddf DLL \u9ed8\u8ba4\u662f 64\u4f4d\u7684\u3002\u672c\u6587\u5148\u7f16\u8bd1 32 \u4f4d\u7684\u7a0b\u5e8f\uff0c64\u4f4d\u540e\u7eed\u51fa\u4e00\u7bc7\u6587\u7ae0\u8bb2\u89e3\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"270\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1-1.png\" alt=\"\" class=\"wp-image-176\"\/><\/figure>\n\n\n\n<p>MSYS2 Linux\u4eff\u771f\u73af\u5883\u4e2d\u5305\u7ba1\u7406\u547d\u4ee4\u662f pacman\uff0c\u7c7b\u4f3c apt-get\uff0cyum\u3002\u4e0b\u9762\u7528 pacman \u5b89\u88c5\u4e00\u4e9b\u7528\u6765\u7f16\u8bd1 FFmpeg \u7684\u8f6f\u4ef6\u3002\uff08pacman \u4e0b\u8f7d\u901f\u5ea6\u6162\u9700\u8981\u5207\u6362\u6e90\uff09<\/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 \uff0c\u5982\u679c\u62a5\u9519 signature not trust\uff0c\u8bf7\u770b\u4e0b\u9762\u89e3\u51b3\u3002\npacman -S mingw-w64-i686-toolchain \npacman -S git\npacman -S make\npacman -S automake \npacman -S autoconf\npacman -S perl\npacman -S mingw-w64-i686-SDL2\npacman -S libtool\npacman -S mingw-w64-i686-cmake \npacman -S pkg-config \npacman -S yasm\n# \u7f16\u8bd1x264 \u9700\u8981 nasm\npacman -S nasm<\/code><\/pre>\n\n\n\n<p><strong>\u5e38\u89c1\u9519\u8bef\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code class=\"prettyprint\" >mingw-w64-i686-toolchain<\/code> \u5982\u679c\u6309\u7167\u62a5 \"signature not trust \"\u9519\uff0c\u662f\u8bc1\u4e66\u8fc7\u671f\u4e86\uff0c\u76f4\u63a5\u7981\u7528\u68c0\u6d4b\uff0c\u8bf7\u53c2\u8003\u6b64\u6587\u7ae0\u89e3\u51b3\u3002 <a href=\"https:\/\/blog.csdn.net\/u011091701\/article\/details\/120968475\">csdn\u6587\u7ae0<\/a><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"41\" class=\"wp-image-177\" style=\"width: 150px;\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1-2.png\" alt=\"\"><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-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,build\u76ee\u5f55\uff0c\u7edf\u4e00\u7ba1\u7406\nmkdir -p ffmpeg\/build32  \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\/build32\/libx264 \\\n--host=i686-w64-mingw32 --enable-static \\\n--extra-ldflags=-Wl,--output-def=libx264.def  \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\/build32\/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\/build32\/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\/build32\/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\/build32\/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\/build32\/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\/build32\/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\/build32\/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.\/configure \\\n--prefix=\/home\/loken\/ffmpeg\/build32\/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\/build32\/libfdk-aac\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build32\/libfdk-aac\/lib&quot; \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build32\/libvpx\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build32\/libvpx\/lib&quot; \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build32\/libx264\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build32\/libx264\/lib&quot; \\\n--extra-cflags=&quot;-I\/home\/loken\/ffmpeg\/build32\/libmp3lame\/include&quot; \\\n--extra-ldflags=&quot;-L\/home\/loken\/ffmpeg\/build32\/libmp3lame\/lib&quot;\n  \nmake -j8\nmake install<\/code><\/pre>\n\n\n\n<p>\u7f16\u8bd1\u5b8c\u6210\u4e4b\u540e\uff0cbuild32\/ffmpeg-4.2 \u76ee\u5f55\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"181\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-3.png\" alt=\"\" class=\"wp-image-179\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"481\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-4-del.png\" alt=\"\" class=\"wp-image-181\"\/><\/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=\"580\" height=\"373\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-5.png\" alt=\"\" class=\"wp-image-182\"\/><\/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\u7f3a\u5c11 libwinpthread-1.dll \u7b49\u5e93\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"316\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-6.png\" alt=\"\" class=\"wp-image-168\"\/><\/figure>\n\n\n\n<p>\u628a <code class=\"prettyprint\" >C:\\msys64\\mingw32\\bin\\libwinpthread-1.dll<\/code> \u590d\u5236\u5230 <code>\\home\\loken\\ffmpeg\\build32\\ffmepg-4.2\\bin<\/code> \u3002\u5176\u4ed6\u7f3a\u5c11\u7684 dll \u6587\u4ef6\u4e5f\u662f\u5982\u6b64\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u62f7\u8d1d\u5b8c\u7f3a\u5c11\u7684dll\u6587\u4ef6\u540e\uff0c\u518d\u8fd0\u884c ffmpeg.exe \u5c31\u4e0d\u4f1a\u62a5\u9519\u4e86\u3002<\/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 \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\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"492\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-9.png\" alt=\"\" class=\"wp-image-171\"\/><\/figure>\n\n\n\n<p>2\uff0c\u52fe\u9009\u7f16\u8bd1\u73af\u5883 kit \uff0cMinGW 32 \u8ddf MSVC 2015 32bit\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1156\" height=\"553\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-9-1.png\" alt=\"\" class=\"wp-image-172\"\/><\/figure>\n\n\n\n<p>3\uff0c\u628a <code class=\"prettyprint\" >\\home\\loken\\ffmpeg\\build32<\/code> \u6574\u4e2a\u76ee\u5f55\u62f7\u8d1d\u5230 ffmpeg-qt-version \u9879\u76ee\u76ee\u5f55\u4e0b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"174\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-10.png\" alt=\"\" class=\"wp-image-173\"\/><\/figure>\n\n\n\n<p>4\uff0c\u4fee\u6539 <code class=\"prettyprint\" >ffmpeg-qt-version.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    INCLUDEPATH += $$PWD\/build32\/ffmepg-4.2\/include\n    LIBS += $$PWD\/build32\/ffmepg-4.2\/bin\/avformat.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/avcodec.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/avdevice.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/avfilter.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/avutil.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/postproc.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/swresample.lib \\\n            $$PWD\/build32\/ffmepg-4.2\/bin\/swscale.lib\n} else {\n    message(&quot;64-bit&quot;)\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<\/code> \u9879\u76ee\u3002\u4f1a\u63d0\u793a\u786e\u5b9e\u7f3a\u5c11dll\u3002<\/p>\n\n\n\n<p>\u7531\u4e8e ffmpeg-qt-version \u9879\u76ee\u5e76\u6ca1\u6709\u7528\u5230pthread_create() \u4e4b\u7c7b\u7684 linux api \u51fd\u6570\uff0c\u6240\u4ee5 \u7528MinGW 32bit \u8fd8\u662f MSVC2015 32bit \u7f16\u8bd1\u90fd\u6ca1\u95ee\u9898\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"605\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-11.png\" alt=\"\" class=\"wp-image-174\"\/><\/figure>\n\n\n\n<p>7\uff0c\u628a build32\/ffmpeg-4.2\/bin\/*.dll \u6240\u6709DLL\u90fd\u590d\u5236\u5230 <code class=\"prettyprint\" >build-ffmpeg-qt-version-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=\"617\" height=\"218\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-12.png\" alt=\"\" class=\"wp-image-175\"\/><\/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<p><strong>\u91cd\u8981\u77e5\u8bc6\u70b9\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4e0a\u9762\u8c03\u7528\u4e86 ffmpeg \u7684 api \u51fd\u6570 <code class=\"prettyprint\" >av_version_info()<\/code> \u6253\u5370\u7248\u672c\u53f7\uff0c\u7531\u4e8e ffmpeg-qt-version \u9879\u76ee\u5e76\u6ca1\u6709\u7528\u5230pthread_create() \u4e4b\u7c7b\u7684 linux api \u51fd\u6570\uff0c\u6240\u4ee5 \u7528MinGW 32bit \u8fd8\u662f MSVC2015 32bit \u7f16\u8bd1\u90fd\u6ca1\u95ee\u9898\u3002<\/li><li>\u6211\u4eec\u7684 avcodec-58.dll \u662f\u7528 MinGW \u91cc\u9762\u7684 gcc \u7f16\u8bd1\u5668\u7f16\u8bd1\u51fa\u6765\u7684\uff0c\u4f46\u662fffmpeg-qt-version \u7684 main.c \u6587\u4ef6 \u662f\u7528 MSVC \u7684 cl.exe \u6587\u4ef6\u7f16\u8bd1\u5668\u7684\uff0c\u4ed6\u4eec\u6700\u540e\u662f\u901a\u8fc7 link.exe \u94fe\u63a5\u5668\u94fe\u63a5\u5728\u4e00\u8d77\u7684\u3002\u6240\u4ee5\u53ef\u4ee5\u8bf4 gcc \u7f16\u8bd1\u51fa\u6765\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u8ddf cl.exe \u7f16\u8bd1\u51fa\u6765\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u662fABI \u517c\u5bb9\u7684\u3002\u5177\u4f53\u8bf7\u770b\u300a<a href=\"https:\/\/u.jd.com\/Wwx3e4H\">\u7a0b\u5e8f\u5458\u7684\u81ea\u6211\u4fee\u517b<\/a>\u300b\u7b2c3\u30014\u7ae0\u3002<\/li><li>\u9700\u8981\u6ce8\u610f\uff0cMSYS2\u7f16\u8bd1ffmpeg \u7684gcc \u7248\u672c\u4e0d\u80fd\u8ddf Qt creator\u91cc\u9762\u7684MinGW\u7684gcc\u7248\u672c\u5dee\u8ddd\u592a\u5927\u3002\u4f8b\u5982MSYS2\u91cc\u7f16\u8bd1ffmpeg dll\u7684gcc\u662f11.0\u7248\u672c\uff0c\u800cQt creator\u7684MinGW\u7684gcc\u662f 5.0\uff0c\u5728\u9879\u76ee\u91cc\u9762\u5c31\u65e0\u6cd5\u4f7f\u7528 ffmpeg \u7684dll\uff0c\u4f1a\u62a5\u9519\uff0c\u5e94\u8be5\u662fgcc\u7248\u672c\u5dee\u8ddd\u592a\u5927\uff0c\u4e8c\u8fdb\u5236\u4e0d\u517c\u5bb9\u4e4b\u7c7b\u7684\u3002<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><strong>ffmpeg \u5b98\u65b9\u53d1\u5e03\u7684window dll \u4e0b\u8f7d\uff1a<\/strong><\/p>\n\n\n\n<p>\u767e\u5ea6\u7f51\u76d8\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1Ob-qfsvKDs_6X9j4VVyeBw\">https:\/\/pan.baidu.com\/s\/1Ob-qfsvKDs_6X9j4VVyeBw<\/a> \u63d0\u53d6\u7801\uff1an7dx<\/p>\n\n\n\n<p>\u5b98\u65b9\u53d1\u5e03\u7684 <code class=\"prettyprint\" >ffmpeg-4.2.1-win32-shared.zip<\/code> \u91cc\u9762\u7684README \u8bb0\u5f55\u4e86\u5b98\u65b9\u7f16\u8bd1ffmpeg\u7684configure\u9009\u9879\u3002\u91cc\u9762\u6709 <code>-enable-lzma<\/code> <code>--enable-zlib<\/code>\uff0c\u7f51\u4e0a\u67d0\u4e9bffmpeg \u7f16\u8bd1\u6559\u7a0b\uff0c\u6ca1\u6709\u52a0\u8fd9\u4e24\u4e2a\u9009\u9879\uff0c\u6bcf\u6b21\u90fd\u8981\u590d\u5236 zlib-1.dll \u8fc7\u53bb\u3002\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u7684configure\u9009\u9879\uff0c\u76f4\u63a5\u628azlib\u7b49\u5e93\u4ee5\u9759\u6001\u5e93\u7684\u65b9\u5f0f\u7f16\u8bd1\u8fdb\u53bbffmpeg dll \u66f4\u65b9\u4fbf\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"583\" height=\"871\" src=\".\/wp-content\/uploads\/2022\/01\/FFmpeg-1-6.png\" alt=\"\" class=\"wp-image-60\"\/><\/figure>\n\n\n\n<p><strong>\u76f8\u5173\u6280\u672f\u6587\u7ae0\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ffmpeg \u5b98\u65b9\u7f16\u8bd1\u6587\u6863\uff0c<a href=\"https:\/\/trac.ffmpeg.org\/wiki\/CompilationGuide\">https:\/\/trac.ffmpeg.org\/wiki\/CompilationGuide<\/a>\uff0c\u63a8\u8350\u628a\u5b98\u65b9\u6587\u6863\u7ec6\u8bfb\u4e00\u904d\u3002<\/li><li><a href=\"http:\/\/c.biancheng.net\/view\/454.html\">Visual Studio 2015\u4f7f\u7528\u5165\u95e8<\/a><\/li><li>\u5fae\u8f6f\u8f6f\u4ef6\u5927\u5168\u4e0b\u8f7d\uff1a<a href=\"https:\/\/msdn.itellyou.cn\/\">MSDN I TELL YOU<\/a><\/li><li><a href=\"https:\/\/blog.csdn.net\/libaineu2004\/article\/details\/104727963\">\u6d45\u8c08Qt\u7684\u7f16\u8bd1\u65b9\u5f0f\uff1aqmake\/cmake\/qbs\u53caqbs\u88ab\u5f03\u7528\u7684\u539f\u56e0<\/a><\/li><li><a href=\"https:\/\/blog.csdn.net\/cqltbe131421\/article\/details\/54579890\" data-type=\"URL\" data-id=\"https:\/\/blog.csdn.net\/cqltbe131421\/article\/details\/54579890\">\u300aQmake\u5e38\u7528\u8bed\u6cd5\u300b<\/a><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>\u00a9\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>\u300awindow10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u6781\u901f\u7248\u300b\u5df2\u7ecf\u4ecb\u7ecd\u4e86\u5728qt creator\u91cc\u9762 \u8c03\u8bd5ffmpeg. [&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-88","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-\u81ea\u5df1\u7f16\u8bd1 - \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=88\" \/>\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-\u81ea\u5df1\u7f16\u8bd1 - \u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"og:description\" content=\"\u300awindow10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u6781\u901f\u7248\u300b\u5df2\u7ecf\u4ecb\u7ecd\u4e86\u5728qt creator\u91cc\u9762 \u8c03\u8bd5ffmpeg. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xianwaizhiyin.net\/?p=88\" \/>\n<meta property=\"og:site_name\" content=\"\u5f26\u5916\u4e4b\u97f3\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-30T17:18:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-10T19:23:23+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/.\/wp-content\/uploads\/2022\/01\/FFmpeg-2-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=\"7 \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=88#primaryimage\",\"inLanguage\":\"zh-Hans\",\"url\":\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1.png\",\"contentUrl\":\".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=88#webpage\",\"url\":\"https:\/\/www.xianwaizhiyin.net\/?p=88\",\"name\":\"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u81ea\u5df1\u7f16\u8bd1 - \u5f26\u5916\u4e4b\u97f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=88#primaryimage\"},\"datePublished\":\"2022-01-30T17:18:31+00:00\",\"dateModified\":\"2022-06-10T19:23:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=88#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.xianwaizhiyin.net\/?p=88\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.xianwaizhiyin.net\/?p=88#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-\u81ea\u5df1\u7f16\u8bd1\"}]},{\"@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-\u81ea\u5df1\u7f16\u8bd1 - \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=88","og_locale":"zh_CN","og_type":"article","og_title":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u81ea\u5df1\u7f16\u8bd1 - \u5f26\u5916\u4e4b\u97f3","og_description":"\u300awindow10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u6781\u901f\u7248\u300b\u5df2\u7ecf\u4ecb\u7ecd\u4e86\u5728qt creator\u91cc\u9762 \u8c03\u8bd5ffmpeg. [&hellip;]","og_url":"https:\/\/www.xianwaizhiyin.net\/?p=88","og_site_name":"\u5f26\u5916\u4e4b\u97f3","article_published_time":"2022-01-30T17:18:31+00:00","article_modified_time":"2022-06-10T19:23:23+00:00","og_image":[{"url":".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"loken","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \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=88#primaryimage","inLanguage":"zh-Hans","url":".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1.png","contentUrl":".\/wp-content\/uploads\/2022\/01\/FFmpeg-2-1.png"},{"@type":"WebPage","@id":"https:\/\/www.xianwaizhiyin.net\/?p=88#webpage","url":"https:\/\/www.xianwaizhiyin.net\/?p=88","name":"window10_ffmpeg\u8c03\u8bd5\u73af\u5883\u642d\u5efa-\u81ea\u5df1\u7f16\u8bd1 - \u5f26\u5916\u4e4b\u97f3","isPartOf":{"@id":"https:\/\/www.xianwaizhiyin.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=88#primaryimage"},"datePublished":"2022-01-30T17:18:31+00:00","dateModified":"2022-06-10T19:23:23+00:00","author":{"@id":"https:\/\/www.xianwaizhiyin.net\/#\/schema\/person\/6605a70af752697df6b62f77c53298a3"},"breadcrumb":{"@id":"https:\/\/www.xianwaizhiyin.net\/?p=88#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xianwaizhiyin.net\/?p=88"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.xianwaizhiyin.net\/?p=88#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-\u81ea\u5df1\u7f16\u8bd1"}]},{"@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\/88","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=88"}],"version-history":[{"count":17,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":2708,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions\/2708"}],"wp:attachment":[{"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xianwaizhiyin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}