Page 1 of 1

MicroDVD subtitle files and style formatting

Posted: 08 Aug 2007 16:14
by Wolfie
Hello!

How can I set up VLC Media Player to show subtitles properly (for example, if the subtitle file contains tags to make the text italic they are shown in italic in VLC)?
At the moment subtitles are shown with the style formatting tags, no actual style formatting is done...
Oh and I'm using VLC MP 0.8.6c

Re: MicroDVD subtitle files and style formatting

Posted: 08 Aug 2007 16:39
by Jean-Baptiste Kempf
Can you provide samples please ? Those issues are being addressed in development versions now.

Re: MicroDVD subtitle files and style formatting

Posted: 08 Aug 2007 18:05
by Wolfie
Ok, for some reason I couldn't get a proper screen capture of the VLC playing the video with subtitles, but here's what I mean...

This is what the subtitle file looks like:

Image

Basically the line that is blue in the picture VLC shows like this:
{Y:i}- Haloo?
- Clark, tiedän kuka olet.

instead of like this:

- Haloo?
- Clark, tiedän kuka olet
.

Did that clear anything?
Atleast Subtitle Workshop shows that line as it should be, in Italic.

Re: MicroDVD subtitle files and style formatting

Posted: 08 Aug 2007 18:31
by Jean-Baptiste Kempf
Do you have the actual file please.

Re: MicroDVD subtitle files and style formatting

Posted: 08 Aug 2007 18:47
by Wolfie
You mean the subtitle file?
Yes. To which email address shall I send it?

Re: MicroDVD subtitle files and style formatting

Posted: 09 Aug 2007 00:28
by Jean-Baptiste Kempf
Yes, the subtitle file... and the movie if you can. Send link in PM.

Re: MicroDVD subtitle files and style formatting

Posted: 09 Aug 2007 18:31
by VLC_help
There isn't official formatting support in .sub format. If you want proper formatting then use SSA/A SS.

Re: MicroDVD subtitle files and style formatting

Posted: 09 Aug 2007 21:50
by Jean-Baptiste Kempf
Yes, but we could do a few easy things to fix it.

Re: MicroDVD subtitle files and style formatting

Posted: 02 Aug 2008 16:25
by waste
I found this old thread (this is wrong forum anyway, because this is not Windows realted) and I just wanted to know... is it fixed already? I know there is no .sub specification around but we all use some common option in .sub files and most of players on the market render it correctly. I mean about {y:b}, {y:i}, {y:u} at least - these are most used.

Re: MicroDVD subtitle files and style formatting

Posted: 03 Aug 2008 01:33
by Jean-Baptiste Kempf
I didn't look at it.

Re: MicroDVD subtitle files and style formatting

Posted: 04 Aug 2008 22:35
by waste
Is it any option that such an sub formating will be rendered in future? There is really huge number of subtitles with it (eg. od OpenSubtitles website, ppl are uploading .sub files with bold, italic lines).

Re: MicroDVD subtitle files and style formatting

Posted: 05 Aug 2008 16:28
by VLC_help
{Y:i}- Haloo? to Haloo? is easy to fix, but I am not sure how well the current VLC supports formatting with basic text subtitle formats.

Re: MicroDVD subtitle files and style formatting

Posted: 05 Aug 2008 18:58
by Jean-Baptiste Kempf
Well, it is not that easy to fix, but I will look at it in 0.9.1 if there is a ticket.

Re: MicroDVD subtitle files and style formatting

Posted: 05 Aug 2008 22:37
by waste
Thank you for that. I am looking forward to see it. :)

Re: MicroDVD subtitle files and style formatting

Posted: 07 Aug 2008 01:20
by VLC_help
http://trac.videolan.org/vlc/ticket/1825
trac ticket with examples.

Re: MicroDVD subtitle files and style formatting

Posted: 03 Apr 2011 02:24
by Jean-Baptiste Kempf
{y:i} {y:b} and {y:u} and implemented.
They will do the same as {Y:.} though.

Re: MicroDVD subtitle files and style formatting

Posted: 03 Apr 2011 11:43
by waste
Many thanks!

Re: MicroDVD subtitle files and style formatting

Posted: 15 Oct 2012 19:40
by dl2rcf
Hello,

I am new here and fought the whole day with Subtitles in VideoLAN, which could be a very nice feature!

I tested several formats, but it seems, that only SSA is supported with all its "spec".
I want to use subtitles for video time insertion of a time signal (such as IRIG-B or DCF77).
The problem with SSA (no matter if I import my time-code files to VideoLAN by just loading them or hardinsert them with VirtualDub's SSA filter) is that I get collisions. SSA is too slow to overlay a new "subtitle" for each frame (every 40 ms).

I fumbled around and tested the MicroDVD subtitles which superimpose very fast. But since VideoLAN doesn't (yet) read the format codes, its BULKY on screen in comparison with the decent, colorful SSA insertions.

Is there any format for subtitles that:
- are as fast as MicroDVD's SUB format (a sub title EVERY frame possible)
- have formatting features (FONT SIZE!!)

Any suggestions?

Damn, there is a lot of badly documented subtitle-file-formats out there!!!


Greetings and thanks, Ruben

Re: MicroDVD subtitle files and style formatting

Posted: 15 Oct 2012 22:21
by Jean-Baptiste Kempf
SRT Html subs!

Re: MicroDVD subtitle files and style formatting

Posted: 15 Oct 2012 23:02
by dl2rcf
SRT Html subs!
This works awesome!! at full 25 Hz!!! Thank You ((( I hope I wont sound like a nagger: but when You pause the video, sometimes the subtitle stays overlayed (nice!!!) but other times it disappears :-( )))
Is there a more or less "complete" spec on SRT?

Thanks, too, for the "dots instead of commas in timestamps" support :-)

Re: MicroDVD subtitle files and style formatting

Posted: 15 Oct 2012 23:21
by Jean-Baptiste Kempf
There is no complete spec. Like SSA. But you can guess the most usefull ones.