Skip to content

Gr-og/KdenSubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert ".srt" files to ".kdenlivetitle" files for use in Kdenlive.

Do it online with the webapp or offline with the shell script.

ONLINE TOOL:

upload your srt file and customise your subtitle.

https://gr-og.github.io/KdenSubs/

webapp







SHELL SCRIPT:

Use your own title clip as template offline.

script

How it works:

The script uses a ".kdenlivetitle" template file to create multiple title files containing the subtitle text from an ".srt" file.

The resulting title files will have the same parameters as the template (Font, Size, Color, Position ...).

Some titles have "_" in the name. these are blanks used for padding in the timeline so that the titles align with the subtitles, but can be removed later.

Features:

Change font color

You can input hex colors to change font color without modifing your template file.

  • Empty: use template color
  • Color 1: (#RRGGBB) changes font to color 1
  • Color 2: (#RRGGBB) uses both colors for a gradient

Change vertical position

You can change the vertical position of the subtitles. y is the distance in pixels from the top.

  • Empty: use same vertical position as template
  • y=0: Top
  • y=project height: Bottom

Max characters per line

You can set the maximum number of characters per line for long subtitles.

  • Empty: Keep same number of lines as srt
  • 0: Unlimited

How to use:

  • Download kdensubs.sh
  • Add execute permission with chmod +x
  • Put the subtitle and template files in the same directory as the script
  • Run the script
  • Drag and drop the resulting folder to Kdenlive bin
  • Sort by name
  • drag and drop titles into the timeline

you can optionally remove blank titles by sorting by date and removing titles with "_" in the name.