Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 8th March 2006, 09:49   #1  |  Link
Liisachan
李姗倩 Lǐ Shān Qin
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,335
Gabest's new textsub formats: SSF 1.0 & ASS2 (SSA 4.00++)

I've just found that recent MPC (Media Player Classic) supports Sub Station Alpha v4.00++, an extended format of the Advanced SSA, which itself is an extended format of SSA 4.00.

I don't think this is well known yet, so I'll post a quick (unofficial) memo here to share the info, espeically with softsubbers, multisubbers. I'd like to hear from someone who knows more.

Sub Station Alpha v4.00++ Script Format

General: For MPC, keywords are not case-sensitive.

Script Type: Use v4.00++

The Style section header is [v4++ Styles] and there are 2 addional style params:

SSA/SSA+ has MarginL, MarginR, MarginV, whereas SSA++ has MarginL, MarginR, MarginT, MarginB. Test these new params by setting different MarginTop/Bottom and applying {\an*}

Yet another param is after Encoding, which controls "RelativeTo". I'm not very sure but in my tests, if RelativeTo=0, the result is relative-to-screen (traditional MPC coordinates), and if RelativeTo=1 (or non-zero), the result is relative-to-frame (VSFilter coordinates). 2 coordinate systems are switchable just like in the USF format. (You might want to put Editors Notes in the letterbox while signs logos etc should be absolutely positioned, so... RelativeTo params are useful.)

Each event (Dialogue) under the Events section has MarginL/R/T/B too. Test these new fields by giving them non-default values and using {\an*}

So a sample script looks like:


ScriptType: v4.00++
PlayResX: ...
PlayResY: ...

[V4++ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginT, MarginB, Encoding, RelativeTo
Style: RelToScreen,Verdana,40,&H00ffffff,&H0000ffff,&H00000000,&H00000000,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0,0,0
Style: RelToFrame,Verdana,40,&H00ffffff,&H0000ffff,&H00000000,&H00000000,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0,0,1

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginT, MarginB, Effect, Text
Dialogue: 0,0:00:01.00,0:00:06.00,RelToScreen,,0000,0000,0000,0000,,Relative to Screen
Dialogue: 1,0:00:01.00,0:00:06.00,RelToFrame,,0000,0000,0000,0000,,Relative to Frame


Observe that the 2 styles share the same params except RelativeTo, and the result in MPC (when letterboxed in the full-screen mode) is as you expect.



As of writing this, VSFilter can't handle the RelativeTo, which is maybe natural because VSFilter doesn't know if the video is fullscreened or not, to begin with.

Last edited by Liisachan; 23rd March 2006 at 10:34.
Liisachan is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.