Bug 446957

Summary: Motion Tracking is missing from the Effects / Alpha, Mask and Keying area. Can not use new AI based motion track
Product: [Applications] kdenlive Reporter: postaccount
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: major CC: julius.kuenzel
Priority: NOR    
Version First Reported In: 21.12.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description postaccount 2021-12-13 23:14:58 UTC
SUMMARY
***
Motion Tracking is missing from the Effects / Alpha, Mask and Keying area.  Can not use new AI based motion track
***


STEPS TO REPRODUCE
1.  Upgrade to latest 20.12
2.  Install the required models as per instructions
3.  Run KdenLive
4.  Import footage
5. Head to the Effects tab.  Try and find Motion tracking.



OBSERVED RESULT
No option for motion tracking

EXPECTED RESULT
Expected a motion tracking option

SOFTWARE/OS VERSIONS
Pop!_OS 20.04 LTS
X11
Gnome
kdenlive Version 21.12.0

I hope that helps.
Comment 1 Julius Künzel 2021-12-15 17:31:19 UTC
Thanks for your report! How have you installed Kdenlive? Via Appimage, Flatpak, PPA or through the packages of your system?
The motion tracker effect requires OpenCV and if you use the system packages you have to install this separately on some distros…
Comment 2 postaccount 2021-12-15 22:33:06 UTC
(In reply to Julius Künzel from comment #1)
> Thanks for your report! How have you installed Kdenlive? Via Appimage,
> Flatpak, PPA or through the packages of your system?
> The motion tracker effect requires OpenCV and if you use the system packages
> you have to install this separately on some distros…

Thanks for the reply.

I installed via the POP OS store.  I was amazed they had the latest in their store the day I read about the new build.  Good on them.

OpenCV was not installed.  So I did so just now via  `sudo apt install libopencv-dev python3-opencv`.

Verified it worked via `python3 -c "import cv2; print(cv2.__version__)"`.

Loaded kdenlive and still no entry for motion tracking anywhere in the effects area.  Searching for `motion` only comes up with `motion-compensation deinterlacing`.

I hope that helps.
Comment 3 Julius Künzel 2021-12-16 12:43:44 UTC
Hmm. The problem is that mlt (the media backend Kdenlive uses) needs to be build with OpenCV. I guess either you have to build mlt yourself or you use one of the official packages (Appimage and Flatpak are recommended) from https://kdenlive.org/downloads2/ The Kdenlive team does not have control about distro packages.
Comment 4 postaccount 2021-12-17 00:52:45 UTC
(In reply to Julius Künzel from comment #3)
> Hmm. The problem is that mlt (the media backend Kdenlive uses) needs to be
> build with OpenCV. I guess either you have to build mlt yourself or you use
> one of the official packages (Appimage and Flatpak are recommended) from
> https://kdenlive.org/downloads2/ The Kdenlive team does not have control
> about distro packages.

OK I removed the popos repo version and tried the flatpak.
It's there!  Thank you for your help.  Appreciated.