FS#74957 - [kdenlive] motion traking doesn't work
Attached to Project:
Arch Linux
Opened by Guido Iodice (guiodic) - Saturday, 04 June 2022, 12:29 GMT
Last edited by Antonio Rojas (arojas) - Monday, 27 June 2022, 22:37 GMT
Opened by Guido Iodice (guiodic) - Saturday, 04 June 2022, 12:29 GMT
Last edited by Antonio Rojas (arojas) - Monday, 27 June 2022, 22:37 GMT
|
Details
Description:
motion traking fails very often with all algorithm but kcf. It works in upstream appimage I tried to install opencv from testing (4.5.5-7) and mlt-git from Aur without any results. log: Current Frame: 1, percentage: 0 animation initialized FAILED Current Frame: 5, percentage: 2 Current Frame: 11, percentage: 4 Current Frame: 18, percentage: 7 Current Frame: 24, percentage: 10 Current Frame: 30, percentage: 13 Current Frame: 36, percentage: 15 Current Frame: 43, percentage: 18 Current Frame: 49, percentage: 21 Current Frame: 55, percentage: 24 Current Frame: 61, percentage: 26 Current Frame: 68, percentage: 29 Current Frame: 75, percentage: 33 Current Frame: 81, percentage: 35 Current Frame: 87, percentage: 38 Current Frame: 94, percentage: 41 Current Frame: 101, percentage: 44 Current Frame: 108, percentage: 47 Current Frame: 115, percentage: 50 Current Frame: 121, percentage: 53 Current Frame: 127, percentage: 55 Current Frame: 134, percentage: 59 Current Frame: 140, percentage: 61 Current Frame: 147, percentage: 64 Current Frame: 154, percentage: 67 Current Frame: 160, percentage: 70 Current Frame: 167, percentage: 73 Current Frame: 173, percentage: 76 Current Frame: 180, percentage: 79 Current Frame: 186, percentage: 81 Current Frame: 193, percentage: 85 Current Frame: 199, percentage: 87 Current Frame: 206, percentage: 90 Current Frame: 212, percentage: 93 Current Frame: 218, percentage: 96 Current Frame: 224, percentage: 98 |
This task depends upon
https://www.dropbox.com/sh/799sn40ufdhwqvp/AAA-_q1x7MQ2Y3O3OfccqU6ra?dl=1
steps to reproduce
open kdenlive
open prova.kdenlive
select the clip in the timeline
go to effect stack
in motion tracking click on "analyze"
try with different algotithms
p.s. sometimes also kcf fails.
Just to try I installed opencv from here: https://mirror.cachyos.org/repo/x86_64_v3/cachyos-v3/
and this solved the problem.
works perfectly.
Maybe the -O3 optimization?
#CPPFLAGS=""
CFLAGS="-march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
Well, can you please check?
can you please build a -O3 somewhere so I can test it?
https://github.com/opencv/opencv/blob/4.x/CMakeLists.txt#L98