A simple Python tool to automatically generate Kdenlive title clips (.kdenlivetitle) from a CSV file. Perfect for creating lyrics videos.
- Generates ready-to-use Kdenlive title files from a simple CSV
- Preserves your custom styling from a template
- Easy to edit timing and lyrics
- Supports multi-line text
- Works offline with no external dependencies
lyrics-script/
├── template.kdenlivetitle # Your styled title template
├── lyrics.csv # Lyrics with timing
├── generate_kden_titles.py # Main script
├── kdenlive_titles/ # Generated title files (auto-created)
└── README.md
Create a CSV file with the following columns:
filename,text,duration_seconds
01_intro,காதல் என்பது...,6
02_line1,உன் பார்வையில் மயங்கினேன்,5
03_chorus,ஓஹோ ஓஹோ ஓஹோ...,8
04_verse,இதயம் துடிக்குதே,6| Column | Description |
|---|---|
filename |
Name of the generated .kdenlivetitle file |
text |
Lyric line (use \n for multi-line text) |
duration_seconds |
How long the title appears on screen |
- Open Kdenlive
- Create a new Title Clip
- Style it as you like (font, size, color, position, shadow, outline, etc.)
- Add some sample text (important!)
- Save / Export it as
template.kdenlivetitle
Tip: Use a good Tamil font such as BAMINI-Tamil09 or any Unicode Tamil font you prefer.
python3 generate_kden_titles.pyThe script will create a folder called kdenlive_titles/ containing all the individual title files.
- Open your Kdenlive project
- Go to Project Bin
- Right-click → Add Clip or Folder
- Select the entire
kdenlive_titlesfolder - Drag the title clips onto a video track above your background/video
- Python 3.x
- No additional packages required (uses only standard library)
- Keep each lyric line short and readable
- Recommended duration: 3–8 seconds per line
- You can re-run the script anytime after editing the CSV
- Sort the Project Bin by name so titles appear in the correct order
- Use keyframes or fade effects in Kdenlive for smoother transitions
- Write/prepare your lyrics in a text editor
- Convert them into the
lyrics.csvformat - Create a beautiful title template once
- Run the script → import titles → place them on timeline
- Sync with music and render
Made for easy and fast lyrics video creation with Kdenlive.