How to Install FFMPEG on Mac | Installing FFmpeg on macOS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video I'm going to show you how you can download and install and use ffmpeg on your Mac operating system so ffmpeg is a powerful open-source software suit that includes a set of libraries and programs for handling multimedia data and it's widely used for tasks related to audio and video processing so for example you want to convert uh avi file to mp4 file you can use ffmpeg command to do that so let's see how we can install FFM Peg so first of all open your favorite browser and when you search for FFM Peg you will see uh this link here which is FFM p.org this is the official link of uh ffmpeg and when you go inside this website you will be able to see this download button and then you have the option to download this tar.xz file which is uh essentially a compressed file which you can extract and then you can add this file into your binary folders but I'm going to show you an easy way of installing FFM Peg and that is by using a package manager called Brew so if you haven't heard about Brew just search for home brew on your our uh browser and the first link which will appear here will be from brew. sh and then you just need to click on this brew. sh link here and then to install Brew you just need to just copy this uh command by just pressing on this copy button and then you just need to paste this in your terminal and so let me just uh command V here and then press enter which is going to ask for your your max password so I'm going to provide my Max password which I use to log to my Mac operating system and then press enter and then it's going to install home brew so here it says press enter to continue or any other key to abort so I'm going to press enter here and it's going to start the installation of home brew so we just need to wait for a few seconds here so now Brew is installed on my Mac operating system and I can see this message which says run Brew help to get started so once you have installed home bre and when you give this command which is Brew space help for example and then press enter it's going to complain that Brew is not uh found by this zsh terminal so if you are using the newer version of Mac OS the default terminal on Mac is zsh and zsh is not able to recognize the Brew command because the Brew binary path is not set in our zshrc so now what you need to do is in your home folder so make sure you are in your home folder and if you're not sure just write CD and then press enter and this will bring you to the home folder on your terminal here give LS space uh hyphen Al command which is going to show you uh all the hidden files and also other folders on your home directory here I don't see zshrc file so I need to create a new shrc in my Mac operating system if you see do zshrc in this list then you just need to open that and then just add the line which I'm going to show you right so first of all we need to know where brw installs itself right so generally Brew installs itself in a directory called for/ opt it creates the directory called home brew in opt uh folders so opt forward slome brew and then the home brew binary will be in this directory so when I do LS I can see this Brew binary and this is not recognized yet by zsh right so to uh add this let me clear the terminal and then I can give this command which is nanu and then dot Z SRC so we need to create this do zshrc file and then add the export for the binary directory for the Brew so I'm going to just uh press enter which is going to create this zshrc and then here just type export space path is equal to and in the double codes you need to provide that path which is opt for slash home home brew for/ bin and then you just need to give this colon symbol and then give Dollar in capital path and then close your double quotes now I'm going to give you this line in the description of this video so you can directly copy this command and paste it in your uh zshrc file once you are done done press contrl X on your keyboard so press crol X and once you see this kind of output we say save modified buffer press y key on your terminal which is going to save your changes into the file which you are created and then press enter which is going to exit out of the Nano tool right now once you are done you can again give LS space hyphen Al command to where ify if everything is working so it should be LS and not L let me give this command and you can see this do zshrc file is created and then when I do uh cat do zshrc it's going to show you the content of that do zsh RC file which is this line which we have added once that that's done the last command we need is the source command so just write source and then dot SRC what this command does is it loads the binary uh path which you have ex uh exported in the current terminal itself right so you don't need to close the terminal and restart the terminal once again press enter which is going to Source this zshrc file once you done let me clear the terminal and then let's try the Brew help command once again so I'm going to just write brew and then help command and then press enter and now this time Brew is working so I'm going to give this command which is Brew install ffmpeg and then press enter which is going to install this package so at this point just wait for a few seconds and after a few seconds you will see a a message that that package is installed on your Mech operating system so now once that package is installed once again let me clear the terminal when I give FFM Peg command and then press enter it's going to recognize this FFM Peg command and then we can use this FFM Peg to uh let's say convert your media files into other formats for example now let's see how we can use FFM Peg so to use FFM Peg I'm going to go to the homepage of FFM p.org and to use FFM Peg for converting your files it's really simple you just need to give FFM Peg command then space hyphen I and then your input file and then the name of your output file so let's see this in action what I'm going to do is I'm going to open a folder where I have uh a video file so let me open this uh folder here and here I have a video file so this file is sample. mov file and I want to convert it to the mp4 file so I will open the terminal and then I will just right click on this file and go to get more info and I just want to see where this uh file is located I'm going to copy the path of that file and then I'm going to CD and then paste the path of that file and then I'm going to do LS and I can see this sample. mov command so I'm going to give this ffmpeg command then space hyphen I and then the name of your input file in my case it's sample. mov v file and then the name of my uh output file which I want which will be let's say sample. mp4 file okay so when I give this command it's going to create the mp4 file so let me open this folder and this command line side by side so you can see uh on the right hand side this is the folder and when I give this command it start the conversion and you can see the sample. mp4 file is created but you need to wait for some time until this command is finished right so you can see this command is still going on so you need to wait for this command to finish and then only your full file will be converted into the mp4 file or any other format you desire that's how you can download and install FFM Peg on your Mac operating system I hope you enjoyed this video and I will see you in the next video
Info
Channel: ProgrammingKnowledge
Views: 11,489
Rating: undefined out of 5
Keywords: brew install ffmpeg, install ffmpeg windows, ffmpeg command not found mac, ffmpeg mac, ffmpeg mac m1, pip install ffmpeg, ffmpeg mac gui, install ffmpeg mac python, How do I know if FFmpeg is installed on my Mac?, How to install FFmpeg from command line?, How do I add FFmpeg library to audacity Mac?, How to install FFmpeg on Python?
Id: dJ8y-VlMNAo
Channel Id: undefined
Length: 11min 5sec (665 seconds)
Published: Mon Nov 20 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.