{"id":5217,"date":"2014-03-30T19:49:02","date_gmt":"2014-03-30T19:49:02","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/install-ffmpeg-on-rhel-centos-collection-of-common-programming-errors\/"},"modified":"2014-03-30T19:49:02","modified_gmt":"2014-03-30T19:49:02","slug":"install-ffmpeg-on-rhel-centos-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/install-ffmpeg-on-rhel-centos-collection-of-common-programming-errors\/","title":{"rendered":"Install FFMPEG on RHEL\/CentOS-Collection of common programming errors"},"content":{"rendered":"<p>You can install it from source:<\/p>\n<pre><code>svn checkout svn:\/\/svn.ffmpeg.org\/ffmpeg\/trunk ffmpeg\ncd ffmpeg\n.\/configure\nmake\n<\/code><\/pre>\n<p>Then as root:<\/p>\n<pre><code>make install\n<\/code><\/pre>\n<p>Check the dependency list of ffmpeg, <em>before<\/em> you carry out the above steps. Make sure you have all the necessary packages. Alternatively, the dependencies can also be installed from source. For example, to compile faac and faad, download and extract faac and faad from audiocoding.com.<\/p>\n<p>As above, run<\/p>\n<pre><code>.\/configure\nmake\nsu -c 'make install'\n<\/code><\/pre>\n<p>Install LAME if you want mp3 support.<\/p>\n<p>Download codecs:<\/p>\n<pre><code>git clone git:\/\/git.videolan.org\/x264.git\ncd x264\n.\/configure\nmake\n<\/code><\/pre>\n<p>when &#8220;configuring ffmpeg&#8221;, instead of just typing &#8220;.\/configure&#8221;, you can specify which modules you want to enable as follows:<\/p>\n<p>.\/configure &#8211;enable-gpl &#8211;enable-nonfree &#8211;enable-pthreads &#8211;enable-libx264 &#8211;enable-libfaac &#8211;enable-libfaad &#8211;enable-libmp3lame make<\/p>\n<p>Hope this helps.<\/p>\n<pre><code>su -c 'make install'\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You can install it from source: svn checkout svn:\/\/svn.ffmpeg.org\/ffmpeg\/trunk ffmpeg cd ffmpeg .\/configure make Then as root: make install Check the dependency list of ffmpeg, before you carry out the above steps. Make sure you have all the necessary packages. Alternatively, the dependencies can also be installed from source. For example, to compile faac and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5217","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5217"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5217\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}