Can't rendering into video

Rendering into gif is succeed but not into video. This is what i get when open synfigstudo from terminal command and try to rendering into video:

synfig studio -- starting up application...

Gtk-Message: 14:15:57.449: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:15:57.589: Failed to load module "canberra-gtk-module"
synfig(5925) [14:15:59] info: Starting Subsystem "Sound"
mlt_repository_init: no plugins found in "/usr/lib/x86_64-linux-gnu/mlt"
synfig(5925) [14:15:59] info: Starting Subsystem "Types"
synfig(5925) [14:15:59] info: Starting Subsystem "Rendering"
synfig(5925) [14:15:59] info: rendering threads 4
synfig(5925) [14:15:59] info: Starting Subsystem "Modules"
synfig(5925) [14:15:59] info: Starting Subsystem "Layers"
synfig(5925) [14:15:59] info: Starting Subsystem "Targets"
synfig(5925) [14:15:59] info: Starting Subsystem "Importers"
synfig(5925) [14:15:59] info: Starting Subsystem "Cairo Importers"
synfig(5925) [14:15:59] info: Starting Subsystem "Thread Pool"
synfig(5925) [14:15:59] warning: Cannot open ./synfig_modules.cfg
synfig(5925) [14:15:59] warning: Cannot open /home/ubuntu/snap/synfigstudio/11/.local/share/synfig/synfig_modules.cfg
synfig(5925) [14:15:59] warning: Cannot open /usr/etc/synfig_modules.cfg
synfig(5925) [14:15:59] info: Loading modules from /snap/synfigstudio/11/usr/etc/synfig_modules.cfg
synfig(5925) [14:15:59] info: Loading modules from /snap/synfigstudio/11/usr/etc/synfig_modules.cfg
synfig(5925) [14:15:59] info: Loading lyr_std..
synfig(5925) [14:15:59] info: Attempting to register "lyr_std"
synfig(5925) [14:15:59] info: Found module "lyr_std"
synfig(5925) [14:15:59] info: Success for "lyr_std"
synfig(5925) [14:15:59] info: Loading lyr_freetype..
synfig(5925) [14:15:59] info: Attempting to register "lyr_freetype"
synfig(5925) [14:15:59] info: Found module "lyr_freetype"
synfig(5925) [14:15:59] info: Initializing FreeType...
synfig(5925) [14:15:59] info: Success for "lyr_freetype"
synfig(5925) [14:15:59] info: Loading mod_geometry..
synfig(5925) [14:15:59] info: Attempting to register "mod_geometry"
synfig(5925) [14:15:59] info: Found module "mod_geometry"
synfig(5925) [14:15:59] info: Success for "mod_geometry"
synfig(5925) [14:15:59] info: Loading mod_gradient..
synfig(5925) [14:15:59] info: Attempting to register "mod_gradient"
synfig(5925) [14:15:59] info: Found module "mod_gradient"
synfig(5925) [14:15:59] info: Success for "mod_gradient"
synfig(5925) [14:15:59] info: Loading mod_particle..
synfig(5925) [14:15:59] info: Attempting to register "mod_particle"
synfig(5925) [14:15:59] info: Found module "mod_particle"
synfig(5925) [14:15:59] info: Success for "mod_particle"
synfig(5925) [14:15:59] info: Loading mod_example..
synfig(5925) [14:15:59] info: Attempting to register "mod_example"
synfig(5925) [14:15:59] info: Found module "mod_example"
synfig(5925) [14:15:59] info: Success for "mod_example"
synfig(5925) [14:15:59] info: Loading mod_gif..
synfig(5925) [14:15:59] info: Attempting to register "mod_gif"
synfig(5925) [14:15:59] info: Found module "mod_gif"
synfig(5925) [14:15:59] info: Success for "mod_gif"
synfig(5925) [14:15:59] info: Loading mod_imagemagick..
synfig(5925) [14:15:59] info: Attempting to register "mod_imagemagick"
synfig(5925) [14:15:59] warning: Unable to find module "mod_imagemagick" (file not found)
synfig(5925) [14:15:59] info: Loading mod_magickpp..
synfig(5925) [14:15:59] info: Attempting to register "mod_magickpp"
synfig(5925) [14:15:59] info: Found module "mod_magickpp"
synfig(5925) [14:15:59] info: Success for "mod_magickpp"
synfig(5925) [14:15:59] info: Loading mod_mng..
synfig(5925) [14:15:59] info: Attempting to register "mod_mng"
synfig(5925) [14:15:59] info: Found module "mod_mng"
synfig(5925) [14:15:59] info: Success for "mod_mng"
synfig(5925) [14:15:59] info: Loading mod_noise..
synfig(5925) [14:15:59] info: Attempting to register "mod_noise"
synfig(5925) [14:15:59] info: Found module "mod_noise"
synfig(5925) [14:15:59] info: Success for "mod_noise"
synfig(5925) [14:15:59] info: Loading mod_filter..
synfig(5925) [14:15:59] info: Attempting to register "mod_filter"
synfig(5925) [14:15:59] info: Found module "mod_filter"
synfig(5925) [14:15:59] info: Success for "mod_filter"
synfig(5925) [14:15:59] info: Loading mod_ffmpeg..
synfig(5925) [14:15:59] info: Attempting to register "mod_ffmpeg"
synfig(5925) [14:15:59] info: Found module "mod_ffmpeg"
synfig(5925) [14:15:59] info: Success for "mod_ffmpeg"
synfig(5925) [14:15:59] info: Loading mod_bmp..
synfig(5925) [14:15:59] info: Attempting to register "mod_bmp"
synfig(5925) [14:15:59] info: Found module "mod_bmp"
synfig(5925) [14:15:59] info: Success for "mod_bmp"
synfig(5925) [14:15:59] info: Loading mod_dv..
synfig(5925) [14:15:59] info: Attempting to register "mod_dv"
synfig(5925) [14:15:59] info: Found module "mod_dv"
synfig(5925) [14:15:59] info: Success for "mod_dv"
synfig(5925) [14:15:59] info: Loading mod_png..
synfig(5925) [14:15:59] info: Attempting to register "mod_png"
synfig(5925) [14:15:59] info: Found module "mod_png"
synfig(5925) [14:15:59] info: Success for "mod_png"
synfig(5925) [14:15:59] info: Loading mod_ppm..
synfig(5925) [14:15:59] info: Attempting to register "mod_ppm"
synfig(5925) [14:15:59] info: Found module "mod_ppm"
synfig(5925) [14:15:59] info: Success for "mod_ppm"
synfig(5925) [14:15:59] info: Loading mod_openexr..
synfig(5925) [14:15:59] info: Attempting to register "mod_openexr"
synfig(5925) [14:15:59] info: Found module "mod_openexr"
synfig(5925) [14:15:59] info: Success for "mod_openexr"
synfig(5925) [14:15:59] info: Loading mod_jpeg..
synfig(5925) [14:15:59] info: Attempting to register "mod_jpeg"
synfig(5925) [14:15:59] info: Found module "mod_jpeg"
synfig(5925) [14:15:59] info: Success for "mod_jpeg"
synfig(5925) [14:15:59] info: Loading mod_libavcodec..
synfig(5925) [14:15:59] info: Attempting to register "mod_libavcodec"
synfig(5925) [14:15:59] warning: Unable to find module "mod_libavcodec" (file not found)
synfig(5925) [14:15:59] info: Loading mod_yuv420p..
synfig(5925) [14:15:59] info: Attempting to register "mod_yuv420p"
synfig(5925) [14:15:59] info: Found module "mod_yuv420p"
synfig(5925) [14:15:59] info: Success for "mod_yuv420p"
synfig(5925) [14:15:59] info: Loading mod_svg..
synfig(5925) [14:15:59] info: Attempting to register "mod_svg"
synfig(5925) [14:15:59] info: Found module "mod_svg"
synfig(5925) [14:15:59] info: Success for "mod_svg"
synfig(5925) [14:15:59] info: DONE
synfig(5925) [14:15:59] info: Loading Basic Settings...
synfig(5925) [14:15:59] info: Loading Plugins...
synfig(5925) [14:15:59] info: Loading plugins from /usr/share/synfig/plugins
synfig(5925) [14:15:59] info:    Loading plugin: add-skeleton-simple
synfig(5925) [14:15:59] info:    Loading plugin: lottie-exporter
synfig(5925) [14:15:59] info:    Loading plugin: view-unhide-all-layers
synfig(5925) [14:15:59] info: Loading plugins from /home/ubuntu/snap/synfigstudio/11/.config/synfig/plugins
synfig(5925) [14:15:59] info: Init UI Manager...
synfig(5925) [14:15:59] info: Init Dock Manager...
synfig(5925) [14:15:59] info: Init State Manager...
synfig(5925) [14:15:59] info: Init Main Window...
synfig(5925) [14:15:59] info: Init Toolbox...
synfig(5925) [14:15:59] info: Init About Dialog...
synfig(5925) [14:15:59] info: Init Tool Options...
synfig(5925) [14:15:59] info: Init History...
synfig(5925) [14:15:59] info: Init Canvases...
synfig(5925) [14:15:59] info: Init Keyframes...
synfig(5925) [14:15:59] info: Init Layers...
synfig(5925) [14:15:59] info: Init Parameters...
synfig(5925) [14:15:59] info: Init MetaData...
synfig(5925) [14:15:59] info: Init Library...
synfig(5925) [14:15:59] info: Init Info...
synfig(5925) [14:15:59] info: Init Navigator...
synfig(5925) [14:15:59] info: Init SoundWave...

