{"id":205,"date":"2015-08-27T16:49:53","date_gmt":"2015-08-27T08:49:53","guid":{"rendered":"https:\/\/drho.club\/?p=205"},"modified":"2015-08-27T16:49:53","modified_gmt":"2015-08-27T08:49:53","slug":"centos-7-mp4box-installation","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2015\/08\/27\/centos-7-mp4box-installation\/","title":{"rendered":"\u5728CentOS 7\u5b89\u88ddMP4Box"},"content":{"rendered":"<p>\u5c0d\u65bc\u521d\u5b78\u8005\u4f86\u8aaa\uff0cMP4Box\u7684\u5b89\u88dd\u65b9\u5f0f\u96e3\u5ea6\u61c9\u8a72\u7b97\u662f\u6bd4\u8f03\u9ad8\u7684\uff0c\u56e0\u70ba\u76ee\u524d\u9084\u627e\u4e0d\u5230yum\u81ea\u52d5\u5b89\u88dd\u7684\u65b9\u5f0f\uff0c\u597d\u50cf\u662f\u53ea\u80fd\u4f7f\u7528\u539f\u59cb\u6a94\u7684\u65b9\u5f0f\u4f86\u81ea\u884c\u7de8\u8b6f\u5b89\u88dd\uff0c\u800c\u4e14\u52d5\u4f5c\u9084\u4e0d\u5c11\u3002\u6b64\u5916\uff0c\u7db2\u8def\u4e0a\u6709\u4e9b\u6587\u7ae0\u7684wget\u6307\u4ee4\u6240\u6307\u7684\u7db2\u5740\u96a8\u8457\u6642\u5149\u7684\u63a8\u79fb\u65e9\u5df2\u5931\u6548\uff0c\u53ea\u80fd\u76f4\u63a5\u5230\u627e\u539f\u59cb\u7684\u5c08\u6848\u7db2\u5740\uff0c\u76f4\u63a5\u628a\u5b83checkout\u51fa\u4f86\u624d\u884c\u3002\u9019\u500b\u5c08\u6848\u7684\u7db2\u5740\u662f\uff1a<a href=\"http:\/\/sourceforge.net\/p\/gpac\/code\/HEAD\/tree\/\" target=\"_blank\" rel=\"noopener\">http:\/\/sourceforge.net\/p\/gpac\/code\/HEAD\/tree\/<\/a>\uff0c\u5728\u9019\u500b\u7db2\u7ad9\u4e2d\u53ef\u4ee5\u627e\u5230checkout\u51fa\u4f86\u7684\u65b9\u5f0f\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>[code]<br \/>\n$ cd ~<br \/>\n$ sudo svn checkout svn:\/\/svn.code.sf.net\/p\/gpac\/code\/trunk gpac-code<br \/>\n[\/code]<\/p>\n<p>\u4e0b\u8f09\u4e0b\u4f86\u7684\u6a94\u6848\u6703\u653e\u5728gpac-code\u4e0b\uff0c\u6709\u4e09\u500b\u5b50\u76ee\u9304\uff0c\u5206\u5225\u662fgpac, gpac_extra_libs, gpac_www\uff0c\u6211\u5011\u8981\u5148\u5230gpac_extra_libs\u4e2d\uff0c\u628a\u6240\u6709\u7684\u6a94\u6848\u8907\u88fd\u5230gpac\u4e2d\uff0c\u6307\u4ee4\u5982\u4e0b\uff1a<\/p>\n<p>[code]<br \/>\n$ cd ~\/gpac_code\/gpac_extra_libs<br \/>\n$ sudo cp -prf * ..\/gpac\/extra_lib\/<br \/>\n[\/code]<\/p>\n<p>\u7136\u5f8c\u5207\u63db\u5230gpac-code\/gpac\u7684\u76ee\u9304\u4e2d\uff0c\u57f7\u884c\u76f8\u95dc\u6307\u4ee4\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>[code]<br \/>\n$ sudo yum -y groupinstall &quot;Development Tools&quot;<br \/>\n$ sudo yum -y install zlib-devel<br \/>\n$ cd ~\/gpac-code\/gpac<br \/>\n$ sudo chmod 755 configure<br \/>\n$ sudo .\/configure<br \/>\n$ make lib<br \/>\n$ make apps<br \/>\n$ sudo make install lib<br \/>\n$ sudo make install<br \/>\n$ sudo cp -prf bin\/gcc\/libgpac.so* \/usr\/lib64<br \/>\n$ sudo ldconfig<br \/>\n[\/code]<\/p>\n<p>\u9019\u6642\u5019\u57f7\u884cwhich MP4Box\uff0c\u61c9\u8a72\u5c31\u53ef\u4ee5\u770b\u5230MP4Box\u6240\u5728\u7684\u4f4d\u7f6e\u4e86\u3002\u5982\u679c\u5728\u5b89\u88dd\u6642\u767c\u73feClipBucket\u7cfb\u7d71\u7a0b\u5f0f\u627e\u4e0d\u5230MP4Box\uff0c\u90a3\u9ebc\u5c31\u628a\/usr\/local\/bin\/MP4Box\u8907\u88fd\u4e00\u4efd\u5230\/usr\/bin\u4e4b\u4e0b\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c0d\u65bc\u521d\u5b78\u8005\u4f86\u8aaa\uff0cMP4Box\u7684\u5b89\u88dd\u65b9\u5f0f\u96e3\u5ea6\u61c9\u8a72\u7b97\u662f\u6bd4\u8f03\u9ad8\u7684\uff0c\u56e0\u70ba\u76ee\u524d\u9084\u627e\u4e0d\u5230yum\u81ea\u52d5\u5b89\u88dd\u7684\u65b9\u5f0f\uff0c\u597d\u50cf\u662f\u53ea\u80fd\u4f7f\u7528\u539f\u59cb\u6a94\u7684\u65b9\u5f0f\u4f86\u81ea\u884c\u7de8\u8b6f\u5b89\u88dd\uff0c\u800c\u4e14\u52d5\u4f5c\u9084\u4e0d\u5c11\u3002\u6b64\u5916\uff0c\u7db2\u8def\u4e0a\u6709\u4e9b\u6587\u7ae0\u7684wget\u6307\u4ee4\u6240\u6307\u7684\u7db2\u5740\u96a8\u8457\u6642\u5149\u7684\u63a8\u79fb\u65e9\u5df2\u5931\u6548\uff0c\u53ea\u80fd\u76f4\u63a5\u5230\u627e\u539f\u59cb\u7684\u5c08\u6848\u7db2\u5740\uff0c\u76f4\u63a5\u628a\u5b83checkout\u51fa\u4f86\u624d\u884c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[95,98],"tags":[114,119,121,148],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-clipbucket","category-linux","tag-centos","tag-centos7","tag-clipbucket","tag-mp4box"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/205\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}