{"id":2561,"date":"2019-07-10T09:57:12","date_gmt":"2019-07-10T01:57:12","guid":{"rendered":"http:\/\/www.51cos.com\/?p=2561"},"modified":"2019-07-10T15:01:08","modified_gmt":"2019-07-10T07:01:08","slug":"%e7%94%a8%e6%9c%80%e7%ae%80%e5%8d%95%e7%9a%84%e6%96%b9%e5%bc%8f%e5%9c%a8windows%e7%b3%bb%e7%bb%9f%e4%b8%8b%e7%bc%96%e8%af%91ffmpeg%e6%ba%90%e7%a0%81","status":"publish","type":"post","link":"http:\/\/www.51cos.com\/?p=2561","title":{"rendered":"\u7528\u6700\u7b80\u5355\u7684\u65b9\u5f0f\u5728Windows\u7cfb\u7edf\u4e0b\u7f16\u8bd1FFMPEG\u6e90\u7801"},"content":{"rendered":"<p>\u6700\u8fd1\u4f7f\u7528\u7684\u4e00\u4e2a\u684c\u9762\u8f6f\u4ef6\uff0c\u91cc\u9762\u7684avcodec-57.dll\u6587\u4ef6\u592a\u5927\uff0c\u670921MB\uff0c\u6240\u4ee5\u81ea\u5df1\u4e00\u76f4\u60f3\u7f16\u8bd1\u5e76\u7cbe\u7b80FFMPEG\uff0c\u8ba9avcodec-57.dll\u5c0f\u4e00\u4e9b\u3002\u53c2\u8003\u7f51\u4e0a\u522b\u4eba\u7684\u6b65\u9aa4\uff0c\u90fd\u592a\u590d\u6742\uff0c\u81ea\u5df1\u8d70\u4e86\u4e00\u904d\uff0c\u5176\u5b9e\u8fc7\u7a0b\u5f88\u7b80\u5355\uff0c\u8fc7\u7a0b\u8bb0\u5f55\u5982\u4e0b\uff1a<br \/>\n\u7f16\u8bd1\u73af\u5883: Windows7 64bit<br \/>\n\u7f16\u8bd1\u5de5\u5177:MinGW<br \/>\n\u7f16\u8bd1\u6e90\u7801:ffmpeg<\/p>\n<p>1.\u4e0b\u8f7dFFmpeg\uff1ahttp:\/\/ffmpeg.org\/releases\/ffmpeg-3.2.14.tar.gz\u4e0b\u8f7d\u5b8c\u540e\u89e3\u538b(\u6700\u597d\u4e3a\u82f1\u6587,\u65b9\u4fbfMinGW\u64cd\u4f5c)\u3002<\/p>\n<p>2.\u4e0b\u8f7dMinGW MinGW &#8211; Minimalist GNU for Windows-\u662fWindows\u4e0b\u6a21\u62dflinux\u8fd0\u884c\u7684\u5e93\u3001\u5934\u6587\u4ef6\u7b49\u7684\u96c6\u5408\u3002<\/p>\n<p>https:\/\/osdn.net\/projects\/mingw\/downloads\/68260\/mingw-get-setup.exe\/<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u4e4b\u540e\u70b9\u51fb\u5b89\u88c5\uff0c\u8def\u5f84\u81ea\u9009\uff0c\u76f4\u63a5\u4e0b\u4e00\u6b65\u5c31\u53ef\u3002<\/p>\n<p><a href=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409163838716.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2572\" src=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409163838716.jpg\" alt=\"\" width=\"616\" height=\"476\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409163847468.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2573\" src=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409163847468.jpg\" alt=\"\" width=\"592\" height=\"330\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409164704987.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2575\" src=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409164704987.jpg\" alt=\"\" width=\"1065\" height=\"518\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409164445866.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2574\" src=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409164445866.jpg\" alt=\"\" width=\"1077\" height=\"517\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409164810023.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2576\" src=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/07\/20150409164810023.jpg\" alt=\"\" width=\"1065\" height=\"517\" \/><\/a><\/p>\n<p>\u4e3b\u8981\u52fe\u9009\uff1amingw32-gcc-g++-bin\/mingw32-base-bin\/MSYS base bin\/MSYS System Builder\/MinGW Developer ToolKit\/<br \/>\n\u9009\u62e9\u5b8c\u6bd5\u540e\u70b9\u51fb\u83dc\u5355Installation-&gt;Apply Changes \u5f00\u59cb\u4e0b\u8f7d\u3002\u6709\u7684\u5305\u53ef\u80fd\u4e0b\u8f7d\u5931\u8d25\uff0c\u8981\u591a\u91cd\u8bd5\u51e0\u6b21\u3002<\/p>\n<p>\u7f16\u8bd1FFmpeg<br \/>\n\u8fd0\u884cMinGW\\msys\\1.0\\msys.bat\uff0c\u5728\u5f39\u51fa\u7a97\u53e3\u4e2d\u8fdb\u5165ffmpeg\u7684\u4ee3\u7801\u89e3\u538b\u8def\u5f84\uff1a<br \/>\n\u4f8b\u5982cd \/D\/work\/code\/FFmpeg<br \/>\n\u521b\u5efa\u7f16\u8bd1\u540e\u7684install\u6587\u4ef6\u5939\uff1amkdir mybinlib<br \/>\n\u914d\u7f6eFFmpeg makefile<br \/>\n.\/configure &#8211;enable-shared &#8211;disable-static &#8211;disable-yasm &#8211;prefix=mybinlib<br \/>\nmake<br \/>\nmake install<\/p>\n<p>\u7136\u540e\u5728mybinlib\u5c31\u80fd\u627e\u5230\u6240\u9700\u8981\u7684\u52a8\u6001\u5e93\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u4f7f\u7528\u7684\u4e00\u4e2a\u684c\u9762\u8f6f\u4ef6\uff0c\u91cc\u9762\u7684avcodec-57.dll\u6587\u4ef6\u592a\u5927\uff0c\u670921MB\uff0c\u6240\u4ee5\u81ea\u5df1\u4e00\u76f4\u60f3\u7f16\u8bd1\u5e76\u7cbe\u7b80FFM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2561","post","type-post","status-publish","format-standard","hentry","category-embedded"],"_links":{"self":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/2561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2561"}],"version-history":[{"count":9,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/2561\/revisions"}],"predecessor-version":[{"id":2585,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/2561\/revisions\/2585"}],"wp:attachment":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2561"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}