Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79101 - [opencv] Kdenlive tracing is broken but...

Attached to Project: Arch Linux
Opened by Guido Iodice (guiodic) - Friday, 14 July 2023, 10:10 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 23 July 2023, 22:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Kdenlive tracking with opencv is broken, it arrives to 99% then fails.

In the past I had used the package from cachyOS and it seemed to work. Unfortunately, however, CachyOS is now unable to compile the package. So, I tried to compile it by hand with the -03 and -march=x86-64-v3 flags but it didn't work.

So I did an experiment, copied the files from slackware and replaced them with those from Arch and... miracle, it works!


This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 23 July 2023, 22:23 GMT
Reason for closing:  Works for me
Additional comments about closing:  Nothing we can do without a way to reproduce, error messages or more information.
Comment by Guido Iodice (guiodic) - Friday, 14 July 2023, 10:12 GMT
to be clear: I copied the libopencv_* files
Comment by Antonio Rojas (arojas) - Friday, 14 July 2023, 11:41 GMT
Please provide detailed steps to reproduce
Comment by Guido Iodice (guiodic) - Friday, 14 July 2023, 13:11 GMT
1. On KDElive import a clip in the timeline
2. Add "Motion tracker" effect to the clip
3. select a moving object, than apply the effect

KCF algorithm sometimes work for the first time, not the second one.
Other algorithms fail at 99%
Comment by Guido Iodice (guiodic) - Friday, 14 July 2023, 13:13 GMT
this is how it should work
Comment by Antonio Rojas (arojas) - Friday, 14 July 2023, 16:44 GMT
I can't reproduce this. I'm going to need much more specific instructions including a sample clip.
Comment by Guido Iodice (guiodic) - Friday, 14 July 2023, 17:54 GMT
It actually happens with all videos, however the video I used as an example can be found here: https://www.pexels.com/video/a-man-jumps-into-the-air-from-a-wooden-table-3185733/

Can I ask if you are using opencv or opencv-cuda? And what GPU do you have? My suspicion is that the problem may be related to my Intel (tiger lake)
Comment by Antonio Rojas (arojas) - Friday, 14 July 2023, 18:39 GMT
All works fine with that video too. Regular (non-CUDA) package.
Comment by Guido Iodice (guiodic) - Tuesday, 18 July 2023, 12:12 GMT
What GPU?
Comment by Guido Iodice (guiodic) - Tuesday, 18 July 2023, 12:16 GMT
this is the slackbuild file. Any clue?
Comment by Antonio Rojas (arojas) - Tuesday, 18 July 2023, 13:22 GMT
Two different machines, AMD and Intel Whiskeylake - all works fine.

Loading...