From theo_brendel at hotmail.com Sun Jan 21 22:31:30 2001 From: theo_brendel at hotmail.com (Steven Mingam) Date: Sun, 21 Jan 2001 22:31:30 +0100 Subject: [matroska-devel] Re: proposed storage of ssa/ass References: <20030524190916.GE17418@bunkus.org> Message-ID: Effects in SSA are not dependents of Start and End timing. they are part of the 'Text' field ... which gives some ugly things when you start to do some complex stuff. a little example ;) but i recommend the reading of "ass-specs.doc" in Vobsub\Docs (for those who have Vobsub installed) Dialogue: Marked=0,0:00:37.63,0:00:43.11,GITS - OPRusse,karoke_latin,0000,0000,0000,Karaoke,{\t(630,1260,\1a&HFF&\2aHFF&\3a& HFF&\4a&HFF&)}{\K73}? {\r}{\t(980,1960,\1a&HFF&\2aHFF&\3a&HFF&\4a&HFF&)}{\K3 5}??{\r}{\t(1730,3460,\1a&HFF&\2aHFF&\3a&HFF&\4a&HFF&)}{\K75}??{\r}{\t(2600, 5200,\1a&HFF&\2aHFF&\3a&HFF&\4a&HFF&)}{\K87}?????, {\r}{\K13}{\t(3310,6620,\1a&HFF&\2aHFF&\3a&HFF&\4a&HFF&)}{\K58}? {\r}{\t(386 0,7720,\1a&HFF&\2aHFF&\3a&HFF&\4a&HFF&)}{\K55}??{\r}{\t(4510,9020,\1a&HFF&\2 aHFF&\3a&HFF&\4a&HFF&)}{\K65}??{\r}{\t(4597,9194,\1a&HFF&\2aHFF&\3a&HFF&\4a& HFF&)}{\K87}?????{\r} basically this line do a basic karaoke but each part fadeout after been "karaoke'ed" \t(t1,t2, modifier) animate a change from t1 to t2 ... which are relative to the Start timing. 630 = 0:00:00.63 (63ms) \1-4a put the alpha channel of each colour to 255 (total transparency) ... when doing that, i would have sell my parents to have a way to define variable :-/ btw, i got bored this weekend and wrote down how i would handle SSA in matroska ... and came with another conclusion than Moritz if you're interested i'll paste it here, but i have some things to re-think first, and perhaps i'm overdoing it. "Pamel" a ?crit dans le message de news: baosgs$vjo$1 at main.gmane.org... > "Moritz Bunkus" wrote... > > So in the SRT case a whole line was obsoleted. For SSA both the start > > time and the end time are integral parts of each line, so I'd say that > > removing and adding them again later (you'd also have to modify the > > Format: line) is not worth the gain of maybe 20k space. > > I think this might be an issue if you shift, stretch, or append the subtitle > stream. You would need an application that could parse SSA to correct all > of the timecodes in the SSA text itself. But, if you stripped this > information and added it back in on the fly, then you could use any > application to do basic editing of the track without understanding SSA. > > My question then if you did strip timecodes out of the text, would this > affect the complex affects? I know nothing about SSA or AAS, but I have > heard that you can do some pretty complex effects with them. How does it > perform these effects? Does it use timecodes? If so, are they timecodes > that are absolute to the stream, or relative to the text you are displaying? > Would it make any difference? > > Would someone that understands this better comment on it? > > > Pamel > > > > http://www.matroska.org > http://www.matroska.org