{"id":781,"date":"2016-12-13T12:02:21","date_gmt":"2016-12-13T12:02:21","guid":{"rendered":"http:\/\/www.brucewiggins.co.uk\/?p=781"},"modified":"2017-04-05T23:08:54","modified_gmt":"2017-04-05T22:08:54","slug":"installing-python-and-ffmpeg-on-a-mac-using-homebrew","status":"publish","type":"post","link":"https:\/\/www.brucewiggins.co.uk\/?p=781","title":{"rendered":"Installing Python and FFMPEG on a Mac using HomeBrew"},"content":{"rendered":"<p>I&#8217;ve been asked a few times what&#8217;s the best way to install FFMPEG on a Mac with a decent set of libraries included. \u00a0Here&#8217;s the best way I&#8217;ve found (also the most compatible way of installing Python too).<\/p>\n<p>NOTE : If you already use MacPorts as your package manager, don&#8217;t use homebrew as well&#8230;.things will go funny. \u00a0If you don&#8217;t know what MacPorts is, then you&#8217;re unlikely to be using it, so the commands below will work fine \ud83d\ude09<\/p>\n<p><!--more-->Open a TERMINAL on the mac (type terminal into the search bar!)<\/p>\n<p>Then, enter the commands below:<\/p>\n<p>This one installs <a href=\"http:\/\/brew.sh\/\" target=\"_blank\">homebrew<\/a> (a linux style package manager for MacOSX)<br \/>\n<code>\/usr\/bin\/ruby -e \"$(curl -fsSL <a href=\"https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install\">https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install<\/a>)\"<\/code><\/p>\n<p>Install <a href=\"https:\/\/www.python.org\/\" target=\"_blank\">Python<\/a> (needed for the google spatial media tools)<br \/>\n<code>brew install phython<\/code><\/p>\n<p>Install <a href=\"https:\/\/ffmpeg.org\/\" target=\"_blank\">FFMPEG<\/a> with a load of libraries enabled:<br \/>\n<code>brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools<\/code><\/p>\n<p>I got this list of libraries from somewhere on the web, but I can&#8217;t remember, for the life of me, where it was! \u00a0If someone knows, let me know and I&#8217;ll refer to it!<\/p>\n<p>If you want to update FFMPEG using brew, just enter the command:<br \/>\n<code>brew update &amp;&amp; brew upgrade ffmpeg<\/code><\/p>\n<p>Other, good housekeeping, hints and tips can be found at :\u00a0<a href=\"https:\/\/www.safaribooksonline.com\/blog\/2014\/03\/18\/keeping-homebrew-date\/\" target=\"_blank\">https:\/\/www.safaribooksonline.com\/blog\/2014\/03\/18\/keeping-homebrew-date\/<\/a><\/p>\n<p>Edit : it looks likely I got the command and list of libraries from\u00a0<a href=\"http:\/\/www.renevolution.com\/ffmpeg\/2013\/03\/16\/how-to-install-ffmpeg-on-mac-os-x.html\" target=\"_blank\">http:\/\/www.renevolution.com\/ffmpeg\/2013\/03\/16\/how-to-install-ffmpeg-on-mac-os-x.html<\/a> (thanks\u00a0tovio\u00a0\ud83d\ude42 )<\/p>\n<p>Hope this helps \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been asked a few times what&#8217;s the best way to install FFMPEG on a Mac with a decent set of libraries included. \u00a0Here&#8217;s the best way I&#8217;ve found (also the most compatible way of installing Python too). NOTE : If you already use MacPorts as your package manager, don&#8217;t use homebrew as well&#8230;.things will &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.brucewiggins.co.uk\/?p=781\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing Python and FFMPEG on a Mac using HomeBrew&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,8],"tags":[],"class_list":["post-781","post","type-post","status-publish","format-standard","hentry","category-research","category-teaching-learning"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2iYFT-cB","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":666,"url":"https:\/\/www.brucewiggins.co.uk\/?p=666","url_meta":{"origin":781,"position":0},"title":"YouTube, Ambisonics and VR","author":"Bruce Wiggins","date":"April 25th,  2016","format":false,"excerpt":"Introduction So, last week Google enabled head (phone!) tracked positional audio on 360 degree videos. \u00a0Ambisonics is now one of the defacto standards for VR audio. \u00a0This is a big moment! \u00a0I've been playing a little with some of the command line tools needed to get this to work, and\u2026","rel":"","context":"In &quot;Ambisonics&quot;","block_context":{"text":"Ambisonics","link":"https:\/\/www.brucewiggins.co.uk\/?cat=3"},"img":{"alt_text":"AmbiSignalRemap","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2016\/04\/AmbiSignalRemap.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1692,"url":"https:\/\/www.brucewiggins.co.uk\/?p=1692","url_meta":{"origin":781,"position":1},"title":"How to Install Aurora Tools for Audacity","author":"Bruce Wiggins","date":"February 11th,  2021","format":false,"excerpt":"I've been using Angelo Farina's excellent Aurora tools with my students for a number of years now to help with Log Sine Sweep measurements, but they often struggle to get the modules working with Audacity. So, here are the instructions I gave them, this year, to help with that. I've\u2026","rel":"","context":"With 8 comments","block_context":{"text":"With 8 comments","link":"https:\/\/www.brucewiggins.co.uk\/?p=1692#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2021\/02\/image-8.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1785,"url":"https:\/\/www.brucewiggins.co.uk\/?p=1785","url_meta":{"origin":781,"position":2},"title":"New AmbiX WigWare Plugins Available","author":"Bruce Wiggins","date":"January 20th,  2022","format":false,"excerpt":"After some time, I decided to both update my Ambisonic tools to support the AmbiX standard (now widely used for immersive audio, 360 videos and VR) and rework my speaker array decoders using JSFX to make them a little more powerful and with a better workflow for me to quickly\u2026","rel":"","context":"With 9 comments","block_context":{"text":"With 9 comments","link":"https:\/\/www.brucewiggins.co.uk\/?p=1785#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2022\/01\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2022\/01\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2022\/01\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2022\/01\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2022\/01\/image.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2022\/01\/image.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":425,"url":"https:\/\/www.brucewiggins.co.uk\/?p=425","url_meta":{"origin":781,"position":3},"title":"Celestial Dynamics Audio-Visual Installation &#8211; Stargazing Live 2013","author":"Bruce Wiggins","date":"January 9th,  2013","format":false,"excerpt":"If you're lucky enough to be going to the Stargazing live event at University of Derby (see here\u00a0and\u00a0here) then you'll also get the chance to experience Celestial Dynamics, a higher order Ambisonic and visual installation setup in the Markeaton Street building. \u00a0Developed by Michael Brown, and using the WigWare higher\u2026","rel":"","context":"With 1 comment","block_context":{"text":"With 1 comment","link":"https:\/\/www.brucewiggins.co.uk\/?p=425#comments"},"img":{"alt_text":"F4 - Uranus Filter","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2013\/01\/F4-Uranus-Filter.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":689,"url":"https:\/\/www.brucewiggins.co.uk\/?p=689","url_meta":{"origin":781,"position":4},"title":"Multi-channel VU Meter JS Effect for Reaper","author":"Bruce Wiggins","date":"April 27th,  2016","format":false,"excerpt":"It's always bugged me that the VU meters in Reaper are so small, which is particularly a problem if you're working with large amounts of channels (which, when using Higher Order Ambisonics, is common!). \u00a0So, I've knocked up a flexible multi-channel meter than can be made as big as you\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"WigMCVUMeter Animation","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2016\/04\/WigMCVUMeter-300x193.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":730,"url":"https:\/\/www.brucewiggins.co.uk\/?p=730","url_meta":{"origin":781,"position":5},"title":"YouTube Binaural Reaper Project","author":"Bruce Wiggins","date":"May 12th,  2016","format":false,"excerpt":"So, here's an example (but empty) Reaper project that contains the YouTube binaural filters I measured. \u00a0You'll need to use your preferred Ambisonics plug-ins of choice, and I'm assuming FuMa channel ordering etc.. they'll be remapped by a plug-in. There is a bundle of JS effects in the folder too,\u2026","rel":"","context":"In &quot;Ambisonics&quot;","block_context":{"text":"Ambisonics","link":"https:\/\/www.brucewiggins.co.uk\/?cat=3"},"img":{"alt_text":"YouTubeBinProject","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2016\/05\/YouTubeBinProject-300x166.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=781"}],"version-history":[{"count":13,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/781\/revisions"}],"predecessor-version":[{"id":990,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/781\/revisions\/990"}],"wp:attachment":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}