{"id":1887,"date":"2016-11-10T23:27:24","date_gmt":"2016-11-10T15:27:24","guid":{"rendered":"https:\/\/dmesg.app\/?p=1887"},"modified":"2017-09-29T10:09:47","modified_gmt":"2017-09-29T02:09:47","slug":"ffmpeg","status":"publish","type":"post","link":"https:\/\/dmesg.app\/ffmpeg.html","title":{"rendered":"\u81ea\u884c\u7f16\u8bd1ffmpeg\u5e76\u538b\u5236\u5e26\u5b57\u5e55\u7684\u89c6\u9891\u3001\u4e00\u952e\u7f16\u8bd1non-free ffmpeg"},"content":{"rendered":"<div  class=\"sc_act\">\u8fd9\u7bc7\u6587\u7ae0\u5728 2017\u5e7409\u670829\u65e510:09:47 \u66f4\u65b0\u4e86\u54e6~<\/div><p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><div id=\"sc_tips\">\u6709\u70b9\u4e0d\u597d\u610f\u601d\u554a\u6b64\u6587\u65e0\u56fe... <img src=\"https:\/\/dmesg.app\/wp-content\/themes\/WordPressGit-master\/css\/img\/smilies\/icon_eek.gif\" alt=\":shock:\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/> \u8fd8\u6709\u8fd9\u4e2a\u5b57\u4f53\u548b\u6837\u5440 <img src=\"https:\/\/dmesg.app\/wp-content\/themes\/WordPressGit-master\/css\/img\/smilies\/icon_razz.gif\" alt=\":razz:\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/> \u00a0<\/div><\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\"><div id=\"sc_error\">\u4e00\u952e\u7f16\u8bd1\u811a\u672c\u5728<a href=\"https:\/\/dmesg.app\/ffmpeg.html\/3\">\u7b2c\u4e09\u9875<\/a>\uff01<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\"> <\/div><\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u8bdd\u8bf4\u5f88\u4e45\u4e4b\u524d\uff0c\u4eba\u4eba\u5f71\u89c6\u653e\u51fa\u6765\u4e86\u4e00\u4e2a\u538b\u7247\u5de5\u5177\uff0c\u603b\u5171\u6709192M\u7684\u6837\u5b50\uff0c\u800c\u4e14\u53ea\u80fd\u5728Windows\u4e0a\u8fd0\u884c\u3002\u5bf9\u4e8e\u6211\u7b49Linux\u515a\uff0c\u8fd9\u53ef\u600e\u4e48\u884c\u5462\uff1f\u4e8e\u662f\u6211\u5c31\u60f3\u5230\u4e86ffmpeg\u8fd9\u4e2a\u4e07\u80fd\u7684\u795e\u5668\u3002\u5f53\u7136\u4e86ffmpeg\u4f5c\u4e3a\u81ea\u7531\u8f6f\u4ef6\uff0c\u4f60\u4ece\u5305\u7ba1\u7406\u5668\u91cc\u5b89\u88c5\u7684\u3001\u76f4\u63a5configure\u7f16\u8bd1\u7684\uff0c\u662f\u4e0d\u4f1a\u5e26libx264<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u8fd9\u7c7b\u975e\u81ea\u7531\u8f6f\u4ef6\uff0c\u81ea\u7136\u60f3\u8981\u538b\u5236\u5f71\u7247\u5c31\u4e0d\u662f\u90a3\u4e48\u597d\u73a9\u4e86\u2026\u2026<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u90a3\u65e2\u7136\u9171\u7d2b\uff0c\u6211\u4eec\u5c31\u53ea\u597d\u624b\u52a8\u7f16\u8bd1\u4e00\u4e2anon-free\u7684ffmpeg\uff0c\u7136\u540e\u518d\u6765\u4f7f\u7528\u561b\uff01<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><div  class=\"sc_act\">\u8fd9\u79cd\u538b\u7247\u7684\u65b9\u6cd5\u662f\u628a\u5b57\u5e55\u6df7\u5230\u89c6\u9891\u6d41\u4e2d\uff0c\u4e5f\u5c31\u662f\u8bf4\u89c6\u9891\u6700\u7ec8\u662f\u97f3\u9891\u6d41+\u89c6\u9891\u6d41\uff0c\u662f\u6ca1\u6709\u5b57\u5e55\u6d41\u7684\uff0c\u5b57\u5e55\u5df2\u7ecf\u662f\u89c6\u9891\u7684\u4e00\u90e8\u5206\u4e86\u3002\u8fd9\u4e5f\u53ef\u4ee5\u6781\u5927\u7a0b\u5ea6\u4e0a\u7684\u907f\u514d\u76d7\u5b57\u5e55\u7684\u884c\u4e3a\u3002<\/div><\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> \u61d2\u866b\u4eec\uff0c\u5047\u5982\u4f60\u4eec\u771f\u7684\u61d2\u5f97\u770b\u8fd9\u4e48\u957f\u7684\u6587\u7ae0\uff0c\u5e76\u4e14\u4f60\u786e\u5b9a\u4f60\u7684\u53d1\u884c\u7248\u662f\u6bd4\u8f83\u65b0\u7684\u53d1\u884c\u7248\uff0c\u90a3\u4e48\u8bf7\u76f4\u63a5\u7ffb\u5230\u672c\u6587\u6700\u540e\u770b\"\u4e00\u952e\u5f0f\u7f16\u8bd1\u6559\u7a0b\"\u5427\uff01<\/span><\/p>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u51c6\u5907\u7279\u6548\u5b57\u4f53<\/span><\/h2>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u6709\u5f88\u591a\u5b57\u5e55\u90fd\u662f\u7528\u4e86\u81ea\u5b9a\u4e49\u5b57\u4f53\uff0c\u8bf7\u8bb0\u5f97\u7ed9\u4f60\u7684\u53d1\u884c\u7248\u5b89\u88c5\u5bf9\u5e94\u7684\u5b57\u4f53\u5440\uff01\u684c\u9762\u7248\u76f4\u63a5\u53cc\u51fb\u5b89\u88c5\u5373\u53ef\u3002\u5982\u679c\u662f\u670d\u52a1\u5668\u7248\uff0c\u628a\u5b57\u4f53\u590d\u5236\u5230\/usr\/share\/fonts\/truetype\u548c\u539f\u6765\u5b57\u4f53\u4e00\u6837\u7684\u4f4d\u7f6e\uff0c\u6216\u8005\u65b0\u5efa\u4e2awinFonts\u76ee\u5f55\u4fbf\u4e8e\u533a\u5206\u4e5f\u53ef\u4ee5\u3002<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e4b\u540e\u8fd0\u884c<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt install fontconfig\r\nsudo fc-cache \u2013fv\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u8fd0\u884cfc-list\u53ef\u4ee5\u770b\u5230\u5df2\u5b89\u88c5\u5b57\u4f53\u5217\u8868<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u67e5\u770b\u4e2d\u6587\u5b57\u4f53\uff0c\u53ef\u4ee5\u4f7f\u7528<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo fc-list :lang=zh\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5e76\u4e14\u8bf7\u6ce8\u610f\u7f16\u7801\u683c\u5f0f\u7684\u95ee\u9898\uff0cLinux\u4e00\u822c\u4f7f\u7528<strong>UTF-8<\/strong>\u800cWindows\u5219\u662fGB2312<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><!--more--><\/span><\/p>\n<h1><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u7f16\u8bd1\u5b89\u88c5ffmpeg<\/span><\/h1>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u6211\u4f7f\u7528\u7684\u662fUbuntu\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u5c31\u6309\u7167<a href=\"https:\/\/trac.ffmpeg.org\/wiki\/CompilationGuide\/Ubuntu\" target=\"_blank\" rel=\"noopener\">\u5b98\u7f51\u63d0\u4f9b\u7684\u6559\u7a0b\u7f16\u8bd1<\/a>\u5566\uff01<\/span><\/p>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5b89\u88c5\u5fc5\u5907\u4f9d\u8d56<\/span><\/h2>\n<pre class=\"prettyprint linenums\">sudo apt-get update\r\nsudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \\\r\nlibsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \\\r\nlibxcb-xfixes0-dev pkg-config texinfo zlib1g-dev\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><div id=\"sc_tips\"><\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> \u6ce8\u610f\uff0c\u5982\u679c\u662f\u670d\u52a1\u5668\u7248Ubuntu\uff0c\u53ef\u4ee5\u628a\u7b2c\u4e8c\u6b65\u66ff\u6362\u6210\u5982\u4e0b\uff08\u4f60\u88c5\u539f\u6765\u7684\u4e5f\u884c\uff0c\u53cd\u6b63\u662fffplay\u548cX11\u7684\u4f9d\u8d56\u2026\u2026\uff09<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \\\r\nlibtheora-dev libtool libvorbis-dev pkg-config texinfo zlib1g-dev\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><\/div><\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u521b\u5efa\u4e00\u4e2a\u7528\u6765\u4e0b\u8f7d\u6e90\u7801\u7684\u76ee\u5f55<\/span><\/p>\n<pre class=\"prettyprint linenums\">mkdir ~\/ffmpeg_sources\r\n<\/pre>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u7f16\u8bd1\u4e0e\u5b89\u88c5<\/span><\/h2>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">yasm<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u7684\u5305\u7ba1\u7406\u5668\u91cc\u7684yasm\u7248\u672c\u53f7&gt;=1.2.0\uff0c\u90a3\u5c31\u53ef\u4ee5\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\uff08\u4f7f\u7528sudo apt search yasm\u67e5\u770b\u7248\u672c\u53f7\uff0c\u5c31\u60f3\u7f16\u8bd1\u7684\uff0c\u6211\u4e5f\u6ca1\u610f\u89c1\uff09<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install yasm\r\n<\/pre>\n<p><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">\u5426\u5219\u8bf7\u7f16\u8bd1\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">cd ~\/ffmpeg_sources\r\nwget http:\/\/www.tortall.net\/projects\/yasm\/releases\/yasm-1.3.0.tar.gz\r\ntar xzvf yasm-1.3.0.tar.gz\r\ncd yasm-1.3.0\r\n.\/configure --prefix=&quot;$HOME\/ffmpeg_build&quot; --bindir=&quot;$HOME\/bin&quot;\r\nmake\r\nmake install\r\nmake distclean\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">libx264<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u7684\u5305\u7ba1\u7406\u5668\u91cc\u7684libx264\u7248\u672c\u53f7&gt;=0.118\uff0c\u90a3\u5c31\u662f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install libx264-dev\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5426\u5219\u9700\u8981\u7f16\u8bd1\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">cd ~\/ffmpeg_sources\r\nwget http:\/\/download.videolan.org\/pub\/x264\/snapshots\/last_x264.tar.bz2\r\ntar xjvf last_x264.tar.bz2\r\ncd x264-snapshot*\r\nPATH=&quot;$HOME\/bin:$PATH&quot; .\/configure --prefix=&quot;$HOME\/ffmpeg_build&quot; --bindir=&quot;$HOME\/bin&quot; --enable-static --disable-opencl\r\nPATH=&quot;$HOME\/bin:$PATH&quot; make\r\nmake install\r\nmake distclean\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">libx265<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u53ea\u80fd\u9009\u62e9\u7f16\u8bd1\u5b89\u88c5\u5566\u3002<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install cmake mercurial\r\ncd ~\/ffmpeg_sources\r\nhg clone https:\/\/bitbucket.org\/multicoreware\/x265\r\ncd ~\/ffmpeg_sources\/x265\/build\/linux\r\nPATH=&quot;$HOME\/bin:$PATH&quot; cmake -G &quot;Unix Makefiles&quot; -DCMAKE_INSTALL_PREFIX=&quot;$HOME\/ffmpeg_build&quot; -DENABLE_SHARED:bool=off ..\/..\/source\r\nmake\r\nmake install\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">libfdk-aac<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u7684\u5305\u7ba1\u7406\u5668\u4e2d\u6709libfdk-aac-dev\uff0c\u90a3\u5c31\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5\uff08\u6ca1\u6709\u7248\u672c\u9700\u6c42\uff09<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install libfdk-aac-dev\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5426\u5219\u9700\u8981\u7f16\u8bd1\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">cd ~\/ffmpeg_sources\r\nwget -O fdk-aac.tar.gz https:\/\/github.com\/mstorsjo\/fdk-aac\/tarball\/master\r\ntar xzvf fdk-aac.tar.gz\r\ncd mstorsjo-fdk-aac*\r\nautoreconf -fiv\r\n.\/configure --prefix=&quot;$HOME\/ffmpeg_build&quot; --disable-shared\r\nmake\r\nmake install\r\nmake distclean\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">ibmp3lame<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u7684\u5305\u7ba1\u7406\u5668\u4e2d\u6709ibmp3lame\uff0c\u7248\u672c\u53f7&gt;=3.98.3\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install libmp3lame-dev\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5426\u5219\u9700\u8981\u7f16\u8bd1\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install nasm\r\ncd ~\/ffmpeg_sources\r\nwget http:\/\/downloads.sourceforge.net\/project\/lame\/lame\/3.99\/lame-3.99.5.tar.gz\r\ntar xzvf lame-3.99.5.tar.gz\r\ncd lame-3.99.5\r\n.\/configure --prefix=&quot;$HOME\/ffmpeg_build&quot; --enable-nasm --disable-shared\r\nmake\r\nmake install\r\nmake distclean\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">libopus<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u7684\u5305\u7ba1\u7406\u4e2d\u6709libopus\uff0c\u7248\u672c\u53f7&gt;=1.1\uff0c\u90a3\u4f60\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/span><\/p>\n<pre class=\"prettyprint linenums\">sudo apt-get install libopus-dev\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5426\u5219\u9700\u8981\u7f16\u8bd1\u5b89\u88c5\u3002<\/span><\/p>\n<pre class=\"prettyprint linenums\">cd ~\/ffmpeg_sources\r\nwget http:\/\/downloads.xiph.org\/releases\/opus\/opus-1.1.2.tar.gz\r\ntar xzvf opus-1.1.2.tar.gz\r\ncd opus-1.1.2\r\n.\/configure --prefix=&quot;$HOME\/ffmpeg_build&quot; --disable-shared\r\nmake\r\nmake install\r\nmake clean\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">libvpx<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u53ea\u80fd\u7f16\u8bd1\u5b89\u88c5\uff08\u6ce8\u610f\uff0c\u8fd9\u4e2a\u94fe\u63a5\u662f\u5728Google\u7684\u670d\u52a1\u5668\u4e0a\uff0c\u5982\u679c\u670d\u52a1\u5668\u5728\u56fd\u5185\u4e0b\u8f7d\u4e0d\u56de\u6765\uff0c\u5c31\u81ea\u5df1\u7ffb\u5899\u4e0b\u8f7d\u7136\u540e\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u5427\uff09<\/span><\/p>\n<pre class=\"prettyprint linenums\">cd ~\/ffmpeg_sources\r\nwget http:\/\/storage.googleapis.com\/downloads.webmproject.org\/releases\/webm\/libvpx-1.5.0.tar.bz2\r\ntar xjvf libvpx-1.5.0.tar.bz2\r\ncd libvpx-1.5.0\r\nPATH=&quot;$HOME\/bin:$PATH&quot; .\/configure --prefix=&quot;$HOME\/ffmpeg_build&quot; --disable-examples --disable-unit-tests\r\nPATH=&quot;$HOME\/bin:$PATH&quot; make\r\nmake install\r\nmake clean\r\n<\/pre>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u7f16\u8bd1ffmpeg<\/span><\/h2>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u8017\u65f6\u53ef\u80fd\u4f1a\u6bd4\u8f83\u957f<\/span><\/p>\n<pre class=\"prettyprint linenums\">cd ~\/ffmpeg_sources\r\nwget http:\/\/ffmpeg.org\/releases\/ffmpeg-snapshot.tar.bz2\r\ntar xjvf ffmpeg-snapshot.tar.bz2\r\ncd ffmpeg\r\nPATH=&quot;$HOME\/bin:$PATH&quot; PKG_CONFIG_PATH=&quot;$HOME\/ffmpeg_build\/lib\/pkgconfig&quot; .\/configure \\\r\n--prefix=&quot;$HOME\/ffmpeg_build&quot; \\\r\n--pkg-config-flags=&quot;--static&quot; \\\r\n--extra-cflags=&quot;-I$HOME\/ffmpeg_build\/include&quot; \\\r\n--extra-ldflags=&quot;-L$HOME\/ffmpeg_build\/lib&quot; \\\r\n--bindir=&quot;$HOME\/bin&quot; \\\r\n--enable-gpl \\\r\n--enable-libass \\\r\n--enable-libfdk-aac \\\r\n--enable-libfreetype \\\r\n--enable-libmp3lame \\\r\n--enable-libopus \\\r\n--enable-libtheora \\\r\n--enable-libvorbis \\\r\n--enable-libvpx \\\r\n--enable-libx264 \\\r\n--enable-libx265 \\\r\n--enable-nonfree\r\nPATH=&quot;$HOME\/bin:$PATH&quot; make\r\nmake install\r\nmake distclean\r\nhash \u2013r\r\n<\/pre>\n<p><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\"><div id=\"sc_blue\">\u6ce8\u610f\uff1a<\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">1.\u5982\u679c\u4f60\u76f4\u63a5\u8fd0\u884cconfigure\uff0c\u5c06\u4f1a\u662f\u6ca1\u6709non-free\u8f6f\u4ef6\u7684ffmpeg\uff1b\u5b98\u65b9\u7684configure\u914d\u7f6e\u4f1a\u5728~\u4e0b\u751f\u6210\u4e00\u4e2abin\uff08\u7f16\u8bd1\u4e4b\u540e\u5b89\u88c5\u5c31\u4f1a\u5728~\/bin\u4e0b\uff09\u3001ffmpeg_build\u76ee\u5f55\uff1b\u5982\u679c\u4e0d\u559c\u6b22\uff0c\u90a3\u5c31\u7167\u732b\u753b\u864e\u7684\u6539\u6389$HOME\uff08\u8bb0\u5f97\u90fd\u8981\u6539\u54e6\uff09\uff0cmake install\u7684\u65f6\u5019\u5c31\u5230\/bin\u5566\uff01<\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">2.\u5728Ubuntu\u4e2d\uff0c~\/bin\u9ed8\u8ba4\u662f\u88ab\u5305\u542b\u5230PATH\u4e2d\u7684\uff0c\u6240\u4ee5\u5f53\u4f60\u6ce8\u9500-\u767b\u5f55\u6216\u8005<\/span><\/p>\n<pre class=\"prettyprint linenums\">source ~\/.profile\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e4b\u540e\u53ef\u4ee5\u4ece\u4efb\u4f55\u76ee\u5f55\u8fd0\u884c~\/bin\u4e2d\u7684\u7a0b\u5e8f\u7684\u3002\u518d\u4e0d\u6d4e\uff0c\u54b1\u628a~\/bin\u91cc\u7684\u62f7\u8d1d\u5230\/bin\u91cc\u603b\u53ef\u4ee5\u5427\uff1f<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">3.\u5982\u679c\u9700\u8981\u5b89\u88c5man page\uff0c\u8bf7\u8fd0\u884c<\/span><\/p>\n<pre class=\"prettyprint linenums\">echo &quot;MANPATH_MAP $HOME\/bin $HOME\/ffmpeg_build\/share\/man&quot; &gt;&gt; ~\/.manpath\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><\/div><\/span><\/p>\n<hr \/>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u6211\u5047\u8bbe\u4f60\u5df2\u7ecf\u7f16\u8bd1\u597d\u4e86ffmpeg\uff0c\u5e76\u4e14\u51c6\u5907\u597d\u4e86\u4f60\u7684\u89c6\u9891\u548c\u5b57\u5e55\u3002<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u524d\u9762\u63d0\u8fc7\u4e86\uff0c\u5982\u679c\u4f60\u7684\u5b57\u5e55\u4e2d\u4f7f\u7528\u4e86\u81ea\u5b9a\u4e49\u5b57\u4f53\uff0c\u8bf7\u8bb0\u5f97\u540c\u65f6\u5b89\u88c5\u5bf9\u5e94\u7684\u5b57\u4f53\uff01<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5e76\u4e14\uff0c\u8bf7\u6ce8\u610f<strong>\u5b57\u5e55\u6587\u4ef6\u7684\u7f16\u7801\u683c\u5f0f<\/strong>\uff0cLinux\u901a\u5e38\u4f1a\u4f7f\u7528UTF-8\u65e0BOM\uff0c\u800cWindows\u5219\u662fGB2312\u8fd9\u7c7b\u3002\u4e3a\u4e86\u907f\u514d\u51fa\u4e71\u7801\uff0c\u8fd8\u662f\u8001\u8001\u5b9e\u5b9e\u8f6c\u6362\u6210UTF-8\u5427\uff01<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e0b\u4e00\u9875\u6211\u4f1a\u4ecb\u7ecd\u4e00\u4e9b\u538b\u7247\u7684\u65b9\u6cd5\uff0c\u5173\u4e8effmpeg\u7684\u66f4\u591a\u65b9\u6cd5\uff0c\u5927\u5bb6\u4f19\u5c31\u81ea\u5df1\u641c\u7d22\u3001\u770b\u5b98\u65b9\u7684\u6587\u6863\u3001man page\u5566\uff01<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u6ce8\u610f\uff0c\u538b\u5236\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0\u8fd9\u6837\u7684\u8b66\u544a<\/span><\/p>\n<pre class=\"prettyprint linenums\">Glyph 0x36C not found, selecting one more font for (YouYuan, 700, 0)\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e0d\u8981\u7ba1\u4ed6\u5566\u2026\u2026\u53ea\u8981\u662fUTF-8\u7f16\u7801\u7684\uff0c\u4f1a\u538b\u51fa\u6765\u7684\uff01<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> \u8be5\u770b\u4e0b\u4e00\u9875\u5566~~<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> <!--nextpage--><\/span><\/p>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e0d\u6539\u53d8\u89c6\u9891\u3001\u97f3\u9891\u7f16\u7801\u683c\u5f0f\u53ca\u53c2\u6570\uff0c\u5c06\u5b57\u5e55\u538b\u5236<\/span><\/h2>\n<pre class=\"prettyprint linenums\">ffmpeg \u2013i Lantern.mp4-vf &quot;ass=Lantern.ass&quot; out.mp4\r\n<\/pre>\n<h2><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">\u4f7f\u7528H264\uff08AVC\uff09\u91cd\u65b0\u7f16\u7801\u89c6\u9891\u3001\u4e0d\u6539\u53d8\u5176\u4ed6\u53c2\u6570\uff0c\u4e0d\u6539\u53d8\u97f3\u9891\u7f16\u7801\u683c\u5f0f<\/span><\/h2>\n<pre class=\"prettyprint linenums\">ffmpeg -i Lantern.mp4 -vcodec libx264 -preset fast -crf 20 -vf &quot;ass=Lantern.ass&quot; out.mp4\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5173\u4e8epreset\u53c2\u6570\uff1a<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u9884\u8bbe\u662f\u4e00\u7cfb\u5217\u53c2\u6570\u7684\u96c6\u5408\uff0c\u8fd9\u4e2a\u96c6\u5408\u80fd\u591f\u5728\u7f16\u7801\u901f\u5ea6\u548c\u538b\u7f29\u7387\u4e4b\u95f4\u505a\u51fa\u4e00\u4e2a\u6743\u8861\u3002\u4e00\u4e2a\u7f16\u7801\u901f\u5ea6\u7a0d\u6162\u7684\u9884\u8bbe\u4f1a\u63d0\u4f9b\u66f4\u9ad8\u7684\u538b\u7f29\u6548\u7387\uff08\u538b\u7f29\u6548\u7387\u662f\u4ee5\u6587\u4ef6\u5927\u5c0f\u6765\u8861\u91cf\u7684)\u3002\u8fd9\u5c31\u662f\u8bf4\uff0c\u5047\u5982\u4f60\u60f3\u5f97\u5230\u4e00\u4e2a\u6307\u5b9a\u5927\u5c0f\u7684\u6587\u4ef6\u6216\u8005\u91c7\u7528\u6052\u5b9a\u6bd4\u7279\u7387\u7f16\u7801\u6a21\u5f0f\uff0c\u4f60\u53ef\u4ee5\u91c7\u7528\u4e00\u4e2a\u8f83\u6162\u7684\u9884\u8bbe\u6765\u83b7\u5f97\u66f4\u597d\u7684\u8d28\u91cf\u3002\u540c\u6837\u7684\uff0c\u5bf9\u4e8e\u6052\u5b9a\u8d28\u91cf\u7f16\u7801\u6a21\u5f0f\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9\u4e00\u4e2a\u8f83\u6162\u7684\u9884\u8bbe\u8f7b\u677e\u5730\u8282\u7701\u6bd4\u7279\u7387\u3002<\/span><\/p>\n<div class=\"alert alert-info\"><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u5f88\u6709\u8010\u5fc3\uff0c\u901a\u5e38\u7684\u5efa\u8bae\u662f\u4f7f\u7528\u6700\u6162\u7684\u9884\u8bbe\u3002\u76ee\u524d\u6240\u6709\u7684\u9884\u8bbe\u6309\u7167\u7f16\u7801\u901f\u5ea6\u964d\u5e8f\u6392\u5217\u4e3a\uff1a<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo\u9ed8\u8ba4\u4e3amedium<\/span><\/div>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"><div id=\"sc_blue\">\u5982\u679c\u4f60\u8499\u5708\u4e86\uff0c\u90a3\u5c31\u8fd9\u4e48\u8bf4\u7684\uff0cultrafast\u5904\u7406\u7684\u6700\u5feb\uff0c\u4f46\u662f\u6587\u4ef6\u5927\uff1bplacebo\u5904\u7406\u7684\u6162\uff0c\u4f46\u662f\u6587\u4ef6\u5c0f\uff1b\u5efa\u8baemedium\u6216\u8005fast\u5c31\u53ef\u4ee5\u4e86\u2026\u2026\u6709\u8010\u5fc3\u7684\u8bdd\uff0cveryslow\u4e5f\u591f\u4e86\u3002<\/div><\/span><\/p>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">crf(Constant Rate Factor)<\/span><\/h3>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u8be5\u65b9\u6cd5\u5728\u8f93\u51fa\u6587\u4ef6\u7684\u5927\u5c0f\u4e0d\u592a\u91cd\u8981\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u4f7f\u6574\u4e2a\u6587\u4ef6\u8fbe\u5230\u7279\u5b9a\u7684\u89c6\u9891\u8d28\u91cf\u3002\u8be5\u7f16\u7801\u6a21\u5f0f\u5728\u5355\u904d\u7f16\u7801\u6a21\u5f0f\u4e0b\u63d0\u4f9b\u4e86\u6700\u5927\u7684\u538b\u7f29\u6548\u7387\uff0c\u6bcf\u4e00\u5e27\u53ef\u4ee5\u6309\u7167\u8981\u6c42\u7684\u89c6\u9891\u8d28\u91cf\u53bb\u83b7\u53d6\u5b83\u9700\u8981\u7684\u6bd4\u7279\u6570\u3002\u4e0d\u597d\u7684\u4e00\u9762\u662f\uff0c\u4f60\u4e0d\u80fd\u83b7\u53d6\u4e00\u4e2a\u7279\u5b9a\u5927\u5c0f\u7684\u89c6\u9891\u6587\u4ef6\uff0c\u6216\u8005\u8bf4\u5c06\u8f93\u51fa\u4f4d\u7387\u63a7\u5236\u5728\u7279\u5b9a\u7684\u5927\u5c0f\u4e0a\u3002<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">crf\u7684\u53c2\u6570\u503c\u4e2d\uff0c\u5176\u4e2d0\u4e3a\u65e0\u635f\u6a21\u5f0f\uff0c23\u4e3a\u7f3a\u7701\u503c\uff0c51\u53ef\u80fd\u662f\u6700\u5dee\u7684\u3002\u8be5\u6570\u5b57\u8d8a\u5c0f\uff0c\u56fe\u50cf\u8d28\u91cf\u8d8a\u597d\u3002\u4ece\u4e3b\u89c2\u4e0a\u8bb2\uff0c18~28\u662f\u4e00\u4e2a\u5408\u7406\u7684\u8303\u56f4\u300218\u5f80\u5f80\u88ab\u8ba4\u4e3a\u4ece\u89c6\u89c9\u4e0a\u770b\u662f\u65e0\u635f\u7684\uff0c\u5b83\u7684\u8f93\u51fa\u89c6\u9891\u8d28\u91cf\u548c\u8f93\u5165\u89c6\u9891\u4e00\u6a21\u4e00\u6837\u6216\u8005\u8bf4\u76f8\u5dee\u65e0\u51e0\u3002\u4f46\u4ece\u6280\u672f\u7684\u89d2\u5ea6\u6765\u8bb2\uff0c\u5b83\u4f9d\u7136\u662f\u6709\u635f\u538b\u7f29\u3002<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> <div id=\"sc_blue\">\u6211\u89c9\u5f97\u9009\u62e920\u5c31\u5dee\u4e0d\u591a\u5566~~<\/div><\/span><\/p>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4ee5H.264\u3001Lame\u81ea\u5b9a\u4e49\u53c2\u6570\u91cd\u65b0\u7f16\u7801\u3001\u538b\u5236<\/span><\/h3>\n<pre class=\"prettyprint linenums\">ffmpeg -i Lantern.mp4 -vcodec libx264 -preset fast -crf 20 -vf &quot;ass=Lantern.ass&quot; -acodec libmp3lame -ab 128k lame.mp4\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u60f3\u538b\u5236AAC\u7684\u97f3\u9891\uff0c\u5c31\u5728\u6700\u540e\u628aacodec libmp3lame\u6539\u6210acodec aac<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5176\u4e2d-ab 128k\u6307\u7684\u662f\u5e73\u5747\u7801\u7387\u4e3a128k<\/span><\/p>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4ee5H.264\u81ea\u5b9a\u4e49\u5206\u8fa8\u7387\u3001AAC\u81ea\u5b9a\u4e49\u53c2\u6570\u7f29\u653e\u538b\u5236\u89c6\u9891<\/span><\/h2>\n<pre class=\"prettyprint linenums\">ffmpeg -i Lantern.mp4 -vcodec libx264 -preset fast -crf 20 -vf &quot;ass=Lantern.ass,scale=800:-1&quot; -acodec aac -ab 128k aac.mp4\r\n<\/pre>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5176\u4e2d\u7684scale=800:-1\u6307\u7684\u662f\u8f93\u51fa800:\u5bf9\u5e94\u6bd4\u4f8b\u7684\u89c6\u9891\u3002\u5047\u5982\u4f60\u8981\u538b\u5236720P\u7684\uff0c\u90a3\u5c31\u628a800\u6539\u62101280\uff1b\u5047\u5982\u4f60\u89811080\u7684\uff0c\u90a3\u5c31\u6539\u62101920\u3002\u901a\u5e38\u6765\u8bf4\uff0c\u5206\u8fa8\u7387\u9ad8\u7684\u538b\u5206\u8fa8\u7387\u4f4e\u7684\u597d\u529e\uff0c\u4f4e\u7684\u538b\u9ad8\u7684\u5c31\u9ebb\u70e6\u4e86\u2026\u2026<\/span><\/p>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e24\u904d\u6a21\u5f0f<\/span><\/h2>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u5982\u679c\u4f60\u7684\u76ee\u6807\u662f\u4e00\u4e2a\u786e\u5b9a\u5927\u5c0f\u7684\u6587\u4ef6\u800c\u4e14\u5e27\u4e0e\u5e27\u4e4b\u95f4\u7684\u89c6\u9891\u8d28\u91cf\u5e76\u4e0d\u91cd\u8981\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u5f88\u9002\u7528\u3002\u8fd9\u901a\u8fc7\u4e00\u4e2a\u4f8b\u5b50\u53ef\u4ee5\u5f97\u5230\u5f88\u597d\u5730\u89e3\u91ca\u3002\u4f60\u7684\u89c6\u9891\u670910\u5206\u949f\uff08600\u79d2\uff09\u7684\u65f6\u957f\u540c\u65f6\u8981\u6c42\u8f93\u51fa\u4e3a50MB\uff0c\u56e0\u4e3a\u6bd4\u7279\u7387=\u6587\u4ef6\u5927\u5c0f\/\u65f6\u957f\uff0c<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">50MB*8192\uff08MB\u8f6ckilobits)\/600\u79d2=683 kbps\uff08\u5168\u5c40\u6bd4\u7279\u7387\uff09<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">683kbps-128kbps(\u97f3\u9891\u6bd4\u7279\u7387\uff09=555kbps\uff08\u89c6\u9891\u6bd4\u7279\u7387\uff09,<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e24\u904d\u7f16\u7801\u7684\u4f8b\u5b50\uff1a<\/span><\/p>\n<pre class=\"prettyprint linenums\">ffmpeg -y -i input -c:v libx264 -preset medium -b:v 555k -pass 1 -an -f mp4 \/dev\/null &amp;&amp;\r\nffmpeg -i input -c:v libx264 -preset medium -b:v 555k -pass 2 -c:a libfdkaac -b:a 128k mp4 output.mp4<\/pre>\n<h2>\u5206\u5272\u89c6\u9891\uff08\u62f7\u8d1d\u89c6\u9891\u548c\u97f3\u9891\u6d41\uff0c\u901f\u5ea6\u6bd4\u8f83\u5feb\uff09<\/h2>\n<pre class=\"prettyprint\" ><code>ffmpeg -ss 01:00:00 -i input_file_h264.mp4 -vcodec copy -acodec copy -t 00:06:00 output_file.mp4<\/code><\/pre>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u603b\u7ed3<\/span><\/h2>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u6211\u8fd9\u4e0a\u9762\u8fd9\u51e0\u4e2a\u5c0f\u6807\u9898\u5199\u7684\u4e71\u4e71\u7cdf\u7cdf\u7684\uff0c\u5728\u8fd9\u91cc\u7edf\u4e00\u505a\u4e00\u4e2a\u603b\u7ed3\u5427\uff1a<\/span><\/p>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u9700\u8981\u539f\u5c01\u4e0d\u52a8\u7684\u628a\u5b57\u5e55\u538b\u8fdb\u53bb<\/span><\/h3>\n<pre class=\"prettyprint linenums\">ffmpeg \u2013i Lantern.mp4-vf &quot;ass=Lantern.ass&quot; out.mp4\r\n<\/pre>\n<h3><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">\u9700\u8981\u5feb\u901f\u7684\u538b\u5236\u8d28\u91cf\u8f83\u597d\u7684H264\u89c6\u9891<\/span><\/h3>\n<pre class=\"prettyprint linenums\">ffmpeg -i Lantern.mp4 -vcodec libx264 -preset fast -crf 20 -vf &quot;ass=Lantern.ass&quot; out.mp4\r\n<\/pre>\n<h3><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">\u9700\u8981\u5feb\u901f\u538b\u5236\u8d28\u91cf\u8f83\u597d\u7684H264\u3001720P\u89c6\u9891<\/span><\/h3>\n<pre class=\"prettyprint linenums\">ffmpeg -i Lantern.mp4 -vcodec libx264 -preset fast -crf 23 -vf &quot;ass=Lantern.ass,scale=1280:-1&quot; out.mp4\r\n<\/pre>\n<h3><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u9700\u8981\u538b\u5236\u8d85\u9ad8\u8d28\u91cf\u7684\u3001\u7f13\u6162\u7684\u538b\u5236H264\u89c6\u9891<\/span><\/h3>\n<pre class=\"prettyprint linenums\">ffmpeg -i Lantern.mp4 -vcodec libx264 -preset veryslow -crf 18 -vf &quot;ass=Lantern.ass&quot; out.mp4\r\n<\/pre>\n<div class=\"alert alert-success\"><span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\">\u8fd9\u4e2a\u2026\u2026crf\u7684\u8d28\u91cf\u5927\u5bb6\u81ea\u5df1\u6382\u91cf\u7740\u529e\uff010\u6700\u597d\uff0c53\u6700\u5dee\uff0c\u9ed8\u8ba423\uff0c\u5408\u7406\u8303\u56f418~28<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\"> preset\u4e5f\u770b\u7740\u529e<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\"> ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo<\/span><br \/>\n<span style=\"font-size: 12pt; font-family: terminal, monaco, monospace;\"> \u8d8a\u6162\uff0c\u538b\u7f29\u7387\u8d8a\u9ad8\u3002<\/span><\/div>\n<h2><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u540e\u8bb0<\/span><\/h2>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u89c6\u9891\u7f16\u7801\u8fd9\u662f\u4e2a\u957f\u4e45\u7684\u6280\u672f\u6d3b\u554a\uff0c\u800c\u4e14\u9700\u8981\u5f88\u591a\u7684\u7ecf\u9a8c\uff01\u81ea\u5df1\u591a\u7f16\u7801\u591a\u73a9\u73a9\uff0c\u81ea\u7136\u5c31\u6709\u61c2\u5566\uff01<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u4e0b\u4e00\u9875\u662f\u7ed9\u61d2\u866b\u4eec\u7559\u7740\u7684\u54e6~~<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> <!--nextpage--><\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> \u9644\u5f55<\/span><\/p>\n<p><span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\">\u7ed9\u61d2\u866b\u4eec\u7684\u4e00\u952e\u5f0f\u7f16\u8bd1\u811a\u672c\u3002\u6211\u4e0d\u592a\u4f1a\u5199\u811a\u672c\uff0c\u6240\u4ee5\u8fd9\u4e2a\u8fd8\u662f\u6709\u5f88\u5927\u6539\u5584\u7a7a\u95f4\u7684....\u76ee\u524d\u53ea\u652f\u6301Debian\u7cfb<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> \u4f7f\u7528\u65b9\u6cd5\uff1a<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> git clone\u4ed3\u5e93\uff0c\u7ed9\u4e24\u4e2a\u6587\u4ef6\u90fd\u52a0x\u6743\u9650\uff0croot\u8eab\u4efd\u8fd0\u884conekey-ffmpeg.sh\u5373\u53ef\u3002<\/span><br \/>\n<span style=\"font-family: terminal, monaco, monospace; font-size: 12pt;\"> <a class=\"dl\" href=\"https:\/\/github.com\/BennyThink\/onekey-compile-ffmpeg\" target=\"_blank\" rel=\"nofollow\"><i class=\"fa fa-github-alt\"><\/i>\u5f00\u6e90\u5730\u5740\u6233\u6211<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u5728 2017\u5e7409\u670829\u65e510:09:47 \u66f4\u65b0\u4e86\u54e6~ \u8bdd\u8bf4\u5f88\u4e45\u4e4b\u524d\uff0c\u4eba\u4eba\u5f71\u89c6\u653e\u51fa\u6765\u4e86\u4e00\u4e2a\u538b\u7247\u5de5\u5177\uff0c\u603b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-1887","post","type-post","status-publish","format-standard","hentry","category-it","category-linux"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/comments?post=1887"}],"version-history":[{"count":0,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts\/1887\/revisions"}],"wp:attachment":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/media?parent=1887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/categories?post=1887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/tags?post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}