Animator module not exporting in any format

I have used the Animator module in the past to produce short animations of volumes rotating, being cropped to ROIs or changing their colors.

I have not been able to export animations today, in any format or resolution, of the same type of animations. The rendering process seems to reach the end of the animation time (either 3 or 5 seconds) and then the render window remains open and nothing happens afterwards. I have tried reinstalling Slicermorph, saving as different file types, saving low res versions and nothing.

Currently running 3DSlicer 5.10.0, Slicermorph updated, on Win11 with RTX 4070

Any advise?

Can you look in the error log (under the Help menu, Report a Bug dialog) to see if there are any messages when the animation stops. Also look in the python console for any messages.

There hasn’t been any change to the Animator in the stable branch for last three years. Given your description, I suspect your system is having a hard time locating the ffmpeg library to do the conversion to mp4.

Have you changed your computer? If so, you need to install ffmpeg. It is an external library needed to create the mp4s.

I have now checked the error log (thanks pieper) and from what I can understand it seems to be what muratmaga indicated regarding the ffmpeg. This is the error I see in the log, regardless of the resolution and format I am trying to save:

"[INFO][Python] 27.05.2026 16:53:38 [Python] (C:\Users\attic\AppData\Local\slicer.org\3D Slicer 5.10.0\lib\Slicer-5.10\qt-scripted-modules\ScreenCapture.py:856) - Export to video…

[CRITICAL][Stream] 27.05.2026 16:53:38 [] (unknown:0) - Traceback (most recent call last):

[CRITICAL][Stream] 27.05.2026 16:53:38 [] (unknown:0) - File “C:/Users/attic/AppData/Local/slicer.org/3D Slicer 5.10.0/slicer.org/Extensions-34045/SlicerMorph/lib/Slicer-5.10/qt-scripted-modules/Animator.py”, line 948, in onExport

[CRITICAL][Stream] 27.05.2026 16:53:38 [] (unknown:0) - logic.createVideo(

[CRITICAL][Stream] 27.05.2026 16:53:38 [] (unknown:0) - File “C:\Users\attic\AppData\Local\slicer.org\3D Slicer 5.10.0\lib\Slicer-5.10\qt-scripted-modules\ScreenCapture.py”, line 1432, in createVideo

[CRITICAL][Stream] 27.05.2026 16:53:38 [] (unknown:0) - raise ValueError(_(“Video creation failed: ffmpeg executable path is invalid: {path}”).format(filepath=ffmpegPath))

[CRITICAL][Stream] 27.05.2026 16:53:38 [] (unknown:0) -"

I have not changed computer nor installations of 3DSlicer. I tried reinstalling ffmpeg but it does not seem to have changed anything, same error comes up.

Error is very clear: ffmpeg path is invalid. Try downloading and unzipping somewhere else, maybe like your desktop or documents folder.

I reinstalled ffmpeg in the Documents folder and still did not work. I had to specify the new path in the “Screen Capture” module, and then the Animator export did work.

Thanks for the advise!