I have tested it and it only reach 10/19 but it is a very good work compared to the latest stable version, look here: http://ale5000.altervista.org/subtitles.htmIn the master (1.0) I have fixed all issues except
First we have to decide of a few things... about subtitles...Your test page should read VLC ... Git and not SVN (since we don't use SVN anymore).
I'll have a look at some of the missing features in the upcoming days.
I'm sure, my OS is Windows XP SP3- are you sure bold and italics are not working? They work perfectly here. What OS are you using?
The font "Webdings" on Windows has symbols instead of letters so it should look like this: http://ale5000.altervista.org/other/MPC_subtitles.png- about font face: why would your sample not display anything ? On my computer I do not have the font you request, so instead of loosing the subtitle, a default font is used. I will not change this behavior, because we would end up loosing subtitles. Font face using an existing font should already be supported.
But could be added the option to enable/disable support of them on the fly, so if the video has been re-encoded they can be disabled.- Support for "display coordinates" is broken by design and I will not implement it UNLESS the video size is embedded in the subtitle (but it does not seems to be there). You cannot be sure the video has not been re-encoded with a lower resolution.
Because there can be other tags less known that the player don't support, it is like "hide invalid html tags".- "Hide these tags: {\some_letters_or_num}". I am curious, why should we not display them?
Code: Select all
3
00:00:07,601 --> 00:00:11,500
This should be an E with an accent: È
<b><i><u>This text should be bold italics and underline</u></i></b>
<font color="#00ff00">This text should be small and green</font>
<font color=#ff0000 size=9>This text should be small and red</font>
<font color=brown size=24>This text should be big and brown</font>
Code: Select all
3
00:00:07,601 --> 00:00:11,500
This should be an E with an accent: È
<b><i><u>This text should be bold italics and underline</u></i></b>
<font color="#00ff00">This text should be small and green</font>
<font color="#ff0000" size="9">This text should be small and red</font>
<font color="#bf7d35" size="24">This text should be big and brown</font>
Maybe it works on linux but on windows it doesn't work, I have tried also with "Algerian" font (ALGER.TTF).Using vlc-1.0.0-git on Ubuntu 8.04 (Hardy Heron) I did some test with your subtitles file and found that :
- font face : it works perfectly for me, but vlc has to be able to display the font... I tried to install msttf fonts (with the Webdings one) and use it in vlc but it seems to me that this font can't be used with vlc, nothing was displayed
By modifying your sub file to use one of my linux font (Purisa.ttf), it works like a charm Image
On vlc 1.0.0 git 2008-09-12 0006 for Windows they works fine except bold and italics.and only white plain text is displayed (also for me)
but it seems that vlc:
- does not support text for color (red, green, brown...), only rgb in hexa ( #ff0000 for red )
- completely wipes out the subs parameters (colors, bold, font type...) if one is incorrect: no "" for the parameters, color name instead of rgb components, unknown parameter... the main problem is that vlc deletes ALL parameters for the displayed strings, not only the ones it does not understand (if you just remove only one " in the following code, it won't work anymore)
vlc switches back to it's default font and parameters when a incorrect/unknown parameter is found
Code: Select all
3 00:00:07,501 --> 00:00:11,500 This should be an E with an accent: È <b><i><u>This text should be bold, italics and underline</u></i></b> <font size=9 color="00ff00">This text should be small and green</font> <font color=#ff0000 size=9>This text should be small and red</font> <font color=brown size=24>This text should be big and brown</font>
This one: 00:00:45,499 --> 00:00:50,500except one in your last test:
the one with a subtitle that starts 1 frame before the end of the previous subtitle.
All chars, now it is "Hide these tags: {\some_letters_or_numbers_or_chars}"What characters are allowed inside the {\} ?
Code: Select all
1
00:00:00,000 --> 00:00:00,000
Don't show this text it may be used to insert hidden data
Although some html tag are supported it isn't a complete html parser and it don't need to be also I haven't seen a player that support </>I am looking at the invalid tags and <> display and I will add "support" for it but I don't really feel that a player should handle such broken streams/designs. Using html tags and <> instead of </> seems wrong (Not that vlc supports correctly </> yet ).
\fr => "Rotates the text by the specified number of degrees, in the specified axis. If axis is omitted, then "z" is used as default."By the way, what is the meaning and format of {\frX} ?
It is because start and stop time being the same.Why should I ignore it? Is it because of the start and stop time being the same? Or because of the ; used as the first character?
Return to “VLC media player Feature Requests”
Users browsing this forum: No registered users and 21 guests