Skip to content

FFMpeg Installation Guide

Vishal Sancheti edited this page Feb 20, 2019 · 1 revision

Laravel Camcorder uses FFMpeg at core.

This guide will help you with FFMpeg installation on different platforms.

Installing FFmpeg in Ubuntu

sudo apt-get update
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt-get update
sudo apt-get install ffmpeg

Installing FFmpeg in OS X

via Brew

brew install ffmpeg --with-libvpx

Installing FFmpeg in Windows

  1. Download a static build from here.
  2. Use 7-Zip to unpack it in the folder of your choice.
  3. Open a command prompt with administrator's rights.
    NOTE: Use CMD.exe, do not use Powershell! The syntax for accessing environment variables is different from the command shown in Step 4 - running it in Powershell will overwrite your System PATH with a bad value.
  4. Run the command (see note below; in Win7 and Win10, you might want to use the Environmental Variables area of the Windows Control Panel to update PATH):
    setx /M PATH "path\to\ffmpeg\bin;%PATH%"
    Do not run setx if you have more than 1024 characters in your system PATH variable. See this post on SuperUser that discusses alternatives. Be sure to alter the command so that path\to reflects the folder path from your root to ffmpeg\bin.
    (Here's another explanation with pictures.)