What is current situation with VLC support of font color in srt subtitle files please?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Montmorency
New Cone
New Cone
Posts: 1
Joined: 31 Jul 2015 21:39

What is current situation with VLC support of font color in srt subtitle files please?

Postby Montmorency » 31 Jul 2015 21:58

Hello,

I have been trying to establish whether VLC currently supports the <font color="#rrggbb">some text</font> tag in SRT subtitle files.

I did a forum search, and found old references to it not being supported years ago, but had sort of got the impression it should be supported by now.

If it is, could someone please clarify the exact format I should be using?

Just for testing, I've been manually editing an .srt file to add various color options, e.g. as follows:

3
00:00:09,210 --> 00:00:11,120
<font color=”#ff0000”>Water.</font>

4
00:00:11,220 --> 00:00:15,170
<font color=”#ff0000”>- When we gravitate towards water</font>
-
<font color=”#00ff00”>- to relax or meditate...</font>

5
00:00:15,220 --> 00:00:20,150
<font color=”#00ff00”>- ..some say that it's an instinct </font>
-
<font color=”#0000ff”>- to return from whence we originated.</font>

The above does not seem to work (they all come out as white).
I've tried varying it slightly, like removing the "#" or the double quotes, but it's just the same.

I notice that the <i>, <b> and <u> tags do work, however.

If it turns out that this feature in SRT subtitle support is not officially supported in VLC, are there any plans to support it in the future?

Thank you.

(I'm using VLC V. 2.2.1 with an MP4 file, on Windows 7)

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: What is current situation with VLC support of font color in srt subtitle files please?

Postby mederi » 01 Aug 2015 21:59

Correct quotation marks or no quotes work:

Code: Select all

<font color="#ff0000">Water.</font> <font color='#ff0000'>Water.</font> <font color=#ff0000>Water.</font>
Your quotes do not work:

Code: Select all

<font color=”#ff0000”>Water.</font>


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 106 guests