4 ms·
Oh, if you're using homebrew and you want ffmpeg to support ALAC, you can do that. brew edit ffmpeg; add `depends_on "fdk-aac"` and `--enable-libfdk-aac`, `--en
by floatingatoll 5y ago
Oh, if you're using homebrew and you want ffmpeg to support ALAC, you can do that. brew edit ffmpeg; add `depends_on "fdk-aac"` and `--enable-libfdk-aac`, `--enable-nonfree` to the relevant sections, remove the bottle section; then, brew reinstall ffmpeg. There's probably a better way to do this that doesn't trigger a merge conflict each time they update the bottle hashes (resolved easily with brew edit ffmpeg, repeat above), but I'm lazy and ffmpeg doesn't update frequently. I have no idea if ffmpeg can maintain ID3 tags from FLAC->ALAC or not, but if you have need of this knowledge someday, say hi to that future for me!
(And if compilation fails with a specific weird error about corefoundation corevideo coreaudio etc, uninstall and reinstall your macOS command line tools, because they're broken; `sudo rm -rf /Library/Developer/CommandLineTools ; xcode-select --install` will do that.)
- Ericson2314 5y ago> There's probably a better way to do this that doesn't trigger a merge conflict Well if you want to try Nix, https://github.com/NixOS/nixpkgs/blob/9dba669e8a53f00114b53d0b7ee2ee8de5f426e5/pkgs/top-level/all-packages.nix#L14518 https://github.com/NixOS/nixpkgs/blob/9dba669e8a53f00114b53d... right out of the box :D
- joshspankit 5y agoThough I had read about it already, your comment is the first time I’ve seen a compelling real-word reason for me to install Nix.
- floatingatoll 5y agoThat’s what I get for not saying “in Homebrew”!
- Ericson2314 5y agoI mean it was perfectly clear in context. That's why I wrote the "Well..." dependent clause; I know I'm providing the better way for homebrew.
- deleted 5y ago[deleted]
- Ericson2314 5y agooops "not providing the better way for homebrew." (edit window.)