(synfigstudio:5925): GLib-GIO-WARNING **: 14:15:59.906: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
synfig(5925) [14:16:00] info: Init Timetrack...
synfig(5925) [14:16:00] info: Init Curve Editor...
synfig(5925) [14:16:00] info: Init Layer Sets...
synfig(5925) [14:16:00] info: Init Color Dialog...
synfig(5925) [14:16:00] info: Init Gradient Dialog...
synfig(5925) [14:16:00] info: Init DeviceTracker...
synfig(5925) [14:16:00] info: Init ModPalette...
synfig(5925) [14:16:00] info: Init Setup Dialog...
synfig(5925) [14:16:00] info: Init Input Dialog...
synfig(5925) [14:16:00] info: Loading Custom Workspace List...
synfig(5925) [14:16:00] info: Init auto recovery...
synfig(5925) [14:16:00] info: Loading Settings...
synfig(5925) [14:16:01] info: Init Tools...
synfig(5925) [14:16:01] info: Checking auto-recover...
synfig(5925) [14:16:03] info: Done.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.919: Allocating size to gtkmm__GtkWindow 0x55f79fed0540 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.934: Allocating size to gtkmm__GtkNotebook 0x55f7a0aed260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.961: gtkmm__GtkNotebook 0x55f7a0aed030 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.961: gtkmm__GtkGrid 0x55f7a01e0420 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.961: gtkmm__GtkScrolledWindow 0x55f79ff23230 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.963: gtkmm__GtkNotebook 0x55f7a0aed260 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.963: gtkmm__GtkGrid 0x55f7a0232700 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.963: gtkmm__GtkScrolledWindow 0x55f7a0a20750 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.963: GtkViewport 0x55f7a0a186f0 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.963: gtkmm__GtkGrid 0x55f7a15a69e0 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.963: gtkmm__GtkVScrollbar 0x55f7a063f160 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:03.964: gtkmm__GtkDrawingArea 0x55f79f868e70 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:04.404: Allocating size to gtkmm__GtkNotebook 0x55f7a0aed260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:5925): Gtk-WARNING **: 14:16:04.418: gtkmm__GtkNotebook 0x55f7a0aed030 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:04.418: gtkmm__GtkGrid 0x55f7a01e0420 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:04.418: gtkmm__GtkScrolledWindow 0x55f79ff23230 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:04.419: gtkmm__GtkVScrollbar 0x55f7a063f160 is drawn without a current allocation. This should not happen.
synfig(5925) [14:16:09] info: Loading file: /home/ubuntu/snap/synfigstudio/11/Synfig Animation 1.sifz

