Log in

View Full Version : Subtitle fonts and colors with megui.


castellanos
9th November 2009, 22:35
Hi there!
I've been doing some search on this subject and I've found something but not clear enough, at least for me. So I ask this board for some clarification.
I'm doing some encoding for my phone "HTC Touch HD", simply mp4, base line, level 1. Knowing that the phone's screen is big enough, I'm adding some hard encoded subs as well.
I use megui for the whole thing, loading the subs in the Avisynth script. Default font and color are Arial (bold) and white respectively. How can I change this parameters? For instance: Arial (narrow) & yellow?
Thanks in advance! :)

MatLz
10th November 2009, 19:09
Hi!
If your subs are srt, I have a tip:

Well, let's say your subs are named 'mysubs.srt', in the same directory make a simple text file with the code in my next post. Change colors, fonts, size...(all you want!)...then rename it in 'mysubs.srt.style'

...voilą!

MatLz
10th November 2009, 19:10
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Comic sans ms,22,&H0000ffff,&H00000000,&H00gggggg,&H80ffffff,-1,0,0,0,100,100,0,0.00,1,3,3,2,30,30,10,1

manono
10th November 2009, 19:26
Or just hardcode SSA format subs, in which you can set the font, colors, position, size, etc.

castellanos
11th November 2009, 02:15
Hi!
If your subs are srt, I have a tip:

Well, let's say your subs are named 'mysubs.srt', in the same directory make a simple text file with the code in my next post. Change colors, fonts, size...(all you want!)...then rename it in 'mysubs.srt.style'

...voilą!
Oh, man!!! Yes, sure! I forgot totally the ".style" file.
Thanks a lot MatLz (the subs are srt) and manono.
Greetings! :)