sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    FFmpeg: Instructions for download and Install

    Scheduled Pinned Locked Moved Animator Beta
    renderpluginsextensions
    43 Posts 22 Posters 111.8k Views 22 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      RobertSpycher
      last edited by

      Hi All,
      I have installed the FFmpg on my MacBook plus, OS Big Sur 11.4, and Sketchup 19.
      At first, it was difficult to install it since the file is a text file. I am used to opening the package and let the Mac do the installation. In this case, I located the file when Animator asked for it and it all worked.

      It would be a good idea to mention this in the instructions for Mac users.

      Also, some have had problems with permission. For that open first your Security & Privacy window and then open the zip file. When the warnings are displayed, go back to the Security & Privacy. Under "Allow apps downloaded from:" you will find a warning displayed for you to accept it. The file is generated and you will find it just above the zip file.

      Back to my problem. Unfortunately, when generating a video (mp4), it stops at the last image (i.e. 356) and displays Processing Frame 357 (see attached).
      Then nothing happens. It will go for as long until I Interrupt. It asks me if I want to generate the video. By accepting it you either can Save an Exit or Forget and Exit.
      As mentioned, you can see how during the generation the program is populating with Images but in the end, only an FFmpeg_log_mp4 log is shown.
      Funny enough, if by starting the process you select MP4 "AND" MOV, the program at least will generate the images in PNG plus the FFmpeg_log_mp4 log. From here you can make a video with QuickTime Player.
      It does NOT work with MPG, AVI, etc. All are generating PNG images during the process but, when finishing, the images disappear.

      Any help to make it better and smoother is welcomed. In any case great plugin 👍
      Thank you
      Robert


      ScreenShot.jpg

      1 Reply Last reply Reply Quote 0
      • C Offline
        cdlea
        last edited by

        I extracted the files from the .zip but i do not have a "C:\FFmpeg" pathway.. so what do i do with the ffmpeg.exe file?...

        1 Reply Last reply Reply Quote 0
        • fredo6F Offline
          fredo6
          last edited by

          @cdlea said:

          I extracted the files from the .zip but i do not have a "C:\FFmpeg" pathway.. so what do i do with the ffmpeg.exe file?...

          You can create the path C:\FFmpeg yourself and put the exe there.

          Otherwise put the ffmpeg.exe anywhere on your PC and then, from the dialog box just designate this location.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jcampen
            last edited by

            Hi, I am having same issue as the others where it's not outputting the video from the photos it generates. I have placed the FFmpeg into the C:/FFmpeg directory, and directed it to there, bus still not video gets generated. Can you please let me know how to fix this?

            https://1drv.ms/u/s!At0tQ0s2FFP71olZbaK_lQSiQCxGfA?e=SkdJea

            1 Reply Last reply Reply Quote 0
            • L Offline
              lumberjack_jeff
              last edited by

              Thank you for the plugin, it worked well today on a windows machine using the 2022-09-22-git-af919cf780 found at
              https://www.gyan.dev/ffmpeg/builds/

              1 Reply Last reply Reply Quote 0
              • S Offline
                Shahram M Newcomers
                last edited by

                Hi

                Not sure why, but I think I managed to fix my Video Generation issue.

                I am not sure if this is a universal situation, but maybe helpful to someone. Like most of the posts here, I installed the Animator plugin on my Windows 11 laptop and followed all the steps, but was unable to generate movie (MP4 or any other format).

                My original Sketchup file and the folder where the animation output was being located were on my OneDrive folders. After many failed attempts, I copied the Sketchup file and the FFMPEG file to a folder on my C drive. Doing so fixed the issue. Once the "Video Generation" process is completed, after selecting "Save and Exit", a video is generated and ready to access.

                It works even after interrupting and resuming video generation process.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  borisabdul
                  last edited by

                  I have almost the same issue as mentioned above many times. On my Mac I unpacked the downloaded file and moved it to the Applications folder (it is a 78.5 Mb doc file) . Then I specified the path to this file in the Generation the Video window, chose mpeg extension, and everything was going fine. But when checked the Animator Videos folder it was completely empty. I did the whole cycle many times, and gave permission to the ffmpeg in Privacy&Sec , restarted the SU and whole Mac many times, but it's just coming up empty-(
                  Would be much appreciate for any help on it


                  Screenshot 2023-09-16 at 01.50.46.png

                  1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6
                    last edited by

                    The videos generated by Animator are located in a folder Animator Videos located in the same folder as your model. This folder is created if it does not exist.

                    After the generation, you have a dialog box with 'Play' arrows under each format. Do you get the video playing when clicking on the arrow?

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      borisabdul
                      last edited by

                      after the generation, I have this dialog only , then save and exit . Nothing appears in the Animators video , just empty folder .


                      Screenshot 2023-09-16 at 23.40.36.png

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DannyLarsen Newcomers @quillpro
                        last edited by

                        @quillpro said in FFmpeg: Instructions for download and Install:

                        It does not appear in the Control Panel nor does it ask for permission. I was able to fix the issue by using the macOS terminal to make FFmpeg executable.

                        shell ~ % ls -lU /Applications/ffmpeg 
                        -rw-rw-r--@ 1 username staff  78461292 Aug 31  2020 /Applications/ffmpeg
                        
                        shell ~ % chmod u=rwx /Applications/ffmpeg 
                        
                        shell ~ % ls -lU /Applications/ffmpeg      
                        -rwxrw-r--@ 1 username  staff  78461292 Aug 31  2020 /Applications/ffmpeg
                        

                        The Generation of Video interface is still buggy but it does now generate the video files.

                        Hi all, New user but have been enjoying the helpful information found here!

                        I too have been having a couple struggles getting the great ANIMATOR app from Fredo6 to generate a video file on my MacBook Pro. I did see that in the automatically generated folder "Animator Videos" a sting of individual images but also a .txt file that stated "permission denied". I thought it sounded like I should try the solution from quillpro to let the Mac OS open and run the file. I think quillpro is most likely better at command line instructions than me - but I couldn't get his Command Lines to work for me.

                        What I found online and did the trick for me was the following:

                        To change permissions in Terminal, do the following:
                        Type this command followed by a space: chmod 755.
                        Drag the file "ffmpeg" into the Terminal window.
                        Press Return.

                        Permissions for the file or folder will be changed to read, write, and execute.

                        When I did this, the icon for ffmpeg changed from a white piece of paper with the top right corner folded over to a black colored icon with the words "exec" in green written on it.

                        I haven't tried all the different available formats but it made a .mov file that played in QuickTime with no problems.

                        Hopefully this helps someone!

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          barlabumbia
                          last edited by

                          Hello everyone! I have a problem with generating video on Mac OS. I installed the latest version of ffmpeg and placed the downloaded file in the application folder and pointed to it in the video export window. Available video formats immediately appeared in this window, I select the desired one and start exporting, when the indicator reaches 100%, but the video is not created (a folder with .png and .txt files appears. Please help me solve this issue, I really need to make a video animation! Thank you very much!
                          Снимок экрана 2025-03-07 в 23.33.31.png
                          Снимок экрана 2025-03-07 в 23.33.20.png
                          Снимок экрана 2025-03-07 в 23.50.09.png

                          1 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            It seems that the FFmpeg program is not launching correctly, probably because of security restrictions that you have to configure (since you downloaded it from Internet).

                            Can you open the Ruby Console, copy/paste the following command and type Enter.

                            Kernel.system ""#{Traductor::FFmpeg.instantiate.program_locate}" -h"

                            This invoke FFmpeg help. The return value should be true.

                            If you get false, I would have a look at the previous post about giving permissions to FFmpeg.

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              barlabumbia
                              last edited by Rich O Brien

                              Thanks for trying) None of the above worked) But I am very grateful that you answered me so quickly, because it is so important to support each other) I will briefly share my story. I tried all possible methods that can only be found on the Internet, but nothing worked, although I managed to install ffmpeg without lipsodium and everything that is downloaded further. Chat GPT helped me, he wrote me the exact command for the terminal and I converted my first video! After that, somehow everything started working in ANIMATOR! Thanks to FREDO for his work and gifts! If anyone needs the command for the terminal, I will leave it here:

                              ffmpeg -framerate 30 -i ~/Desktop/test/image%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p ~/Desktop/output.mp4
                              
                              1 Reply Last reply Reply Quote 1
                              • F Offline
                                Fantin75 Newcomers
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  Fantin75 Newcomers
                                  last edited by

                                  Hi I had a similar issue - tried to generate a video, and it didn't work. See the log:
                                  Screenshot 2025-03-17 at 2.31.08 PM.png

                                  1 Reply Last reply Reply Quote 0
                                  • fredo6F Offline
                                    fredo6
                                    last edited by

                                    Is there a double quote (after 1:4) in the name of the folder where Animator.

                                    Also, if you post a trace, please use the txt file (_EventLog_video_generation.txt). This is easier to read than a screen capture.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      DidiLenz Newcomers
                                      last edited by

                                      ffmpeg -framerate 30 -i ~/Desktop/test/image%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p ~/Desktop/output.mp4
                                      where do I have to insert?

                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                      • 2
                                      • 3
                                      • 1 / 3
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement