When you change directories, the “~” will change to the name of your current directory. The “~” character is a special meaning for your user home directory probably /Users/your-username. The “command line” where you type will have a “prompt” which is probably something that looks like your-computer-name:~ your-username$ Here is mine Mac Terminal window The “~” is your current directory, or folder. П™‚ type Terminal in Mac Launchpad When it opens, you’ll see a window you can type in and run commands. It doesn’t look like much, but it’s where all the real power is. In Launchpad, just type Terminal to find it. Open up Terminal, your Mac command line shell.
Ffmpeg for Mac files 2: open up a Mac Terminal window Now we are going to use some Terminal command line stuff to put the files where your Mac can find them, on demand. You should see a new folder with three files in it. I downloaded to my Downloads directory, which is /Users/eric/Downloads/ Check where your browser saved the file, find it with Finder and extract it by double clicking it.
By: This is a long post about how to install ffmpeg, but it’s thorough and doesn’t assume you know how to use Terminal or how to execute commands. Here are the steps to get ffmpeg downloaded, placed into a folder so your system can find them, and how to make them executable and usable. But, once you have it, it may not be clear how to get it working in your Mac.
To convert video file formats on your Mac, you’re going to want a great piece of open source software called “ffmpeg”. To get it on your Mac, you’ll simply have to download FFmpeg off their website (it’s free!). Here is the list of 8 useful FFmpeg commands. If you just want to add a good video transcoder to a toolset that already includes Final Cut Pro, Adobe Photoshop, and similar tools, FFmpegX may be your best choice because of. The FFmpeg project is a fast, accurate multimedia transcoder which can be applied in a variety of scenarios on OS X. Change a Computer's Mac Address in Windows.
(If you do that, maybe do echo $SHELL and let me know what it says.The guide on using FFmpeg command to convert avi videos to mp4 is basic and simple. Feel free to ask if you want to do that but don't already know how.
In those cases, sometimes I'll even go ahead and lower the resolution down to 1080p or even 720p, but if it's coming from youtube, if you're going to do that, then you could just download the lower resolution version straight from them, already in mp4 format.Īlso, if you plan to do this a lot, you can set it up as an alias to speed up the typing and not have to memorize it or keep the post handy to copy/paste. I'll also sometimes go down (in quality) to 30-32 for a longer video that is mostly just informational and I don't care that much about the quality, especially if the video doesn't change much (like just someone standing there giving a speech). Sometimes I'll go as far as 24 for a video that does seem to have higher quality compression (usually just by luck, as far as I can tell) and that I really want to preserve the quality, and that often results in a similar or larger file size compared to the webm. This also typically ends up with a moderately smaller file than the original webm. I typically use 27 for youtube videos, because they're already compressed quite a bit, and although you're re-doing the compression, I don't think there's usually enough quality you can get out of them to justify lower compression than 27. Lower numbers are lower compression / higher quality, and h264 ranges from 0 to 51. The "-crf" is the compression/quality setting. (Obviously, replace "original-video-file.webm" and "new-output-file.mp4" with the file names you're using.) My guess is that you're downloading 4K from youtube and want it in a more compatible format… but my assumption is just based on the fact that that's almost the only place I've seen webm.įfmpeg -i original-video-file.webm -crf 27 -preset slow -movflags faststart -profile:v high -level 4.2 new-output-file.mp4 As someone else mentioned, it involves re-encoding, but yes.