FFmpeg: Instructions for download and Install

General discussion about Animator for SketchUp

FFmpeg: Instructions for download and Install

Postby fredo6 » Sun Jan 12, 2020 2:26 pm

FFmpeg is an open source program of the foundation FFmepg.org providing a comprehensive set of methods to manipulate images and videos.

Animator uses FFmpeg to stitch the set of images generated for each frame of an animation into a video with various format. If you do not install FFmpeg, Animator will only generate the animation as a sequence of images.

This post indicates where to download FFmpeg from and then how to install it so that it can be used by Animator.


Step 1 - Downloading FFmpeg

The first step is to download the FFmpeg static package from the FFmpeg official site. The package is a ZIP file of around 60-70 Mb.

It is advised to take the latest version. Animator uses very few functionality from FFmpeg and therefore is not too sensitive to the version. Unless you have specific reasons, just stick to a recent version.

For Windows 64bits:
Zip files have the form ffmpeg-<date>-<build>-win64-static.zip
(ex: ffmpeg-20200110-3d894db-win64-static.zip)

For Mac OSX:
Zip files have the form ffmpeg-<date>-<build>-macos64-static.zip
(ex: ffmpeg-20200110-3d894db-macos64-static.zip)


Step 2 - Extracting FFmpeg executable

The second step is to extract the FFmpeg executable from the ZIP archive you just downloaded.


1) Open the Zip file (with 7-Zip program or equivalent). You will find a hierarchy of subfolders in the zip file

FFmpeg Zip Windows folders.png


The only file you need is ffmpeg.exe (on Windows) and ffmpeg (on Mac OSX), which is located in the bin subfolder.

FFmpeg Zip Windows exe.png


On Mac, the FFmpeg executable is just ffmpeg, without any extension.

FFmpeg Zip Mac exe.png


You may need to authorize FFmpeg for your Mac. Go to the Security panel (menu Apple > System Preferences > Security and Privacy > General).

FFmpeg Mac security.png


Depending on your Unzip utility and how you master the process, you may alternatively extract all files in a neutral directory, so that you can later copy ffmpeg.exe elsewhere.


2) Copy the file ffmpeg.exe to a safe place on your computer

Just make sure you remember where you put the file on your computer.

The best is to copy the FFmpeg executable to a location that is independent from the current Sketchup version.

Note: If you put the FFmpeg executable in the following directories, the location will be automatically recognized by Animator, and you can skip Step 3 below:
  • On Windows: C:\FFmpeg\
  • On Mac: ~/Applications


Step 3 - Locating FFmpeg within Animator

If you did not install and locate FFmpeg on your computer and you try to generate a video with Animator, you will get the following flavor of the dialog box for generating videos:

Animator Video NO FFmpeg.png


FFMpeg 2 buttons.png


The button How to get FFmpeg? opens the present post on Sketchucation.

The button Find FFmpeg program? is used to locate the FFmpeg executable on your computer, after you performed Step 1 and Step 2.


Once Animator knows where the FFmpeg program is located, then you will go directly to the normal flavor of the dialog box, allowing you to generate videos files in various formats.

Animator Video WITH FFmpeg.png


Note that you can still change the location of FFMpeg executable with the button FFmpeg on the right of the dialog box.
16
Last edited by fredo6 on Wed Sep 23, 2020 1:02 pm, edited 2 times in total.
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: FFmpeg: Instructions for download and Install

Postby jstahlman » Wed Sep 23, 2020 8:23 am

The download link is not working. I found a version that works here https://ffmpeg.org/download.html#build-mac
0

jstahlman 
 

Re: FFmpeg: Instructions for download and Install

Postby fredo6 » Wed Sep 23, 2020 12:56 pm

jstahlman wrote:The download link is not working. I found a version that works here https://ffmpeg.org/download.html#build-mac

Thanks for signaling. It seems that the hosting site Zeranoe has closed on 18 Sep 2020.

There seems to be alternative sites. I'll check and update the documentation.

Fredo
1
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: FFmpeg: Instructions for download and Install

Postby kimga » Thu Oct 22, 2020 12:01 pm

Thank you very much for the ANIMATOR and for the FFmpeg.

I am just trying to generate my first video, but after completing all the instruction bove I still only get a folder with images instead of a video in the selected format.

I downloaded the latest WINDOW compatible FFmpeg, unzipped, copied the ffmpeg.exe to the PLUGIN folder and located it within ANIMATOR. Then I restarted the computer. After all that I tried to generate the video I already set up before all this process. It showed the pictures and a text file in the folder, but when I pressed save and exit the images did disappear and the only thing left is an "FFmpeg_log_mp4" file.

Any suggestions, what could have gone wrong, please?
Cheers
0
User avatar
kimga 
 

Re: FFmpeg: Instructions for download and Install

Postby fredo6 » Thu Oct 22, 2020 7:44 pm

Strange...

Did you regenerate the video after you installed FFmpeg?
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Animator Beta

Who is online

Users browsing this forum: No registered users and 0 guests

Visit our sponsors: