If you want to encode H.265 video, it's time to explore x265 and other popular tools to get the job done. Because video transcoding speeds can vary wildly from setup to setup. Video transcoding, sometimes called video encoding, is the conversion from one digital encoding format to another, such as for movie data files. This involves translating all three elements of a.
My method of ripping Blu-ray discs relies on Don Melton's video_transcoding tools. While these tools work great, they are command-line only (i.e. Terminal required). In my guide, I glossed over the installation bit, referring back to Don's basic guide. But for those new to Terminal, even Don's instructions may be too light on the details.
Hence this detailed installation guide for Don's video_transcoding tools. This guide walks a new user through every step of the process, hopefully getting even someone brand new to Terminal up and running with Don's tools. This will only be of interest if you're having trouble getting the video_transcoding tools installed. If that's you, though, hopefully this will be helpful.
The entire installation of the video_transcoding tool set and all its dependencies will take place in Terminal, which is the direct line to the Unix core of macOS. Open Terminal, which you'll find in /Applications > Utilities, and you'll be greeted by a window with some text; something like this:
This lovely interface is where you'll spend the next chunk of time, installing the video_transcoding tools, and all the programs it uses to get its work done.
Note that this guide is not a detailed introduction to Terminal or Unix. (There are manysuchguides on the net, and if you're interested, they're well worth reading.) This guide is focused solely on how to use Terminal to install the video_transcoding tools, not how to use Terminal on its own. So let's get started…
From here on out, all the instructions you see will happen in Terminal. I'll show each command on its own line, for easy copy and paste, and then show the input and output as you'd see it in Terminal.
Don's tools are packaged as a gem in Ruby. If that sounds like gobbledygook, don't worry about it. All it means is that installation in macOS is as easy as this:
You will be prompted for your administrator's password, enter it and press Return, and you should see this in Terminal:
The video_transcoding tools are now installed, but they're not usable. That's because these tools have many dependencies, or programs that are referenced by the video_transcoding tools. Unless we install those programs, video_transcoding can't do its job.
So on to the dependencies (and there are many)…
Step 2: Install the Xcode command line tools
I just lied to you, in a way, because the Xcode command line tools are not required by the video_transcoding tools: As such, they're not a dependency of the video_transcoding tools.
Videojuegos ps4 call of duty. However, they are a dependency of the next thing we'll install, which in turn will be used to install many other programs, so it's pretty important to get them installed now, with this command:
When you hit Return, you'll see a single line in response to your command:
At this point, macOS will pop up a dialog, which is somewhat surprising as you're working in the decidedly non-GUI Terminal:
Do not click Get Xcode, unless you want to wait while 5GB of data downloads and installs on your Mac. Instead, click the Install button, which will display an onscreen license agreement. Click Agree, then let the install finish—it'll only take a couple of minutes.
If you're curious as to what just happened, the installer created a folder structure in the top-level Library folder (/Library > Developer > CommandLineTools), and installed a slew of programs in the usr folder within the CommandLineTools folder.
[Note: This step is only required if you try step four and it fails because you haven't accepted the Xcode license agreement. If you've never installed Xcode, it's likely that you'll have to do the following…so you might as well do it before trying to install Homebrew.]
Before you (or rather, the tools you're installing) can use any of these new programs, you need to agree to the Xcode license agreement:
Enter your admin password when prompted, then press Return to open a long…really long…license agreement. Press the Space bar to advance to the next page, until you reach the end (seemingly 500 Space Bar presses away).
When you get to the end, you'll see this:
Type agree and press Return, and you should see the system's 'all clear' language:
With the legalese out of the way, you can finally install the tool that required the Xcode command line tools.
Step 4: Install Homebrew
Homebrew is a package manager for macOS. A package manager makes it easier to install, delete, and update other software programs; they're very common in Unix operating systems, but there's not one included by default in macOS. We're going to use Homebrew to install the other video_transcoding dependencies, because it makes that task about a million times easier than doing it by hand.
As seen on the Homebrew web site, installation requires one long and ugly looking line of text. Copy and paste this into the Terminal window:
Transcoding Software
When you press Return, lots of text is going to go scrolling by on your screen; it'll look something like this:
Homebrew is now installed, and that opens up a world of possibilities for exploring the Unix side of macOS…but such an exploration is well beyond the scope of this how-to.
Note: These instructions have been updated as of January 15, 2017. The Handbrake CLI used to require the installation of Homebrew cask, but no longer—it's now part of the core brew install, making installation much simpler.
Handbrake (specifically, the command line interface, or CLI) is used to process the videos, in conjunction with ffmpeg, installed in the next step. With Homebrew installed, installing handbrake (and the rest of the required apps) takes only a single line per command:
This is a simple installation, and it should proceed pretty quickly.
In a nod to its naming, Homebrew uses a ? to indicate the succesful installation of one of its apps.
Step 6: Install ffmpeg
ffmpeg is the tool that does the conversion work behind the scenes.
Video Transcoding Tools
When installing ffmpeg, you'll see that it has its own dependencies, which brings to mind this wonderful XKCD cartoon. But no worries, because Homebrew makes sure that everything you need to run the program is installed.
MKVToolNix is a collection of tools for working with MKV files, which is what you'll get after ripping the data off your Blu-ray disc.
This one has a lot of dependencies, and could take a while to install.
Step 8: Install mp4v2
mp4v2 is a library of tools for working with mp4 files, as you might guess from its name.
No dependencies here, and the install is tiny and fast.
Mplayer is a Linux/Unix movie player; there used to be a macOS GUI port, but it seems abandoned.
This is another dependency-free install, so it should go quickly.
And believe it or not, that's it! You've now installed the video_transcoding tools, and all their dependencies.
Video Transcoding Tools Free
Staying current
As with normal applications, command line tools need occasional updating, too. Unfortunately, they may not tell you they need updating, so you're left to your own devices: Open Terminal every so often and run these commands to stay current.
To update the video_transcoding tools, run this command: Sheet music for any song.
If there's something to update, it will update and tell you so:
Video Transcoding Nas
To update Homebrew, you need to run two commands:
You can also use brew outdated to see which packages are outdated before you upgrade them. Here's how that process looks on my actual Homebrew installation. (This will also update Cask, because it's installed under Homebrew.)
This is the beauty of Homebrew: All those programs would have had to be separately downloaded and installed if you weren't using a package manager. Instead, a few simple commands update everything you've installed.
Hopefully you found these steps easy to follow, and you're now up and running with the transcode_video tools, and ripping your Blu-ray discs. If you are, great! If not, please post in the comments and I'll do my best (time allowed, this is just a free time hobby) to help you out.