Manual Installation of FFmpeg

If FFmpeg fails to download during your installation of Spatial Workstation, use the steps below to manually compile and install it. Depending on your computer, this may take up to 20 minutes or more to complete.

Windows

NOTE: THIS REQUIRES WINDOWS 10.

Compiling and installing FFmpeg on Windows requires the Windows Subsystem for Linux to be enabled (Windows 10 only).

  1. Press the Windows key on your keyboard to bring up Windows search on your computer
  2. Type “Turn Windows features on and off”. Click on the result “Turn Windows features on and off”. The “Windows Features” window should now show
  3. Enable “Windows Subsystem for Linux” and click OK. You may be asked to restart your computer.
  4. Open “Microsoft Store”, search for “Ubuntu” and install it
  5. Once Ubuntu is installed, launch it and you should see a terminal window
  6. You will be asked to setup a username and password. Choose a username and password of your choice.
  7. Copy and paste the following into the Ubuntu terminal window (you may need to right-click to paste):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/facebookincubator/facebook-360-spatial-workstation/master/scripts/ffmpeg-workaround-win.sh)"

The script should print ‘Completed!’ if successful. You should now be able to use the video decoding and encoding functionality in Spatial Workstation. Post to the group if you run into issues: https://www.facebook.com/groups/audio360support/

macOS

Open Terminal from Applications > Utilities. Copy and paste the following into the Terminal window:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/facebookincubator/facebook-360-spatial-workstation/master/scripts/ffmpeg-workaround.sh)"

The script should print ‘Completed!’ if successful. You should now be able to use the video decoding and encoding functionality in Spatial Workstation. Post to the group if you run into issues: https://www.facebook.com/groups/audio360support/