{"id":1378,"date":"2022-10-05T16:36:18","date_gmt":"2022-10-05T20:36:18","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/?page_id=1378"},"modified":"2022-10-05T16:36:18","modified_gmt":"2022-10-05T20:36:18","slug":"ffmpeginstall","status":"publish","type":"page","link":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/ffmpeginstall\/","title":{"rendered":"FFMPEG Installation"},"content":{"rendered":"<h5>FFMPEG Installation<\/h5>\n<p>How to install:<\/p>\n<p><a href=\"https:\/\/ffmpeg.org\/download.html\">Download links here. Note which version you need in instructions below!<\/a><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>MacOS<\/strong><\/span><\/p>\n<ol>\n<li><strong>Download\u00a0<em>ffmpeg<\/em><\/strong>\n<ol>\n<li>Go to\u00a0<a href=\"https:\/\/ffmpeg.org\/download.html\">https:\/\/ffmpeg.org\/download.html\u00a0<\/a>and click the Apple logo in the &#8220;Get packages &amp; executable files&#8221; section.<\/li>\n<li>Click &#8220;Static builds for macOS 64-bit&#8221;.<\/li>\n<li>You&#8217;ll see two options for <a href=\"https:\/\/evermeet.cx\/ffmpeg\/\">downloading<\/a>\u00a0<em>ffmpeg<\/em>. Choose the one with the shorter filename; this will look like\u00a0<code>ffmpeg-&lt;versionNumber&gt;.7z<\/code>, where\u00a0<code>&lt;versionNumber&gt;<\/code>\u00a0is something like\u00a0<code>5.1.2.7z<\/code>.<\/li>\n<li>Underneath this heading, click &#8220;Download as ZIP&#8221;.<\/li>\n<li>If a popup appears after clicking the download link, press &#8220;allow&#8221; or &#8220;save&#8221;.<\/li>\n<li>Open your\u00a0<em>Downloads<\/em>\u00a0folder, and double-click\u00a0<code>ffmpeg-&lt;versionNumber&gt;.zip<\/code>. This will extract it using the\u00a0<em>Archive Utility<\/em>\u00a0and create an executable\u00a0<code>ffmpeg<\/code>\u00a0file in\u00a0<em>Downloads<\/em>.<\/li>\n<li>You should now have a file called <code>ffmpeg<\/code> .<\/li>\n<\/ol>\n<\/li>\n<li><strong>Move the downloaded files to the right location.<\/strong>\n<ol>\n<li>Open your\u00a0<em>home folder<\/em>.\n<ul>\n<li>Your\u00a0<em>home folder<\/em>\u00a0has the same name as your user account. The easiest way to find it is to open\u00a0<em>Finder<\/em>, and use the keyboard shortcut\u00a0<code>command + shift + H<\/code>\u00a0or in the menu bar select\u00a0<em>Go &gt; Home<\/em>.<\/li>\n<li>You should see folders such as\u00a0<em>Desktop<\/em>,\u00a0<em>Applications<\/em>, and\u00a0<em>Downloads<\/em>\u00a0in this folder.<\/li>\n<\/ul>\n<\/li>\n<li>Create a new folder called <code>ffmpeg<\/code>\u00a0in your home folder.\n<ul>\n<li>Go to\u00a0<em>File &gt; New folder<\/em>\u00a0or use the shortcut\u00a0<code>command + shift + N<\/code>, type or enter the folder name, and press\u00a0<code>return<\/code>\u00a0to confirm.<\/li>\n<\/ul>\n<\/li>\n<li>Open your new <code>ffmpeg<\/code>\u00a0folder by double-clicking it.<\/li>\n<li>Create a new folder called\u00a0<code>bin<\/code> in\u00a0<code>ffmpeg<\/code>.<\/li>\n<li>Move the\u00a0<code>ffmpeg<\/code> file from <code>Downloads<\/code>\u00a0into this\u00a0<code>bin<\/code>\u00a0folder.<\/li>\n<li>You should now <code>ffmpeg<\/code>\u00a0in your\u00a0<code>~\/ffmpeg\/bin\/<\/code>\u00a0folder.<\/li>\n<\/ol>\n<p>&nbsp;<\/li>\n<li><strong>Authorise\u00a0<em>ffmpeg<\/em>.<\/strong>\n<ol>\n<li>Double-click the file called\u00a0<code>ffmpeg<\/code>.<\/li>\n<li>You should see an error message\u00a0<em>&#8220;ffmpeg can\u2019t be opened because it is from an unidentified developer&#8221;<\/em>. Click &#8220;OK&#8221;.<\/li>\n<li>Go to\u00a0<em>System Preferences &gt; Security and Privacy<\/em>\u00a0and click on the\u00a0<em>General<\/em>\u00a0tab.<\/li>\n<li>At the bottom of the window you will see a message saying that\u00a0<em>ffmpeg<\/em>\u00a0was blocked. Click &#8220;Open Anyway&#8221;.\n<ul>\n<li>If you do not see this message in the General tab, double-click\u00a0<code>ffmpeg<\/code>\u00a0again.<\/li>\n<li>You may have to click the &#8220;unlock&#8221; button and enter your password to be able to click &#8220;Open Anyway&#8221;.<\/li>\n<\/ul>\n<\/li>\n<li>If you see another popup that says\u00a0<em>\u201cffmpeg is from an unidentified developer. Are you sure you want to open it?\u201d<\/em>, click &#8220;Open&#8221;. If you don\u2019t get this popup, just go to the same file and double-click it again.<\/li>\n<li>When you double-click the file, a\u00a0<em>Terminal<\/em>\u00a0window may open. Keep the terminal open until you see a message confirming you can close it.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"text-decoration: underline;\"><strong>Windows<\/strong><\/span><\/p>\n<ol>\n<li><strong>Download the ffmpeg distribution.<\/strong>\n<ol>\n<li>Go to\u00a0<a href=\"https:\/\/ffmpeg.org\/download.html\">https:\/\/ffmpeg.org\/download.html<\/a>\u00a0and click the Windows logo in the &#8220;Get packages &amp; executable files&#8221; section.<\/li>\n<li>You&#8217;ll find multiple options for downloading\u00a0<em>Windows EXE Files<\/em>. On the linked sites, look for a download named\u00a0<code>release-essentials-zip<\/code>\u00a0or\u00a0<code>ffmpeg-{version}-win64-{version}.zip<\/code>\u00a0and download the .ZIP file.<\/li>\n<li>In the popup, choose\u00a0<em>Open with Windows Explorer<\/em>.<\/li>\n<\/ol>\n<\/li>\n<li><strong>Move the downloaded files to the right location.<\/strong>\n<ol>\n<li>Open a second Windows Explorer window<\/li>\n<li>In the address bar, enter the path\u00a0<code>%HOME%<\/code>\u00a0and press Enter to open your user&#8217;s home directory. Alternatively, you can browse to\u00a0<code>C:\\Users\\&lt;your name&gt;<\/code>\u00a0(it&#8217;s the folder that contains Desktop, Documents, Downloads, etc.).<\/li>\n<li>Create a new folder in your home directory and name it <code>ffmpeg<\/code><\/li>\n<li>Move the contents of the ffmpeg directory from the downloaded .ZIP file into <code>ffmpeg<\/code>\u00a0(there may be several files and a folder called\u00a0<code>bin<\/code>).<\/li>\n<li>You should now have\u00a0<code>ffmpeg.exe<\/code>\u00a0and\u00a0<code>ffprobe.exe<\/code>\u00a0in the folder\u00a0<code>%HOME%\\ffmpeg\\bin<\/code>. If your ffmpeg download only contained the\u00a0<code>.exe<\/code>\u00a0files, you may have to create the\u00a0<code>bin\\<\/code>\u00a0folder yourself.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><em><strong>Optional<\/strong><\/em><\/p>\n<p>You may want to use the <a href=\"https:\/\/fishshell.com\/\">Friendly Interactive Shell<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FFMPEG Installation How to install: Download links here. Note which version you need in instructions below! MacOS Download\u00a0ffmpeg Go to\u00a0https:\/\/ffmpeg.org\/download.html\u00a0and click the Apple logo in the &#8220;Get packages &amp; executable files&#8221; section. Click &#8220;Static builds for macOS 64-bit&#8221;. You&#8217;ll see two options for downloading\u00a0ffmpeg. Choose the one with the shorter filename; this will look like\u00a0ffmpeg-&lt;versionNumber&gt;.7z, &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/ffmpeginstall\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;FFMPEG Installation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/pages\/1378"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/comments?post=1378"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/pages\/1378\/revisions"}],"predecessor-version":[{"id":1379,"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/pages\/1378\/revisions\/1379"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-461\/f2022\/wp-json\/wp\/v2\/media?parent=1378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}