What is your operating system?
Linux Mint 20.3
Linux 5.4.0-109-generic(x86_64)
What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
22.04.25
shotcut-linux-x86_64-220425.AppImage
Can you repeat the problem?
Yes
Last appimages packages of ShotCut don’t contains library libmltsox.so.
Error message from log of video export:
mlt_repository_init: failed to dlopen /tmp/.mount_shotcu5Ve8JS/usr/bin/lib/mlt-7/libmltsox.so
(libsox.so.3: cannot open shared object file: No such file or directory)
Consequence:
Exported video does not contains image sequences from JPEG or PNG pictures.
Instead of picture is text “INVALID” shown.
Last version, which can be export video without this error is 21.05.18
Windows compilation of same version (22.04.25) working fine.
Sox is not the problem; that is an audio processing library unused by Shotcut. Images load fine for me on Ubuntu 20.04. Others on Linux have reported a problem like this, but none of the developers reproduce it.
Here is one of the other threads where I tested an earlier version successfully on Mint 20.2. I just tested version 22.04.25 of the AppImage where it also worked fine.
I prepared clean virtual machine in VirtualBox with fresh installation of Mint 20.3, with shotcut-linux-x86_64-220425.AppImage and I made test with same project (and same source files), as I using on computer, where problem is still exist.
Without error.
You are right, this problem seems as depend of specific computer settings ;-(
Can you please advise me how I could try to debug this error on the computer on which the error persists?
Which libraries or which parameters should I compare? Or which logfiles I have to check?
(The AppImage and Snap are based on the portable tar.)
Shotcut and MLT uses Qt to load images. The bundled Qt directly supports PNG without a library or plugin, but it uses a plugin for jpeg that statically links libjpeg but surprisingly links libpng!
OK, that looks about the same. After you source source.me and run shotcut (bin/shotcut will be in $PATH) does it make a difference with respect to image loading?
No. On this computer still behavior same (bad). It behames the same, if I run Shotcut as appimage package, or if I run it as portable (unpacked from TAR) application.
Hello. I was thinking I left the problem behind me, but yesterday I got It again. This time with PNG files too. The thing is that I copied all project files from my main computer (Linux Mint) to my laptop (Manjaro), and problem is the same. I’m trying to isolate when it happens, but I haven’t been able to do it. It happens with JPG and PNG images, scaled or not, full o partial screen.
Another thing I’ve found is that if you try to export partial timeline using a marker, if there is a image that begins in timeline before the beginning of the marker, it is “whited” when exporting.
It is not related to the images by themselves, because if you delete the image from timeline and put it again in, sometimes it exports ok.
Both of my systems are using NVIDIA cards, and same video version, but I tried to export using hardware codec and software codec, and results are the same.
If you use fade video in, and the image “whites”, it fades to white, I’ve been able to “white” only a portion of the screen scaling “whiteing” images.
Sometimes it happens to one image in one track, sometimes to various tracks.
I think it doesn’t happen to me with images without filter. But scaling of fading, or any other filter that “modifies” the image can cause the white in exporting. But I’m not really sure of it.
I’m just trying to give maximum details of what I am seeing, just to give you some clue to get to it.
Hi,
I confirm that the FlatPak version is working properly (on the same computer).
Unfortunately, version of ShotCut packaged in FlatPak is older, as current (the current one is 22.04.25, the version on FlatHub is 22.04.22 only).
Thanks, I did not realize the v22.04.25 build on flathub failed. (Did I get an e-mail notification for that?) I just pushed a fix for that and will be published by tomorrow May 11.
I’m now testing Snap package and it seems to work ok too, 22.04.25 here.
I noticed that Snap package is using the configuration files in my home folder, but Flatpack package is not using them. Maybe the distribution nature of the packaging system.
Regards.
EDIT: no, snap package is failing too. The only way is flatpak for me
The next version builds snap, portable, and AppImage using a newer version of Ubuntu due to new feature and might remedy this. You can get a nightly portable build from our GitHub Actions page or wait for the beta later this month.