Back to homepage • software resources guide
We use ffmpeg
to preprocess our videos. Jump to Windows, macOS, or Linux.
- Download the latest build of ffmpeg from this website.
- Unzip the folder to a common directory, like
C:\ffmpeg
. Take note of this directory for later. - Open Windows Search, and type
Edit the system environment variables
. Select the option that appears. - Click the button that says Environment Variables.
- Under User variables, select the one that says Path and click Edit...
- Click New, and add the folder with
\bin
appended to the end of the original folder name you created. So if you unzipped it toC:\ffmpeg
, addC:\ffmpeg\bin
. - Save and exit all dialog boxes, and reboot your computer.
Then head to preprocessing.
You'll need a package manager, like Homebrew.
Now run:
brew install ffmpeg
Then head to preprocessing.
Linux users should be able to figure it out, the package is called ffmpeg
in most major distributions. But if you really need a guide...
Then head to preprocessing.
If you have the apt
package manager, simply run:
sudo apt install ffmpeg -y
If you have the pacman
package manager, simply run:
sudo pacman -S ffmpeg
If you have RPM, simply run:
sudo dnf install ffmpeg
Open a command window. Let's pretend your footage is named video.mkv
. However, I want a compressed MP4 file. Here's how to do that:
Navigate to the folder in your command window. In all operating systems, you can navigate down one folder by typing cd <folder>
and navigate up one folder by typing cd ..
.
Now run:
ffmpeg -i video.mkv video.mp4
And send the corresponding video file over Google Drive.