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 112.3k 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.
    • fredo6F Offline
      fredo6
      last edited by

      @kimga

      At the end of the generation, do you see a 'black' window appearing for a few seconds (this is the FFmpeg video stitching).

      Also, in the folder, there is a text file, FFmpeg_log.text. Could you look into it and see there is an error, or post it here or PM it to me.

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

        i get the same error. i can navigate to the folder while the video is generating and see the images stacking up, but once it completes the render and i hit save and exit, the ENTIRE folder is empty. no txt files, no images, nothing. just an empty folder and another 2hrs wasted... please help. i have already missed my deadline once and would like to meet the next one.

        thanks

        1 Reply Last reply Reply Quote 0
        • S Offline
          sistemasIPS
          last edited by

          What is the updated link to download the file corresponding to win64?

          1 Reply Last reply Reply Quote 0
          • S Offline
            sistemasIPS
            last edited by

            After successfully installing (I think) the ffmpeg, I get an error when exporting, in any format:
            "error in the video file generation"

            This is the file that the program generates:

            ffmpeg version n4.3.1-20-g8a2acdc6da Copyright (c) 2000-2020 the FFmpeg developers
            built with gcc 9.3-win32 (GCC) 20200320
            configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libtwolame --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
            libavutil 56. 51.100 / 56. 51.100
            libavcodec 58. 91.100 / 58. 91.100
            libavformat 58. 45.100 / 58. 45.100
            libavdevice 58. 10.100 / 58. 10.100
            libavfilter 7. 85.100 / 7. 85.100
            libswscale 5. 7.100 / 5. 7.100
            libswresample 3. 7.100 / 3. 7.100
            libpostproc 55. 7.100 / 55. 7.100
            [image2 @ 000001cab0794640] Could find no file with path 'Image%02d.png' and index in the range 0-4
            Image%02d.png: No such file or directory

            1 Reply Last reply Reply Quote 0
            • P Offline
              PeterThistle
              last edited by

              I am having a similar issue as the above, after following the instructions I am only getting a Text Document named 'FFmpeg_log_mp4'

              Below is the what is in the text file, any help would be great thanks!

              ffmpeg version N-99816-g3da35b7cc7 Copyright (c) 2000-2020 the FFmpeg developers
              built with gcc 9.3-win32 (GCC) 20200320
              configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --disable-avisynth --enable-libdav1d --disable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --disable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libvidstab --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
              libavutil 56. 60.100 / 56. 60.100
              libavcodec 58.112.100 / 58.112.100
              libavformat 58. 64.100 / 58. 64.100
              libavdevice 58. 11.102 / 58. 11.102
              libavfilter 7. 88.100 / 7. 88.100
              libswscale 5. 8.100 / 5. 8.100
              libswresample 3. 8.100 / 3. 8.100
              Input #0, image2, from 'Image%03d.png':
              Duration: 00:00:34.04, start: 0.000000, bitrate: N/A
              Stream #0:0: Video: png, rgb24(pc), 1916x929 [SAR 3780:3780 DAR 1916:929], 25 fps, 25 tbr, 25 tbn, 25 tbc
              Unknown encoder 'libx264'

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

                @peterthistle said:

                I am having a similar issue as the above, after following the instructions I am only getting a Text Document named 'FFmpeg_log_mp4'

                Did you install a recent version of FFmpeg? or which date and version (maybe, on the contrary, it is too recent).

                For whatever reason, it seems to disable the encode which is precisely needed for MP4 file.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  PeterThistle
                  last edited by

                  @fredo6 said:

                  @peterthistle said:

                  I am having a similar issue as the above, after following the instructions I am only getting a Text Document named 'FFmpeg_log_mp4'

                  Did you install a recent version of FFmpeg? or which date and version (maybe, on the contrary, it is too recent).

                  For whatever reason, it seems to disable the encode which is precisely needed for MP4 file.

                  Thanks for your help so far

                  The zip file I extracted the FFmpeg.exe from was "ffmpeg-N-99818-g993429cfb4-win64-lgpl"
                  after re-downloading and extracting it I now see all the stills in the animator videos file, the black window does appear at the end of the the generation but I am still getting just a text file in the animator video file. I don't know if it's different from before but below is what is in the file...

                  ffmpeg version N-99818-g993429cfb4 Copyright (c) 2000-2020 the FFmpeg developers
                  built with gcc 9.3-win32 (GCC) 20200320
                  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --disable-avisynth --enable-libdav1d --disable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --disable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libvidstab --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
                  libavutil 56. 60.100 / 56. 60.100
                  libavcodec 58.112.100 / 58.112.100
                  libavformat 58. 64.100 / 58. 64.100
                  libavdevice 58. 11.102 / 58. 11.102
                  libavfilter 7. 88.100 / 7. 88.100
                  libswscale 5. 8.100 / 5. 8.100
                  libswresample 3. 8.100 / 3. 8.100
                  Input #0, image2, from 'Image%03d.png':
                  Duration: 00:00:34.04, start: 0.000000, bitrate: N/A
                  Stream #0:0: Video: png, rgb24(pc), 1632x929 [SAR 3780:3780 DAR 1632:929], 25 fps, 25 tbr, 25 tbn, 25 tbc
                  Unknown encoder 'libx264'

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

                    @PeterThistle

                    I don't know what's going on with the recent versions of FFmpeg, but some seem to not include the right codec libraries. Apparently this is the case with the zip file you downloaded.

                    Could you try this one, which is with Fulllibraries at this link. I tested it on my laptop Win10-6 and it works. The file size of FFmpeg.exe is 105 Mb.

                    https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z

                    More generally there is a mess in how the builds of FFmpeg are now released. I cannot find older versions. I need to have a closer look to how to have robust instructions.

                    Fredo

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

                      i am only getting a mp4.txt file once animating my video. any ideas how i can get the mp4 will be much appreciated.

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

                        See the post just above. It may depend on which version of FFmpeg you downloaded.

                        1 Reply Last reply Reply Quote 0
                        • Bryan KB Offline
                          Bryan K
                          last edited by

                          Just downloaded both Animator and FFmpeg. Played with it just enough to make sure it works.

                          Looking forward to using it fully.

                          Thanks for the fantastic plug ins!

                          See my portfolio at https://delphiscousin.blogspot.com/

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

                            Hi all,
                            I have installed the ffmpeg on my mac but I still get the permission denied file after rendering it. I can't seem to locate in the system preferences where to authorise it? Nothing is mentioning ffmpeg?
                            Thanks in advance, Jerry

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

                              @jhandgraaf said:

                              Hi all,
                              I have installed the ffmpeg on my mac but I still get the permission denied file after rendering it. I can't seem to locate in the system preferences where to authorise it? Nothing is mentioning ffmpeg?
                              Thanks in advance, Jerry

                              It's normally in the Security panel...

                              1 Reply Last reply Reply Quote 0
                              • Q Offline
                                quillpro
                                last edited by

                                Working on a MAC (OS 11) and when I try to save a movie. The video generation dialog builds all the frames but does not change once it shows 100%. The resulting folder shows all the png's. But the log file reads...

                                sh: /Applications/ffmpeg: Permission denied

                                If I click the "Interrupt" button it moves to next screen and when I click Save and Exit the png's disappear and just the log file is left showing the permissions error.

                                Also the only options for format I can choose is MPG4 or Image sequence.

                                1 Reply Last reply Reply Quote 0
                                • Q Offline
                                  quillpro
                                  last edited by

                                  @jhandgraaf said:

                                  Hi all,
                                  I have installed the ffmpeg on my mac but I still get the permission denied file after rendering it. I can't seem to locate in the system preferences where to authorise it? Nothing is mentioning ffmpeg?
                                  Thanks in advance, Jerry

                                  Did this ever get resolved?

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

                                    This is a problem of security. In principle, you can enable FFmpeg in the Control panel, Security. It usually shows the pending validation from the user.

                                    1 Reply Last reply Reply Quote 0
                                    • Q Offline
                                      quillpro
                                      last edited by

                                      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.

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

                                        Hey there,

                                        I am not really sure if I am properly posting on this site but I hope I can get a reply from you fredo.

                                        I downloaded animator and set it up with my vray scene, just a simple rotation. It rendered about half of my animation (3 seconds) and I noticed that the clock counting the render frame time was way too long so I figured it hung up randomly. I hit interrupt and I chose to still generate my MP4. I went into the folder on my desk top labelled Animator videos and all there was was a txt file. it reads:

                                        ffmpeg version 2020-10-31-git-3da35b7cc7-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
                                        built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
                                        configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
                                        libavutil 56. 60.100 / 56. 60.100
                                        libavcodec 58.112.100 / 58.112.100
                                        libavformat 58. 64.100 / 58. 64.100
                                        libavdevice 58. 11.102 / 58. 11.102
                                        libavfilter 7. 88.100 / 7. 88.100
                                        libswscale 5. 8.100 / 5. 8.100
                                        libswresample 3. 8.100 / 3. 8.100
                                        libpostproc 55. 8.100 / 55. 8.100
                                        [image2 @ 0000022509e8e780] Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
                                        Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
                                        Input #0, image2, from 'U1618886910_Image%03d.png':
                                        Duration: 00:00:02.60, start: 0.000000, bitrate: N/A
                                        Stream #0:0: Video: png, none(pc), 25 tbr, 25 tbn, 25 tbc
                                        Output #0, mp4, to 'PH 1 ANIMATION.mp4':
                                        Output file #0 does not contain any stream

                                        I am really confused and don't know how to navigate this. I also cannot save my skp file after this has happened and it says there is something wrong and I need to save in an old version of skp. I am in PRO 2021.

                                        If anyone can help me out here I would be greatly appreciated, I was really excited to render with this tool.

                                        Thanks

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

                                          In addition to my last post

                                          VRAY frame buffer now just does not work, on any model. I have restarted, uninstalled. Something about animator has done something to the vfb, i can see it as a tab but when i try to open it it hides and does not work

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            aida
                                            last edited by

                                            @kimga said:

                                            I tried and tried over the last week. Re-installed the plugin many times, restarted the computer and set up a new film and movement.

                                            Unfortunately, the outcome is the same. The window shows all the possible formats once the FFmpeg file is located. Starts to generate the imagines into the folder. And at the end, when pressing the "save and finish" - or something similar on the bottom-right corner of the window, all the image files would disappear from the folder, no video is created at all and only the above mentioned txt file left behind....

                                            Couldn`t figure what can be the problem.

                                            I am planning to buy a new computer, workstation for Christmas. I will try if it works then.

                                            Thank you for trying to help.
                                            Cheers,

                                            FOR WHOEVER HAS THE SAME PROBLEM: I used to have sketchup pro 2018 with Animator plugin installed on and whenever i wanted to generate and export my video, nothing saved as a result; neither any video nor even an image. So, i updated my sketchup to pro 2019 and the problem fixed. now i can easily export my animation as video files. I hope it helps those in need.

                                            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