Score:1

How To change color and font of several subtitles together?

ck flag

I have a number of srt files with subtitles. I want to change all of them together + change the font, is there a command for this?

Mochan avatar
kr flag
Unless you still need help and update your question to include details specific to the player running in Ubuntu, this question should probably be closed for being off-topic.
Score:1
kr flag

.srt files handle the subtitle content and position only. Font, colour etc. is managed by your video player. Have a look at its settings.

Ahmad moosavi avatar
ck flag
I want to edit with Subtitle Edit itself
Score:1
pl flag

.srt format: contents and syntax.

  1. Item number
  2. Display item schedule
  3. Text body

And the allowed HTML tags on text are:

  • Bold <b>...</b>
  • Italic <i>...</i>
  • Underline <u>...</u>
  • Font color <font color="name or #code">...</font>

Font color works depends on the player, I see VLC and mpv (smplayer) implements these but not with Totem Ubuntu Gnome Videos.

Sample of the .srt code

1
00:00:05,000 --> 00:00:06,000
Welcome to AskUbuntu

2
00:00:07,000 --> 00:00:08,000
<i>This is a forum;
<font color="blue">which noob teaches another noob.</font></i>

3
00:00:09,000 --> 00:00:10,000
<b>Enjoy yourself</b>
<i>and don't get lost.</i>

smplayer

Ahmad moosavi avatar
ck flag
I want to easily change the color and font of 100 subtitles so that I can attach them to the desired videos for hard subtitle playback in the video.
Sadaharu Wakisaka avatar
pl flag
Yes, you can. Install `smplayer` and go to preferences.
Mochan avatar
kr flag
@Ahmadmoosavi for bulk editing you can probably write up some script. Off-topic here.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.