This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Request: Bulk import image sequences

Tags: None
(comma "," separated)
User avatar
djfun
Registered Member
Posts
11
Karma
0
OS

Request: Bulk import image sequences

Mon Dec 05, 2016 10:09 pm
So for some video projects I have a lot of animated lower thirds or other animations that I render with Natron or Blender as png image sequences. Adding each one of these sequences by hand to the project can get very tedious. Sure, I can edit the .kdenlive xml with a script, but then I have to find ids and some value for kdenlive:file_hash.

It would be easier, if there was a dialog (or an option in the main clip dialog), where you could select some folders and Kdenlive would import the contents of each folder as an image sequence.
capslock
Registered Member
Posts
699
Karma
4
OS
Does Project Bin->right click->Add Slideshow clip work for you? It should do exactly what you need.
User avatar
djfun
Registered Member
Posts
11
Karma
0
OS
capslock wrote:Does Project Bin->right click->Add Slideshow clip work for you? It should do exactly what you need.

Well, with this dialog I can also only import one image sequence at a time, or am I missing something? I would like to import like for example 50 sequences with 100 pictures (or frames) each in one operation.
capslock
Registered Member
Posts
699
Karma
4
OS
Ah, now I got the point... Sorry, I don't think, there is an easy (one dialog) solution for this in kdenlive. Maybe creating a lossless clip from each folder with ffmpeg might help you out (execute in each folder, clips must start with <name>000):

ffmpeg -r 25 -i <name>%03d.png -c:v ffv1 -qscale:v 0 <losslesfilename>
User avatar
farid
Registered Member
Posts
316
Karma
2
OS
that is actually an interesting feature request. please report it in the bug tracker and hopefully someone might pick it up.

cheers


vpinon
KDE Developer
Posts
708
Karma
6
OS
Until such a feature gets included (if ever), another solution without transcoding would be to write a script directly editing the .kdenlive project: it's plain XML and the Slideshow clip syntax is simple…
User avatar
djfun
Registered Member
Posts
11
Karma
0
OS
vpinon wrote:Until such a feature gets included (if ever), another solution without transcoding would be to write a script directly editing the .kdenlive project: it's plain XML and the Slideshow clip syntax is simple…


Which value should "kdenlive:file_hash" have, though? Or can it be empty?
Merlimau
Registered Member
Posts
986
Karma
8
Please try with the current Kdenlive AppImage version 19.08.0a: https://files.kde.org/kdenlive/release/

Importing complete folder content is now possible.
User avatar
WayneSallee
Registered Member
Posts
1
Karma
0
Also a method that works for me with an older version of kdenlive, is to open a folder of videos, and select all of the videos, and then drag and drop them into kdenlive clips.

Wayne Sallee
Wayne@WayneSallee.com


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]