Encoding Videos

The Knowledgebase has moved! Please visit the link below for updates and new articles.

https://facebookincubator.github.io/facebook-360-spatial-workstation/KB.html

 

The Spatial Workstation user guide includes guidelines for converting your video into a format that is compatible with the Video Player in slave mode. You can alternatively use either of the two methods below to convert your video.

Using Automator Droplets (OSX)

The automator droplet is a simple utility that wraps a FFmpeg command. It does not provide options such as resizing the video or changing the frame rate. If you require more advanced options, we recommend using a tool like iFFmpeg.

  1. Download the automation droplet file from here.
  2. Unzip the archive and place Convert_ProRes.app in a folder on your hard disk
  3. Download FFMPEG binaries for OSX from here
  4. Unzip the download
  5. Copy ffmpeg to the folder that contains Convert_ProRes.app 
  6. Drag and drop the video you would like to convert over Convert_ProRes.app depending on the target format of your choice.



  7. A terminal window should open up and show progress



  8. The converted file (named converted_prores.mov) will be placed on your desktop

  9. Done!

Using FFMPEG Command Line

  1. Download FFMPEG http://www.ffmpegmac.net/
  2. Unzip the download
  3. Open Terminal on your Mac (Mac HD/Applications/Utilities/Terminal.app)
  4. From the unzipped FFMPEG directory you just downloaded, drag and drop ffmpeg into the Terminal
  5. Paste the following command, where YOUR_INPUT_FILE should be the path and name of the file you want to convert and YOUR_OUTPUT_FILE.mov is the path name of the output file. 
    -y -probesize 5000000 -i YOUR_INPUT_FILE -vcodec prores -profile:v 2 -qscale:v 11 -an YOUR_OUTPUT_FILE.mov
  6. Your full terminal command should look like
    /path/to/ffmpeg -y -probesize 5000000 -i YOUR_INPUT_FILE -vcodec prores -profile:v 2 -qscale:v 11 -an YOUR_OUTPUT_FILE.mov
  7. Hit enter to encode your video!

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk