Export Kdenlive Project Bin as a Text Asset List

This article provides a step-by-step guide on how to export the contents of your Kdenlive Project Bin as a text-based asset list. While Kdenlive does not feature a direct “Export Bin to TXT” button in its user interface, you can quickly generate a clean, readable list of all your media assets by accessing the project’s XML file or using the Project Archive tool.

Method 1: Extracting Assets via the Kdenlive Project File

Because Kdenlive saves projects in a plain-text XML format (.kdenlive), you can easily extract the file paths of all imported assets using any text editor.

  1. Save and Close your Kdenlive Project: Ensure your latest changes are saved, then close the application.
  2. Open the Project File in a Text Editor: Locate your .kdenlive project file, right-click it, and open it with a text editor like Notepad (Windows), TextEdit (macOS), or VS Code/Notepad++.
  3. Locate the Asset Paths:
    • Search for the term resource= using the editor’s find tool (Ctrl + F or Cmd + F).
    • Each asset in your Project Bin is defined inside a <producer> XML tag, with the file path listed in the resource="..." attribute.
  4. Copy the Paths: Copy these lines into a new text document to create your asset list.

Method 2: Using Command-Line Tools (Fastest Method)

If you are comfortable with the command line, you can instantly extract a clean list of all file paths from your Kdenlive project file.

For Linux and macOS (Terminal):

Open your terminal and run the following command (replace project.kdenlive with your actual file name):

grep -o 'resource="[^"]*"' project.kdenlive | sed 's/resource="//;s/"//' > asset_list.txt

This filters out the XML markup and saves a clean list of all asset paths directly into a new text file named asset_list.txt.

For Windows (PowerShell):

Open PowerShell and run the following command:

Select-String -Path .\project.kdenlive -Pattern 'resource="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value } > asset_list.txt

Method 3: Using the Project Archive Tool

If you want to see a visual list of all assets and their file sizes without opening code, you can use Kdenlive’s built-in archiving feature.

  1. Open your project in Kdenlive.
  2. Go to the top menu and select Project > Archive Project.
  3. A window will open displaying a list of all project files, their file paths, and their sizes.
  4. While you cannot directly export this view as a text file from this window, you can take a screenshot of this list or use an OCR (Optical Character Recognition) tool to quickly grab the text if your project contains a small number of assets.