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. |
7th September 2004, 17:14 | #1 | Link |
Guest
Posts: n/a
|
How to make scrolling up .ssa subtitles ?
I've tried to make an .ssa script including scrolling up subtitle lines. I've already read "ass-specs.doc" documentation from VobSub directory and I tried many different options to enable the subtiles scroll up on my screen. One of my ideas was:
[Script Info] Title: <bez tytu³u> Original Script: <nieznany> ScriptType: v4.00 [V4 Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding Style: Style1,Verdana,23,16777215,0,0,0,0,0,1,1,1,2,30,30,11,0,238 [Events] Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Event: Marked=1,0:00:05.36,0:00:10.84,Style1,NTP,0000,0000,0000,Scroll up;10;10;30,Hello If someone knows the way to make such subtitles, please post your reply. Thanks in advance. |
9th September 2004, 13:04 | #2 | Link |
李姗倩 Lǐ Shān Qiàn
Join Date: Nov 2002
Posts: 1,340
|
This is my favorite way
Save this sample as filename.ass (a weird extension...) and test it with TextSub... Code:
[Script Info] ScriptType: v4.00+ Collisions: Normal PlayResX: 640 PlayResY: 480 Timer: 100.0000 [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: testStyle,Verdana,24,&H4099ffff,&H00000000,&Hc0000000,&H00000000,-1,0,0,0,100,100,0,0.00,1,1,0,8,0,0,0,0 [Events] Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:02.00,0:00:12.00,testStyle,,0000,0000,0000,,{\move(320,400,320,80)}{\fad(1000,1000)}Foo bar Dialogue: 0,0:00:04.00,0:00:14.00,testStyle,,0000,0000,0000,,{\move(320,400,320,80)}{\fad(1000,1000)}Baz Dialogue: 0,0:00:06.00,0:00:16.00,testStyle,,0000,0000,0000,,{\move(320,400,320,80)}{\fad(1000,1000)}Qux quux quuux Dialogue: 0,0:00:08.00,0:00:18.00,testStyle,,0000,0000,0000,,{\move(320,400,320,80)}{\fad(1000,1000)}Xyzzy |
9th September 2004, 16:58 | #3 | Link |
Guest
Posts: n/a
|
Thank You Liisachan
It really works perfectly now ! I just wonder why I was not able to get this effect useing my script Maybe You could tell me how to learn the way of making such subtitles like in your script. I've got only "ass-specs.doc" documantation and I couldn't find anything more about this subject in my net. |
10th September 2004, 01:31 | #4 | Link |
Registered User
Join Date: Jan 2004
Posts: 46
|
@mateo4x4
The line you posted originally was grammatically correct. The problem is that the value of "y1" and "y2" (As defined in ASS-SPEC doc as ""Scroll down;y1;y2;delay[;fadeawayheight]") are same (10), and that means you didn't give any space to display your scrilling text. Change your line to, for example Code:
Event: Marked=1,0:00:05.36,0:00:10.84,Style1,NTP,0000,0000,0000,Scroll up;10;400;30,Hello As for how to create scripts like Liisachan provided... it's matter of experience with SSA format in general. If you can get ahold of different people's SSA script, and learn what different people are doing to create different effects, it's the best. Otherwise, that ASS-SPEC document actually documents everything a person needs to know about SSA/ASS document, and a loooot of imagination. |
10th September 2004, 09:49 | #5 | Link | |
Registered User
Join Date: Aug 2003
Posts: 121
|
Quote:
They´re not identical - SSA is "v4.00" while ASS is "v4.00+", ASS has more options too. |
|
10th September 2004, 15:14 | #6 | Link | |
Registered User
Join Date: Jan 2004
Posts: 46
|
Quote:
|
|
10th September 2004, 15:22 | #7 | Link | |
Guest
Posts: n/a
|
Thank You Sylf !
Thank You Cyberman ! Quote:
Thank You once again. |
|
10th September 2004, 17:51 | #8 | Link | ||
李姗倩 Lǐ Shān Qiàn
Join Date: Nov 2002
Posts: 1,340
|
Quote:
Note1: like Sylf said, my method can work in SSA too. I made it ASS only because I wanted to use separated alpha chans. Note2: SSA/ASS's Scroll and my method are not very identical. in 'Scroll' the upper half of the letters will be gone when the letter reaches to the 'clip line' (that hss its forte; that is cool too). On the other hand, in my method, the whole letters will fade away, without being cropped. Note 3: I devised that method for a certain kind of sophisticated karaoke, which you could call always-preloaded-the-next-line. sample Quote:
|
||
10th September 2004, 18:40 | #9 | Link | |
Guest
Posts: n/a
|
Quote:
Thank You Liisachan for your post in this thread. |
|
11th September 2004, 23:38 | #10 | Link |
Registered User
Join Date: May 2002
Location: Asia
Posts: 82
|
Hi ...nice to see u guys making a effect on subtittle...
here my question is can i display this effect on a final dvd? for eg create a ssa script and then convert it to sst and import in authoring program... Regards.. |
12th September 2004, 08:13 | #12 | Link |
frying subs
Join Date: Jan 2003
Location: ch-2500
Posts: 891
|
AFAIK there are control sequences for changing the transparency over time (fade-in/out), but none to change the picture offset over time (move). But i doubt many authoring tools will even allow you to set gimmicks possible with control sequences. But i never used one, it's just you usually don't see these things in DVDs so i guess there are few tools that allow it ...or then it is the decoder that ignores them ><
__________________
-nyo |
12th September 2004, 10:39 | #13 | Link |
李姗倩 Lǐ Shān Qiàn
Join Date: Nov 2002
Posts: 1,340
|
this might be a silly idea but theoretically any sub in any format can move if positioning is possible even as image subs. Let's say we are making something in 30 fps. What if we put 30 subs a sec, each sub has a duration of 1/30 sec and will appear slightly different position than the prev sub?
The idea is basically like this SRT: Code:
1 00:00:01,001 --> 00:00:01,100 Foo Bar as Mr. Who 2 00:00:01,101 --> 00:00:01,200 Foo Bar as Mr. Who <i> </i> 3 00:00:01,201 --> 00:00:01,300 Foo Bar as Mr. Who <i> </i> <i> </i> 4 00:00:01,301 --> 00:00:01,400 Foo Bar as Mr. Who <i> </i> <i> </i> <i> </i> 5 00:00:01,401 --> 00:00:01,500 Foo Bar as Mr. Who <i> </i> <i> </i> <i> </i> <i> </i> 6 00:00:01,501 --> 00:00:01,600 Foo Bar as Mr. Who <i> </i> <i> </i> <i> </i> <i> </i> <i> </i> Again, it's just 'theoretically' -- in reality, sub renderers might pre-buffer subpictures as DirectVobSub does by default, which will probably kill dynamic effects like scrolling. |
12th September 2004, 12:49 | #14 | Link |
frying subs
Join Date: Jan 2003
Location: ch-2500
Posts: 891
|
Yes positioning is possible, there exist control sequences for that. But whether any software supports it is another question.
I thought about you idea as well, but with pictures this is a huge waste of space. It might kill hardware players first of all i think. They are short on memory and i think the specs only require very limited buffer capacity for subpictures. Also i don't know how effective dvobsub is ..sure decoding mpeg-spus is relatively cheap and just blitting a picture as well ..but if you do it 30x per second it might still become a CPU issue if you are not willing to give the subtitles a considerable amount of CPU time (because you have a slow CPU or you enabled this and the other killer setting in the video encoding). On the other hand, if you have a alpha fading, you do the same ..only the picture decoding is not necessary in each step. And as the fading should be possible, your moving could actually be worth a try. [edit] Wait, i was digging in my source to confirm that positioning actually exists. It does, but why i edit here is i recalled how the blending works: Each control sequence has a timestamp! This means you can move the picture in time as well as you can fade it. Again, by specs ..what apps do is another question. but you could do something crazy like a blinking zig-zag-moving text that gets stretched or zoomed with a single SPU Color changing should also be possible, but of course only withing the 16 colors of the palette, which is quite limiting..
__________________
-nyo Last edited by unmei; 12th September 2004 at 12:59. |
13th September 2004, 08:01 | #15 | Link |
Registered User
Join Date: May 2002
Location: Asia
Posts: 82
|
i read up some ppls are claming this a silly question...
but if u have a situaiton where u want to put a logo or watermark to ur video ...u have to encode it...and encoding always loose a quality... So i thaught it would be really good idea to have a scrooling up subtitle...since it does not require any encoding plus it save ur time too... I am still un clear wheather its possible or not..may be i need ur guys help me a bit more on it.. Regards. |
13th September 2004, 09:21 | #16 | Link | ||
李姗倩 Lǐ Shān Qiàn
Join Date: Nov 2002
Posts: 1,340
|
Quote:
I said my idea might be silly; i didnt say your question was silly. (I am the ohe who is crazy, not you ) your question is only natural; we even discussed it before, in 2003, when Pamel said in Re: VobSub SSA subtitles in matroska: Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|