https://bugs.kde.org/show_bug.cgi?id=384199

            Bug ID: 384199
           Summary: kdenlive is really slow to open a large project
           Product: kdenlive
           Version: git-master
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: mikko.rap...@iki.fi
  Target Milestone: ---

In my large project I have around 408 clips and photos. Open the project takes
over 10 minutes on an i686 with 2 gigs of ram and a fast SSD.

I think this is a bit too much. Checking strace output during loading of the
project, when btw the popup dialog is not updated at all, shows that for
example all JPG files are opened and checked multiple times:

strace -ttt -e open -p 5786
1504124281.861213
open("/home/mcfrisk/Videos/20170205_bayerische_wald_nesselwang
_ski_tour/nesselwang/DSC08454_taksi_ok.JPG", O_RDONLY|O_LARGEFILE) = 21
1504124282.802752
open("/home/mcfrisk/Videos/20170205_bayerische_wald_nesselwang
_ski_tour/nesselwang/DSC08454_taksi_ok.JPG", O_RDONLY|O_LARGEFILE) = 21
1504124283.295829
open("/home/mcfrisk/Videos/20170205_bayerische_wald_nesselwang
_ski_tour/nesselwang/DSC08454_taksi_ok.JPG", O_RDONLY) = 21
1504124283.309766
open("/home/mcfrisk/Videos/20170205_bayerische_wald_nesselwang
_ski_tour/nesselwang/DSC08455_j.JPG", O_RDONLY|O_LARGEFILE) = 21
1504124284.242783
open("/home/mcfrisk/Videos/20170205_bayerische_wald_nesselwang_ski_tour/nesselwang/DSC08455_j.JPG",
O_RDONLY|O_LARGEFILE) = 21
1504124284.731773
open("/home/mcfrisk/Videos/20170205_bayerische_wald_nesselwang_ski_tour/nesselwang/DSC08455_j.JPG",
O_RDONLY) = 21

Surely it would be enough to open and check the file only once.

For videos for which I'm using tiny proxy files, opening seems to be faster.

Also, the project loading is not utilizing multiple CPU's and GUI is not
updated. Would be nice to have multiple processes or threads handling the file
checks, and to have some kind of updated progress meter when doing work for
several minutes.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to