{"id":321,"date":"2010-06-23T02:24:09","date_gmt":"2010-06-23T08:24:09","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=321"},"modified":"2018-10-04T06:46:40","modified_gmt":"2018-10-04T12:46:40","slug":"ffmpeg-installation-latest","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/ffmpeg-installation-latest\/","title":{"rendered":"FFMPEG installation Latest"},"content":{"rendered":"<p>This is the latest steps for installing ffmpeg<br \/>\nwget http:\/\/mirror.ffmpeginstaller.com\/old\/scripts\/ffmpeg5\/ffmpeginstaller.5.1.tar.gz<br \/>\ntar zxf ffmpeginstaller.5.1.tar.gz<br \/>\ncd ffmpeginstaller.5.1<br \/>\n.\/install.sh<\/p>\n<p>###Error 1: installation of mplayer failed..cause cannot stat the conf file.<br \/>\nrun the steps below<br \/>\ncd \/usr\/local\/cpffmpeg<br \/>\nmkdir -p etc\/mplayer<br \/>\ncd \/usr\/src\/ffmpegscript\/mplayer<\/p>\n<p><!--more--><\/p>\n<p>cp -f etc\/codecs.conf \/usr\/local\/cpffmpeg\/etc\/mplayer\/codecs.conf<br \/>\nln -sf \/usr\/local\/cpffmpeg\/bin\/mplayer \/usr\/local\/bin\/mplayer<br \/>\nln -sf \/usr\/local\/cpffmpeg\/bin\/mplayer \/usr\/bin\/mplayer<br \/>\nln -sf \/usr\/local\/cpffmpeg\/bin\/mencoder \/usr\/bin\/mencoder<br \/>\nln -sf \/usr\/local\/cpffmpeg\/bin\/mencoder \/usr\/local\/bin\/mencoder<br \/>\ncd back to ffmpeg installer directory<br \/>\n####<br \/>\n.\/ffmpeg.sh<br \/>\nyou will encounter the error below<br \/>\ncp: cannot stat `tools\/qt-faststart&#8217;: No such file or directory<br \/>\n.\/ffmpeg.sh: line 55: \/usr\/bin\/ffmpeg: No such file or directory<br \/>\non scrolling to the top you can see the exact cause<br \/>\n&#8220;Checked out revision 23591.<br \/>\nERROR: libx264 version must be &gt;= 0.98.&#8221;<br \/>\nso we need to remove the current x264 and install the latest<br \/>\ncd \/usr\/src\/ffmpegscript\/<br \/>\ngit clone git:\/\/git.videolan.org\/x264.git<br \/>\ncd x264<br \/>\nexport cpu=`cat &#8220;\/proc\/cpuinfo&#8221; | grep &#8220;processor&#8221;|wc -l`<br \/>\nexport TMPDIR=$HOME\/tmp<br \/>\nldconfig<br \/>\n.\/configure &#8211;prefix=\/usr\/local\/cpffmpeg &#8211;enable-shared &#8211;disable-asm<br \/>\nmake -j$cpu<br \/>\nmake install<br \/>\ncd back to ffmpeg installer directory<br \/>\n.\/ffmpeg.sh<br \/>\nffmpeg should be installed with this command<br \/>\n## REBUILD MPLAYER ##<br \/>\n.\/mplayer.sh<br \/>\n.\/mp4box<br \/>\n###FFMpEG PHP INSTALLATION<br \/>\ncd \/usr\/src\/ffmpeginstaller<br \/>\nwget http:\/\/downloads.sourceforge.net\/project\/ffmpeg-php\/ffmpeg-php\/0.6.0\/ffmpeg-php-0.6.0.tbz2?use_mirror=space<br \/>\ntar jxf ffmpeg-php-0.6.0.tbz2<br \/>\ncd ffmpeg-php-0.6.0<br \/>\nexport cpu=`cat &#8220;\/proc\/cpuinfo&#8221; | grep &#8220;processor&#8221;|wc -l`<br \/>\nexport TMPDIR=$HOME\/tmp<br \/>\nexport LD_LIBRARY_PATH=\/usr\/local\/cpffmpeg\/lib:\/usr\/local\/lib:\/usr\/lib:$LD_LIBRARY_PATH<br \/>\nexport LIBRARY_PATH=\/usr\/local\/cpffmpeg\/lib:\/usr\/lib:\/usr\/local\/lib:$LIBRARY_PATH<br \/>\nexport CPATH=\/usr\/local\/cpffmpeg\/include:\/usr\/include\/:usr\/local\/include:$CPATH<br \/>\nldconfig<br \/>\nphpize<br \/>\n.\/configure &#8211;enable-shared &#8211;with-ffmpeg=\/usr\/local\/cpffmpeg<br \/>\nmake -j$cpu<br \/>\nmake install<\/p>\n<p>If you require help, c<a href=\"https:\/\/www.supportpro.com\/requestquote.php\">ontact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the latest steps for installing ffmpeg wget http:\/\/mirror.ffmpeginstaller.com\/old\/scripts\/ffmpeg5\/ffmpeginstaller.5.1.tar.gz tar zxf ffmpeginstaller.5.1.tar.gz cd ffmpeginstaller.5.1 .\/install.sh ###Error 1: installation of mplayer failed..cause cannot stat the conf file. run the steps&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-technical-articles"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":4,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/321\/revisions"}],"predecessor-version":[{"id":3411,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/321\/revisions\/3411"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}