sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    FFmpeg: Instructions for download and Install

    Scheduled Pinned Locked Moved Animator Beta
    renderpluginsextensions
    46 Posts 24 Posters 128.5k Views 24 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.
    • B
      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
        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
          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
            Fantin75 Newcomers
            last edited by

            This post is deleted!
            1 Reply Last reply
            Reply Quote 0
            • F
              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
                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
                  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
                  • S
                    Scit
                    last edited by

                    Hello, FFmpeg continues to generate 25 fps videos (mp4) 1920x1080 despite of selecting different framerates. please help

                    T 1 Reply Last reply
                    Reply Quote 0
                    • T
                      TDahl @Scit
                      last edited by TDahl

                      @Scit @fredo6 I see the same issue - all MP4 videos seem to be encoded as 25FPS regardless of what is set in the Animator clip creation UI. I am using a Mac Studio with macOS 26.6.2. I am not sure what version of ffmpeg I have; I think it was "inherited" from my previous Mac when I installed this Mac Studio and migrated the contents from my prior Mac.

                      Edited to add: I just updated ffmpeg to a build from a few days ago (downloaded from https://ffmpeg.martin-riedl.de/) and there is no difference. MP4 clips are still encoded as 25FPS even when, for example, 30FPS is selected in the Animator GUI.

                      This is causing some grief in my video editor (iMovie), complicating how I time some voice-over with the video content, and also with how I have the editor dissolve from one clip to another when frame-by-frame synchronization is important.

                      1 Reply Last reply
                      Reply Quote 0
                      • T
                        TDahl
                        last edited by

                        Here is an update on the issue of MP4 clips always being encoded by Animator at 25 FPS regardless of what frame rate was requested in the Animator UI dialog box. I found a way on-line to use ffmpeg to create a copy of an MP4 clip file with a different encoded frame rate. In this example, I wanted to create a clip at 30 FPS. I used Animator to create a clip file called Clip.mp4 of an animation that is 10 seconds long (according to the Animator clip editor timeline); I requested 30 FPS in the Animator UI which means 300 frames in the clip. Animator created 300 frames as expected, but tagged the resulting Clip.mp4 MP4 file as 25 FPS. As a result, when the 300 frames in clip.mp4 are played back on the computer the clip lasts 12 seconds (300 frames at 25 FPS yields 12 seconds). This is not wanted; I intended the clip to play in 10 seconds at 30 FPS. Here is an ffmpeg command that will adjust the frame rate of a new copy of the clip (named Clip-30fps.mp4) to be 30 FPS:

                        ffmpeg -itsscale 0.83333 -i Clip.mp4 -map 0 -c copy Clip-30fps.mp4

                        This basic command will work to make a new copy of any clip (substituting the clip filenames as desired) to be 30 FPS, when the original clip was encoded at 25 FPS. The key switch in the command is "-itsscale 0.83333"; the number 0.83333 is the approximate ratio between 25 FPS and 30 FPS.

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement