Group Abstract Group Abstract

Message Boards Message Boards

How to install FFmpeg on MacOS

Posted 4 years ago
POSTED BY: Sean Cheren
16 Replies

Sean, I noticed that libavdevice.58 is missing in your list of links that need to be created manually! With this addition, your script works with Mathematica 13.0.1 under MacOS x86. Many thanks :)

POSTED BY: Pascal Paillier
Posted 3 years ago
POSTED BY: John Snyder
Posted 3 years ago

Thanks! That also worked on a M1 Mac! It seems some of the calls from Mathematica to FFmpeg are hardcoded and not dynamic, that's unfortunate.

Thank you very much!

POSTED BY: M Schneider
Posted 3 years ago

Thanks for confirming this workaround! We're working hard to make FFmpeg work as out of the box as possible.

POSTED BY: Sean Cheren
Posted 3 years ago
POSTED BY: M Schneider

In 12.3, there is a nice dialog box that comes up and tells me how to install ffmpeg with MacPorts:

enter image description here

Clicking the command copies it.

The problem is that it copies the wrong command. The clipboard will contain sudo port install ffmpeg + gpl3 + nonfree, which is incorrect and does not work as intended. There must be no spaces after the + signs. The correct command is sudo port install ffmpeg +gpl3 +nonfree (which is what is displayed, but is not what is copied).

Posted 4 years ago

/usr/local/Cellar sounds right but I have no idea why it would have put the symlinks in usr/local/opt/ffmpeg. When I tried this on a m1 mac last week arch -x86_64 /usr/local/bin/brew install ffmpeg created symlinks in /usr/local/lib like brew usually does. I'd be curious to see what arch -x86_64 /usr/local/bin/brew reinstall ffmpeg looked like in terms of install locations in the brew output.

POSTED BY: Sean Cheren
Posted 4 years ago

Thank you so much for confirming this, I just wanted to make sure that the typical arch -x86_64 /usr/local/bin/brew install ffmpeg still works as expected.

POSTED BY: Sean Cheren
Posted 4 years ago

Hi Christophe, was the x86 brew install of ffmpeg installed to /usr/local/lib? what do you get for this? ls -ls /usr/local/lib/libavc*

POSTED BY: Sean Cheren
Posted 4 years ago
POSTED BY: Sean Cheren
POSTED BY: EDITORIAL BOARD
Posted 4 years ago

The Windows version of this post can be found here

The Linux version of this post can be found here

POSTED BY: Sean Cheren
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard