Registered Member
|
I'm trying to use the "Automatic Scene Split" feature in Kdenlive v16.08.2, running on Ubuntu 16.04, but I'm not getting any results.
I'm fairly new to kdenlive, so I don't know whether I'm experiencing a bug or just failing to understand how the feature works. I right-click on a clip in the project bin, and select "Clip Jobs -> Automatic Scene Split". In the following box, 'Add Clip Markers (Category 1)' is already selected. No matter which other boxes I also select, after I click 'OK', I can see the job running and the clip being analyzed, but when it finishes there are never any markers or cuts identified in the project monitor, or in the timeline if I add the clip there later. No markers appear in the clip properties. If I select 'Save Result in clip metadata', it will save a long list of cuts (which I don't know the meaning of) which show in the 'Analysis Data' panel of clip properties: this suggests to me that the analysis IS identifying scene changes, but it's either not applying them, or I'm misunderstanding how to use this feature. If I save the analysis data to a file, it looks like:
(The sequence is longer than this; I just included the first third or so. FWIW, Higher numbers seem to line up with obvious scene changes, but some of the lower numbers seem like false positives.) Can anyone else identify this same behavior to determine if this is a bug - or perhaps explain how I should be using this feature? It would be extremely useful if I could get it working. |
Registered Member
|
I have the same behavior using kdenlive 16.08.2 under Mint 18.0 so I believe this is a bug rather than a user error. Files I have tested are standard H264/MP4.
It is possible that there are dependencies on other software which are not satisfied unless one is using a KDE desktop. I recall in the old days there used to be check of what software was available when you first ran Kdenlive. |
Registered Member
|
I'm using Ubuntu 18.10 and kdenlive 18.08.2
I have also been suffering from this feature not working. Having also ticked the option (Save result in clip metadata) and analysed the data there I have concluded the following: Data starts with "shot_change_list=1=14020/0:0x0:0;" - I've not been able to dechiper this, but following the ";" there are pairs of data, the first of which is the frame count of the detected scene change, then "=" and a second number I can't decode, but maybe some indication of the amount of change - pure guess. This data is also written into the saved kdenlive file eg "myfile.kdenlive". I wrote a python3 script which reads the kdenlive file and creates a new one "myfile_new.kdenlive" with guide markers inserted at each of the scene changes found. This new file can be opened with kdenlive and now contains labelled guide markers which can be easily found and the clip split if required by normal editing. The script can be run from the command line
If the script file is saved in (.local/share/nautilus/scripts) then it can be run by right clicking on your required kdenlive file directly. The kdenlive file should be created by importing just one clip file, placing it on the timeline then right clicking on the clip in the clip window and selecting (Clip Jobs/Automatic scene split/Save result in clip metadata) then clicking OK. Then from the main menu save the kdenlive file. - Run the script and then open the new file in kdenlive. I am not an experienced programmer and my code may not be the most efficient but it works for me and the code is given in good faith. Obviously you should use it at your own risk and I cannot accept any responsibilities for any errors, omissions, faults etc. save as kden_C2G.py (kdenlive Clips to Guides)
I have also written another script which I use to use kdenlive file with guides or markers to create a video file with Chapters inserted at each marker. Which I can make available if required. I hope this helps until someone fixes kdenlive |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]