Bug 414142 - [Request] Please add a GUI option to remove all blank spaces in a track
Summary: [Request] Please add a GUI option to remove all blank spaces in a track
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Timeline & Editing (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 409965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-14 16:40 UTC by Michael Tunnell
Modified: 2024-10-02 07:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tunnell 2019-11-14 16:40:00 UTC
You can currently remove spaces in a track or you can remove the same space in the all tracks but it would be a fantastic feature to be able to remove all spaces of a single track all at once.

I would prefer it to have an option to remove all the spaces in a single track and then another option that removed all the spaces in every track though I would need to keep the clips proportional.

Sometimes when I do the remove from all tracks it cuts clips that overlap and that sort of thing so maybe removing all spaces in all tracks wouldnt work out that well but if it was possible to remove the spaces and keep the tracks in the right size and right location, that would be incredible. :D

---

I asked this in the telegram group and Vincent gave me a way to do it in the XML and I tried it yesterday. It worked perfectly and easily saved me 20 minutes of pointless space removal :D

Here is the method Vincent provided that I used quite happily:

until we implement that, you can open your project in an editor, search & delete all lines containing <blank length="*"/>

in all file for all tracks, or select the right playlist if you want to apply only on a single track

in shell:
sed '/<blank length/d' infile.kdenlive > outfile.kdenlive

to limit to a given range:
sed '/<playlist id="playlistYOURNUMBER">/,/<\/playlist>/{/<blank /d}

---

this works for now but having it built into the GUI would be amazing and a promotional worthy time saver. :D
Comment 1 Julius Künzel 2021-03-24 15:55:28 UTC
*** Bug 409965 has been marked as a duplicate of this bug. ***