This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Complete list of HTML codes OK in subtitles

Tags: None
(comma "," separated)
User avatar
jimh
Registered Member
Posts
5
Karma
0
I'm enjoying using Kdenlive 22.04.2 on a Macbook Pro running macos 11.6.7 (Big Sur). Congratulations, developers, it's great :-)
I have just started using subtitles, and found in an online video that I can use HTML codes to change features of the characters, such as font and colour. For example, I currently use
Code: Select all
<font color="yellow" size="24" face="Verdana" > text of subtitle </font>

The characters are nicely shadowed, so that helps viewers to read them.

But I would also like to be able to set the background colour of the subtitle frame to something like "black with semi-transparency". Is this possible?

Can anyone tell us the complete list of HTML codes that my version of Kdenlive supports?

Thanks for thinking about this,
Jim
User avatar
Makinars-Studio
Registered Member
Posts
86
Karma
3
OS
Sorry I just saw your post right now :|

But I would also like to be able to set the background colour of the subtitle frame to something like "black with semi-transparency". Is this possible?

No, it's not, I'm also waiting for it. ^-^


SRT supports markup for: bold, italic, underline, text color and line break.

<b>text in boldface</b>
<i>text in italics</i>
<u>text underlined</u>
<font color="#00ff00"> text in green</font>
you can use the font tag only to change color.

And all combined: <font color="#00ff00"><b><i><u>All combined</u></i></b></font>
Line break: Add on the end of each line a <br> (for break). Now the .srt file is stored correct and reopened with the line break. The subtitle in the subtitle window will be all in 1 line after several save but the breaks is working.

Alt + arrow jumps from subtitle to subtitle.


Sorry but we have to wait a little more for improvements. ;)


User avatar
jimh
Registered Member
Posts
5
Karma
0
Thanks, @Makinars-Studio, for those details. I'm sure I'll find them helpful.
Can that information be added to the documentation somewhere?


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]