(synfigstudio:5925): Gtk-WARNING **: 14:16:10.922: Allocating size to gtkmm__GtkNotebook 0x55f7a0aed260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:5925): Gtk-WARNING **: 14:16:10.957: gtkmm__GtkNotebook 0x55f7a0aed030 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:10.958: gtkmm__GtkGrid 0x55f7a01e0420 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:10.958: gtkmm__GtkScrolledWindow 0x55f79ff23230 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:10.961: gtkmm__GtkVScrollbar 0x55f7a063f160 is drawn without a current allocation. This should not happen.

(synfigstudio:5925): Gtk-WARNING **: 14:16:11.031: Allocating size to gtkmm__GtkNotebook 0x55f7a0aed260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
synfig(5925) [14:16:12] info: closed

(synfigstudio:5925): Gtk-WARNING **: 14:16:49.303: Allocating size to gtkmm__GtkNotebook 0x55f7a0aed260 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
synfig(5925) [14:17:18] info: "which ffmpeg" --> /snap/synfigstudio/11/usr/bin/ffmpeg

ffmpeg: error while loading shared libraries: libslang.so.2: cannot open shared object file: No such file or directory

I installed synfig studio from snapcraft in ubuntu stable machine.
Ffmeg and libslang.so.2 are already installed.
As I mentioned above rendering into gif animation is succeed but not into video.

Anyone can help me to resolve this issue?

I’m not (at all) a snap user… So could try to export via imagemagick (it uses an external binary too)? Or Magick++ (it uses an external library)?

1 Like

This is a packaging problem in the snap, and you should report it on launchpad.

Snaps have no access to /usr on the host machine, ever. So even if you have ffmpeg installed, synfig won’t know about it. The only things it can see are the packages which were put into the snap along with it.

I think your best solution, as well as raising a bug against the snap, is installing synfigstudio via “apt install”, or failing that, from source.

1 Like

via imagemagick (it uses an external binary too)? Or Magick++ (it uses an external library)?

That “uses an external library too?” scare me so much. :face_with_spiral_eyes:
Too scary that would be my next issues.

I think i’ll give it try to install it via apt install next time. Thanks.

1 Like

oh I just meant that is not entirely written in synfig code. it uses magick++ shared objects (.so / .dll).

Try to install it with --classic as flag

At the end, I am back to the natural ubuntu installation via apt, and YES, synfigstudio render video so well.

Thanks.

1 Like

And why not to use the AppImage (1.4.4) instead of the apt version (1.4.0)?