Kdenlive freezes when the stabilized .mlt file is dragged on to Timeline and recovers after a couple of minutes. Freezes again if the Timeline playhead is dragged from one position to another. Besides, the stabilized clip didn't look stabilized at all so I'm not sure if stabilization itself is working.
Thanks for your report! I can not reproduce your problem with 20.12.3. Can you please give us more information: 1) What packaging type do you use (appimage, flatpak, ppa,…)? 2) Do you have the problem with all videos or only with a certain file or file type (*.mp4,…)? 4) Do you have the same problem with other *.mlt clips (try e.g. the generators menu Project > Generators) 3) Can you please attache your destination files *.mlt and *.mlt.trf here to the bug report? 4) Do you have experience with clip stabilization in previous kdenlive versions (which versions?)? Does it work with these versions?
Created attachment 137224 [details] Stabilization dialog in 20.08
Created attachment 137225 [details] Stabilization dialog in 20.12.3
Created attachment 137226 [details] *.mp4.mlt
Created attachment 137227 [details] *.mp4.mlt.trf
Hello Julius, thank you for your response. Here's the info you needed: 1. Appimage - kdenlive-20.12.3a-x86_64.appimage 2. I have tested this with several .mp4 videos and found the same problem. However, all these .mp4 videos could be successfully stabilized with versions 20.08. Additional details - When I check the 'stabilized' folder after a clip is stabilized, the stabilized clip still shows a progress bar at bottom and status shows 1 job in queue and the computer freezes. I have to either restart Kdenlive or my computer. This happened with all clips I tried to stabilize except one rare case when I was able to stabilize a clip. However even with this rare case it was a very slow process - after dragging the stabilized .mlt file on the Timeline I needed to wait for about 5-7 mins and only then the project monitor was able to play the clip. By the way, the vidstab dialog box looks slightly different in versions 20.08 vs 20.12.3. Just found this interesting and thought of sharing in case this helps (see attachment). 3. Yes I faced the same with the generator .mlt clip as well. While the stabilization process finally completed without having to restart Kdenlive but it was a very long process (took about 3 minutes to stabilize a 5 second generator clip, and then after dragging the stabilized .mlt file on the Timeline I needed to wait for about 5-7 mins and only then the project monitor was able to play the clip). 4. I have attached the destination files *.mlt and *.mlt.trf for the only one clip that I was able to successfully stabilize because on other occasions I had to restart Kdenlive / computer and therefore do not have the *.mlt.trf files. 5. Yes, I do. I have successfully stabilized clips in versions 20.08 and 20.04.
Thanks for your answer. For 3. maybe I was not clear: I meant if you have the same problem if you simply use a generator clip (without stabilization). I want to test this way if it is maybe not a issue with stabilization but with *.mlt clips in general. The fact that you see the progress bar (1 job) for the clip inside the "stabilized" folder seems as if the stabilization it self works, but there are problems with the stabilized *.mlt clip. Can you maybe try to stabilize a clip with a previous version and import the *.mlt file to 20.12 and the other way around? I think the UI difference comes from a Qt or KDE Frameworks update
Okay. It seems there is an issue with the decoding of the *.mlt.trf file. In older appimage versions it is human readable with a text editor. With appimage 20.12.3 not. The 20.12.3 flatpak works fine (can you confirm?) So I guess this is a upstream issue with vidstab introduced with a recent change (because the vidstab is build from master branch for the appimage). I will do some investigations and maybe update the dependencies. This can take some days and I will come back to you as soon as I have something to test…
Thanks Julius. As to no. 3, a generator clip without stabilization works fine, so the issue isn't with *.mlt clips in general. As to your other point, the *.mlt file of clip stabilized via 20.08 doesn't work with 20.12. When I drag the *.mlt file on to the Timeline of 20.12, the project monitor doesn't play the clip.
I created a test appimage. Can you please try https://files.kde.org/kdenlive/unstable/kdenlive-21.07.70-b4d2c85-vidstabtest1-x86_64.appimage ?
(In reply to Julius Künzel from comment #10) > I created a test appimage. Can you please try > https://files.kde.org/kdenlive/unstable/kdenlive-21.07.70-b4d2c85- > vidstabtest1-x86_64.appimage ? Hi Julius, I tested this and this one seems to be working fine.
Git commit 68e559ec556f0498a906445eca91485375f28de0 by Julius Künzel. Committed on 03/04/2021 at 11:00. Pushed by jlskuz into branch 'release/21.04'. Appimage dependencies: Freeze vidstab version M +1 -0 packaging/appimage/3rdparty/ext_vidstab/CMakeLists.txt https://invent.kde.org/multimedia/kdenlive/commit/68e559ec556f0498a906445eca91485375f28de0