{"id":17711,"date":"2025-04-19T00:13:11","date_gmt":"2025-04-18T16:13:11","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/17711.html"},"modified":"2025-04-19T00:13:11","modified_gmt":"2025-04-18T16:13:11","slug":"java-ffmpeg-%e4%bd%bf%e7%94%a8-%e5%8f%8a-%e6%9c%8d%e5%8a%a1%e5%99%a8centos-7-ffmpeg%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/17711.html","title":{"rendered":"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e"},"content":{"rendered":"<p>\u9879\u76ee\u4e2d\u4f7f\u7528\u4e86\u89c6\u9891&#xff0c;\u8981\u5206\u6790\u89c6\u9891\u83b7\u53d6\u7b2c\u51e0\u5e27\u6765\u4f5c\u4e3a\u89c6\u9891\u5c01\u9762\u3002\u6b64\u6587\u7ae0\u65e8\u5728\u8bb0\u5f55\u89e3\u51b3\u95ee\u9898\u7684\u8fc7\u7a0b&#xff0c;\u4ee5\u53ca\u9047\u5230\u7684\u95ee\u9898\u3002<\/p>\n<p>1. java\u00a0 pom.xml\u6587\u4ef6\u4e2d\u5f15\u5165&#xff0c;Maven\u5e93&#xff1a;<\/p>\n<p>&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;org.bytedeco&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;javacv&lt;\/artifactId&gt;<br \/>\n    &lt;version&gt;1.5.6&lt;\/version&gt;<br \/>\n&lt;\/dependency&gt;<\/p>\n<p>&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;org.bytedeco&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;ffmpeg-platform&lt;\/artifactId&gt;<br \/>\n    &lt;version&gt;4.4-1.5.6&lt;\/version&gt;<br \/>\n&lt;\/dependency&gt; <\/p>\n<p>\u4e0a\u9762\u4e24\u4e2a\u5e93\u7684\u7248\u672c\u4e00\u5b9a\u8981\u5bf9\u5e94&#xff0c;\u5177\u4f53\u7248\u672c\u53ef\u4ee5\u67e5\u770bMaven\u4ed3\u5e93\u4e2d\u67e5\u9605\u3002<\/p>\n<p>\u4e0a\u9762\u5b8c\u6210&#xff0c;\u9879\u76ee\u91cd\u65b0\u52a0\u8f7dmaven\u8fdb\u884c\u7f16\u8bd1\u3002<\/p>\n<p>2. \u5728\u9879\u76ee\u4e2d\u4f7f\u7528<\/p>\n<p>\u6211\u7684\u9879\u76ee\u4f7f\u7528\u5f88\u7b80\u5355&#xff0c;\u5c31\u53ea\u83b7\u53d6\u5230\u7b2c\u51e0\u5e27\u4f5c\u4e3a\u56fe\u7247&#xff0c;\u4ee3\u7801\u5982\u4e0b&#xff0c;<\/p>\n<p>public Map&lt;String, String&gt; getVideoImage(String filePath) throws Exception {<br \/>\n        String name &#061; getFileNameFromUrl(filePath);<br \/>\n        FFmpegFrameGrabber ff &#061; FFmpegFrameGrabber.createDefault(filePath);<br \/>\n        ff.start();<br \/>\n        \/\/\u5224\u65ad\u662f\u5426\u662f\u7ad6\u5c4f\u5c0f\u89c6\u9891<br \/>\n        String rotate &#061; ff.getVideoMetadata(&#034;rotate&#034;);<br \/>\n        int ffLength &#061; ff.getLengthInFrames();<br \/>\n        Frame f;<br \/>\n        int i &#061; 0;<br \/>\n        int index &#061; 3;\/\/\u622a\u53d6\u56fe\u7247\u7b2c\u51e0\u5e27<br \/>\n        Map&lt;String, String&gt; targetFilePath &#061; null;<br \/>\n        while (i &lt; ffLength) {<br \/>\n            f &#061; ff.grabImage();<br \/>\n            if (i &#061;&#061; index) {<br \/>\n                if (null !&#061; rotate &amp;&amp; rotate.length() &gt; 1) {<br \/>\n                    targetFilePath &#061; doExecuteFrame(f, true, name);   \/\/\u83b7\u53d6\u7f29\u7565\u56fe<br \/>\n                } else {<br \/>\n                    targetFilePath &#061; doExecuteFrame(f, false, name);   \/\/\u83b7\u53d6\u7f29\u7565\u56fe<br \/>\n                }<br \/>\n                break;<br \/>\n            }<br \/>\n            i&#043;&#043;;<br \/>\n        }<br \/>\n        ff.stop();<br \/>\n        return targetFilePath;  \/\/\u8fd4\u56de\u7684\u662f\u89c6\u9891\u7b2cN\u5e27<br \/>\n    } <\/p>\n<p>\u8fd9\u4e00\u6b65\u5230\u6b64&#xff0c;java\u540e\u7aef\u7684\u9879\u76ee\u57fa\u672c\u5c31\u6210\u529f\u4e86&#xff0c;\u5269\u4e0b\u7684\u662f\u4e0a\u4f20minio&#xff0c;\u8fd4\u56de\u5730\u5740&#xff0c;\u8fd9\u4e2a\u8d70\u6b63\u5e38\u7684\u4e0a\u4f20\u5c31\u53ef\u4ee5&#xff0c;\u5e76\u81ea\u5df1\u7ec4\u88c5\u8fd4\u56de\u6570\u636e\u3002<\/p>\n<p>3. \u670d\u52a1\u5668\u5b89\u88c5\u914d\u7f6e<\/p>\n<p>\u627e\u4e86\u5404\u79cd\u8d44\u6599&#xff0c;yum\u5b89\u88c5&#xff0c;\u538b\u7f29\u5305\u5b89\u88c5&#xff0c;git\u6e90\u4ee3\u7801\u5b89\u88c5\u7684\u3002\u6211\u5c1d\u8bd5\u4e86yum\u5b89\u88c5\u53cagit\u6e90\u7801\u5b89\u88c5\u3002<\/p>\n<p>\u6700\u540eyum\u5b89\u88c5\u7684\u7248\u672c\u6bd4\u8f83\u4f4e&#xff0c;\u53ea\u67092.8.15&#xff0c;\u8ddf\u4f7f\u7528\u7684\u7248\u672c\u4e0d\u5927\u5339\u914d\u3002<\/p>\n<p>\u6700\u540e\u7528\u7684git\u6e90\u7801&#xff0c;\u4f7f\u7528make\u7f16\u8bd1\u5b89\u88c5&#xff1a;<\/p>\n<p>\u521b\u5efa\u4efb\u610f\u76ee\u5f55&#xff0c;\u5728\u521b\u5efa\u7684\u76ee\u5f55\u4e2d&#xff0c;\u952e\u5165\u547d\u4ee4&#xff1a;<\/p>\n<p>git clone https:\/\/github.com\/FFmpeg\/FFmpeg.git <\/p>\n<p>\u5728linux \u4f7f\u7528git&#xff0c;\u9700\u8981\u5b89\u88c5git&#xff0c;yum install git \u5b89\u88c5\u5373\u53ef\u3002\u7136\u540e\u8fdb\u5165FFmpeg\u76ee\u5f55&#xff1a;<\/p>\n<p>cd FFmpeg<br \/>\ngit checkout release\/4.4 <\/p>\n<p>\u5176\u4e2d release\/4.4 \u662f\u5206\u652f\u540d&#xff0c;\u60f3\u8981\u54ea\u4e2a\u7248\u672c\u53ef\u4ee5\u53bbGitHub &#8211; FFmpeg\/FFmpeg: Mirror of https:\/\/git.ffmpeg.org\/ffmpeg.git\u4e2d\u627e\u4e00\u4e0b&#xff1b;<\/p>\n<p>\u8fd0\u884c\u5b8c\u6210\u4ee5\u540e&#xff0c;\u63a5\u7740\u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4&#xff1a;<\/p>\n<p>.\/configure<br \/>\nmake<br \/>\nmake install<\/p>\n<p>\u5728\u8fd0\u884c.\/configure \u65f6\u53ef\u80fd\u4f1a\u62a5\u9519&#xff0c;\u5927\u6982\u662f\u4e00\u4e9b\u5176\u4ed6\u5e93\u6ca1\u6709\u5b89\u88c5&#xff0c;\u6bd4\u5982nasm&#xff0c;yasm\u7b49&#xff0c;\u53bb\u76f4\u63a5\u5b89\u88c5\u4e00\u4e0b\u5c31\u884c\u3002<\/p>\n<p>\u8fd0\u884cmake\u547d\u4ee4\u65f6\u95f4\u6bd4\u8f83\u957f&#xff0c;\u8010\u5fc3\u7b49\u5f85\u4e00\u4e0b\u3002<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u4ee5\u540e&#xff0c;\u9700\u8981\u914d\u7f6e\u73af\u5883\u53d8\u91cf&#xff0c;ffmpeg\u00a0 -version\u547d\u4ee4\u624d\u4f1a\u67e5\u627e\u5230\u76f8\u5173\u4fe1\u606f\u3002<\/p>\n<p>\u6211\u7684\u914d\u7f6e\u6587\u4ef6 \u662f\/etc\/profile&#xff0c;\u6839\u636e\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u6253\u5f00\u6dfb\u52a0\u5c31\u884c&#xff0c;\u5728\u6253\u5f00\u7684\u6587\u4ef6\u4e2d&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b\u4e24\u884c&#xff0c;<\/p>\n<p>\u5176\u4e2dPATH \u5185\u5bb9\u4e3a\u4f60\u7684\u5b89\u88c5\u8def\u5f84&#xff0c;\u5982\u679c\u5728\u4e4b\u524d\u6ca1\u6709\u6307\u5b9a\u8def\u5f84\u7684\u8bdd&#xff0c;\u6211\u7684\u9ed8\u8ba4\u8def\u5f84\u4e3a\/usr\/local\/bin\u4e0b\u9762\u3002<\/p>\n<p>export PATH&#061;\/usr\/local\/bin:$PATH<br \/>\nexport LD_LIBRARY_PATH&#061;&#034;$LD_LIBRARY_PATH:\/usr\/local\/bin&#034;<\/p>\n<p>\u7136\u540e\u4fdd\u5b58&#xff0c;\u9000\u51fa&#xff0c;<\/p>\n<p>\u8f93\u5165\u547d\u4ee4&#xff1a; source \/etc\/profile\u662f\u6587\u4ef6\u751f\u6548\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u9879\u914d\u7f6e&#xff0c;\u6211\u4e5f\u4e0d\u77e5\u9053\u5e72\u5565&#xff0c;\u6211\u4e5f\u914d\u7f6e\u4e86&#xff0c;<\/p>\n<p>vim \/etc\/ld.so.conf<\/p>\n<p># \u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9<\/p>\n<p>include ld.so.conf.d\/*.conf<br \/>\n# ffmpeg \u5b89\u88c5\u8def\u5f84<br \/>\n\/usr\/local\/bin <\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u4ee5\u540e&#xff0c;\u4f7f\u7528 ffmpeg -version \u67e5\u770b\u7248\u672c&#xff0c;\u5982\u679c\u4fe1\u606f\u6210\u529f\u52a0\u8f7d\u4e86&#xff0c;\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u4e86\u3002<\/p>\n<p>\u8865\u5145&#xff1a;<\/p>\n<p>\u5728\u670d\u52a1\u5668\u7aef\u672a\u5b89\u88c5\u4e4b\u524d&#xff0c;\u672c\u5730\u8fd0\u884c\u5b8c\u5168\u6ca1\u95ee\u9898&#xff0c;\u53d1\u5e03\u5230\u670d\u52a1\u5668\u540e&#xff0c;\u62a5\u4e86\u4e24\u4e2a\u9519\u8bef\u3002<\/p>\n<p>java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.ffmpeg.global.avutil<br \/>\norg.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacv.FFmpegFrameGrabber <\/p>\n<p>\u8fd9\u4e24\u4e2a\u9519\u8bef\u5927\u6982\u662f\u7248\u672c\u51b2\u7a81&#xff0c;\u6216\u8005\u6ca1\u6709\u6b64\u7248\u672c\u7684\u4f9d\u8d56&#xff0c;\u6240\u4ee5\u9700\u8981\u6392\u67e5\u81ea\u5df1\u670d\u52a1\u5668\u4e0a\u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p>\u5982\u6709\u9519\u8bef\u6b22\u8fce\u6307\u6b63&#xff0c;\u4e92\u76f8\u5b66\u4e60\u3002<\/p>\n<p>\u672c\u6587\u53c2\u8003&#xff1a;<\/p>\n<p>linux\u5b89\u88c5\u5e76\u914d\u7f6effmpeg_ffmpeg \u9ed8\u8ba4\u5b89\u88c5\u5728linux\u5728\u4ec0\u4e48\u4f4d\u7f6e-CSDN\u535a\u5ba2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e26\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u8fd9\u4e00\u6b65\u5230\u6b64\uff0cjava\u540e\u7aef\u7684\u9879\u76ee\u57fa\u672c\u5c31\u6210\u529f\u4e86\uff0c\u5269\u4e0b\u7684\u662f\u4e0a\u4f20minio\uff0c\u8fd4\u56de\u5730\u5740\uff0c\u8fd9\u4e2a\u8d70\u6b63\u5e38\u7684\u4e0a\u4f20\u5c31\u53ef\u4ee5\uff0c\u5e76\u81ea\u5df1\u7ec4\u88c5\u8fd4\u56de\u6570\u636e\u3002\u5728\u8fd0\u884c.\/configure \u65f6\u53ef\u80fd\u4f1a\u62a5\u9519\uff0c\u5927\u6982\u662f\u4e00\u4e9b\u5176\u4ed6\u5e93\u6ca1\u6709\u5b89\u88c5\uff0c\u6bd4\u5982nasm\uff0cyasm\u7b49\uff0c\u53bb\u76f4\u63a5\u5b89\u88c5\u4e00\u4e0b\u5c31\u884c\u3002\u6211\u7684\u914d\u7f6e\u6587\u4ef6 \u662f\/etc\/profile\uff0c\u6839\u636e\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u6253\u5f00\u6dfb\u52a0\u5c31\u884c\uff0c\u5728\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u4e24\u884c\uff0c\u627e\u4e86\u5404\u79cd\u8d44\u6599\uff0cyum\u5b89\u88c5\uff0c\u538b\u7f29\u5305\u5b89\u88c5\uff0cgit\u6e90\u4ee3\u7801\u5b89\u88c5\u7684\u3002\u6211\u5c1d\u8bd5\u4e86yum\u5b89\u88c5\u53cagit\u6e90\u7801\u5b89\u88c5\u3002\u5728\u670d\u52a1\u5668\u7aef\u672a\u5b89\u88c5\u4e4b\u524d\uff0c\u672c\u5730\u8fd0\u884c\u5b8c\u5168\u6ca1\u95ee\u9898\uff0c\u53d1\u5e03\u5230\u670d\u52a1\u5668\u540e\uff0c\u62a5\u4e86\u4e24\u4e2a\u9519\u8bef\u3002_ffmpeg-platform maven<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[213,99,190],"topic":[],"class_list":["post-17711","post","type-post","status-publish","format-standard","hentry","category-server","tag-ffmpeg","tag-java","tag-190"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e - \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\/17711.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e26\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u8fd9\u4e00\u6b65\u5230\u6b64\uff0cjava\u540e\u7aef\u7684\u9879\u76ee\u57fa\u672c\u5c31\u6210\u529f\u4e86\uff0c\u5269\u4e0b\u7684\u662f\u4e0a\u4f20minio\uff0c\u8fd4\u56de\u5730\u5740\uff0c\u8fd9\u4e2a\u8d70\u6b63\u5e38\u7684\u4e0a\u4f20\u5c31\u53ef\u4ee5\uff0c\u5e76\u81ea\u5df1\u7ec4\u88c5\u8fd4\u56de\u6570\u636e\u3002\u5728\u8fd0\u884c.\/configure \u65f6\u53ef\u80fd\u4f1a\u62a5\u9519\uff0c\u5927\u6982\u662f\u4e00\u4e9b\u5176\u4ed6\u5e93\u6ca1\u6709\u5b89\u88c5\uff0c\u6bd4\u5982nasm\uff0cyasm\u7b49\uff0c\u53bb\u76f4\u63a5\u5b89\u88c5\u4e00\u4e0b\u5c31\u884c\u3002\u6211\u7684\u914d\u7f6e\u6587\u4ef6 \u662f\/etc\/profile\uff0c\u6839\u636e\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u6253\u5f00\u6dfb\u52a0\u5c31\u884c\uff0c\u5728\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u4e24\u884c\uff0c\u627e\u4e86\u5404\u79cd\u8d44\u6599\uff0cyum\u5b89\u88c5\uff0c\u538b\u7f29\u5305\u5b89\u88c5\uff0cgit\u6e90\u4ee3\u7801\u5b89\u88c5\u7684\u3002\u6211\u5c1d\u8bd5\u4e86yum\u5b89\u88c5\u53cagit\u6e90\u7801\u5b89\u88c5\u3002\u5728\u670d\u52a1\u5668\u7aef\u672a\u5b89\u88c5\u4e4b\u524d\uff0c\u672c\u5730\u8fd0\u884c\u5b8c\u5168\u6ca1\u95ee\u9898\uff0c\u53d1\u5e03\u5230\u670d\u52a1\u5668\u540e\uff0c\u62a5\u4e86\u4e24\u4e2a\u9519\u8bef\u3002_ffmpeg-platform maven\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/17711.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T16:13:11+00:00\" \/>\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\/17711.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/17711.html\",\"name\":\"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T16:13:11+00:00\",\"dateModified\":\"2025-04-18T16:13:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/17711.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/17711.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/17711.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e\"}]},{\"@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":"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e - \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\/17711.html","og_locale":"zh_CN","og_type":"article","og_title":"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e26\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u8fd9\u4e00\u6b65\u5230\u6b64\uff0cjava\u540e\u7aef\u7684\u9879\u76ee\u57fa\u672c\u5c31\u6210\u529f\u4e86\uff0c\u5269\u4e0b\u7684\u662f\u4e0a\u4f20minio\uff0c\u8fd4\u56de\u5730\u5740\uff0c\u8fd9\u4e2a\u8d70\u6b63\u5e38\u7684\u4e0a\u4f20\u5c31\u53ef\u4ee5\uff0c\u5e76\u81ea\u5df1\u7ec4\u88c5\u8fd4\u56de\u6570\u636e\u3002\u5728\u8fd0\u884c.\/configure \u65f6\u53ef\u80fd\u4f1a\u62a5\u9519\uff0c\u5927\u6982\u662f\u4e00\u4e9b\u5176\u4ed6\u5e93\u6ca1\u6709\u5b89\u88c5\uff0c\u6bd4\u5982nasm\uff0cyasm\u7b49\uff0c\u53bb\u76f4\u63a5\u5b89\u88c5\u4e00\u4e0b\u5c31\u884c\u3002\u6211\u7684\u914d\u7f6e\u6587\u4ef6 \u662f\/etc\/profile\uff0c\u6839\u636e\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u6253\u5f00\u6dfb\u52a0\u5c31\u884c\uff0c\u5728\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u4e24\u884c\uff0c\u627e\u4e86\u5404\u79cd\u8d44\u6599\uff0cyum\u5b89\u88c5\uff0c\u538b\u7f29\u5305\u5b89\u88c5\uff0cgit\u6e90\u4ee3\u7801\u5b89\u88c5\u7684\u3002\u6211\u5c1d\u8bd5\u4e86yum\u5b89\u88c5\u53cagit\u6e90\u7801\u5b89\u88c5\u3002\u5728\u670d\u52a1\u5668\u7aef\u672a\u5b89\u88c5\u4e4b\u524d\uff0c\u672c\u5730\u8fd0\u884c\u5b8c\u5168\u6ca1\u95ee\u9898\uff0c\u53d1\u5e03\u5230\u670d\u52a1\u5668\u540e\uff0c\u62a5\u4e86\u4e24\u4e2a\u9519\u8bef\u3002_ffmpeg-platform maven","og_url":"https:\/\/www.wsisp.com\/helps\/17711.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T16:13:11+00:00","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\/17711.html","url":"https:\/\/www.wsisp.com\/helps\/17711.html","name":"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T16:13:11+00:00","dateModified":"2025-04-18T16:13:11+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/17711.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/17711.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/17711.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"java FFmpeg \u4f7f\u7528 \u53ca \u670d\u52a1\u5668CentOS 7 FFmpeg\u5b89\u88c5\u914d\u7f6e"}]},{"@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\/17711","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=17711"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/17711\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=17711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=17711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=17711"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=17711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}