Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Virtualdub Subtitler (ssa) Scroll-up Speed, Is there a way to change the speed?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Eternal83
  Posted: Jul 9 2014, 01:43 AM


Newbie


Group: Members
Posts: 4
Member No.: 28212
Joined: 5-August 10



I've been playing around with the Subtitler that is available on the VDub website. I'm trying to have a rather large block of text ("Ulysses" by Alfred, Lord Tennyson to be exact) scroll up the screen as some background music plays. However, the "song" is almost 4-minutes long, and the entire poem only takes about 60-70 seconds to complete scrolling.

I'm wondering if there is a way to possibly slow it down, without having to add numerous spaces between the lines of the poem?

Here's what I've come up with after tweaking the 'demo.ssa' file that comes with the filter. Keep in mind this is the first time I've ever done anything related to SSA files:
CODE
[Script Info]
; This is a Sub Station Alpha v4 script.
; For Sub Station Alpha info and downloads,
; go to http://www.eswat.demon.co.uk/
; or email kotus@eswat.demon.co.uk
Title: VirtualDub 'subtitler' filter demonstration
Original Script: Avery Lee <phaeron@virtualdub.org>
ScriptType: v4.00
Collisions: Normal
PlayResY: 240
PlayDepth: 0
Timer: 100.0000

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
;Style: Foo,MS Gothic,72,65535,65280,65535,0,0,-1,1,2,4,2,30,30,30,0,128
Style: MainB,Arial,14,65535,65280,65535,0,0,-1,1,2,4,1,16,16,16,0,0
Style: MainT,Times New Roman,8,16777215,65280,65535,0,0,0,1,2,4,5,16,16,16,0,0
Style: Timer,Arial,14,65535,65280,65535,0,0,-1,1,2,4,5,16,16,40,0,0
Style: B0S0K,Arial,14,&HE0E0E0,65280,65535,&H000000,0,-1,1,0,0,5,16,16,40,0,0
Style: B2S2R,Arial,14,&HE0E0E0,65280,65535,&H004080,0,-1,1,2,2,5,16,16,40,0,0
Style: B2S6G,Arial,14,&HE0E0E0,65280,65535,&H408000,0,-1,1,2,6,5,16,16,40,0,0
Style: B4S4B,Arial,14,&HE0E0E0,65280,65535,&H804000,0,-1,1,4,4,5,16,16,40,0,0
Style: Karaoke,Arial,14,&H40FFFF,&HFF4040,65535,0,0,0,1,2,4,5,16,16,16,0,0
Style: ShiftJIS,MS Gothic,20,&HE0E0E0,65280,65535,0,0,0,1,2,4,5,16,16,16,0,128

[Events]
Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

Dialogue: Marked=0,0:00:01.50,0:03:40.00,MainT,,0000,0000,0000,Scroll Up;10;10;230,{\q1}It little profits that an idle king,\NBy this still hearth, among these barren crags,\NMatch'd with an aged wife, I mete and dole\NUnequal laws unto a savage race,\NThat hoard, and sleep, and feed, and know not me.\NI cannot rest from travel: I will drink\NLife to the lees: All times I have enjoy'd\NGreatly, have suffer'd greatly, both with those\NThat loved me, and alone, on shore, and when\NThro' scudding drifts the rainy Hyades\NVext the dim sea: I am become a name;\NFor always roaming with a hungry heart\NMuch have I seen and known; cities of men\NAnd manners, climates, councils, governments,\NMyself not least, but honour'd of them all;\NAnd drunk delight of battle with my peers,\NFar on the ringing plains of windy Troy.\NI am a part of all that I have met;\NYet all experience is an arch wherethro'\NGleams that untravell'd world whose margin fades\NFor ever and forever when I move.\NHow dull it is to pause, to make an end,\NTo rust unburnish'd, not to shine in use!\NAs tho' to breathe were life! Life piled on life\NWere all too little, and of one to me\NLittle remains: but every hour is saved\NFrom that eternal silence, something more,\NA bringer of new things; and vile it were\NFor some three suns to store and hoard myself,\NAnd this gray spirit yearning in desire\NTo follow knowledge like a sinking star,\NBeyond the utmost bound of human thought.\N\NThis is my son, mine own Telemachus,\NTo whom I leave the sceptre and the isle,—\NWell-loved of me, discerning to fulfil\NThis labour, by slow prudence to make mild\NA rugged people, and thro' soft degrees\NSubdue them to the useful and the good.\NMost blameless is he, centred in the sphere\NOf common duties, decent not to fail\NIn offices of tenderness, and pay\NMeet adoration to my household gods,\NWhen I am gone. He works his work, I mine.\N\NThere lies the port; the vessel puffs her sail:\NThere gloom the dark, broad seas. My mariners,\NSouls that have toil'd, and wrought, and thought with me—\NThat ever with a frolic welcome took\NThe thunder and the sunshine, and opposed\NFree hearts, free foreheads—you and I are old;\NOld age hath yet his honour and his toil;\NDeath closes all: but something ere the end,\NSome work of noble note, may yet be done,\NNot unbecoming men that strove with Gods.\NThe lights begin to twinkle from the rocks:\NThe long day wanes: the slow moon climbs: the deep\NMoans round with many voices. Come, my friends,\N'T is not too late to seek a newer world.\NPush off, and sitting well in order smite\NThe sounding furrows; for my purpose holds\NTo sail beyond the sunset, and the baths\NOf all the western stars, until I die.\NIt may be that the gulfs will wash us down:\NIt may be we shall touch the Happy Isles,\NAnd see the great Achilles, whom we knew.\NTho' much is taken, much abides; and tho'\NWe are not now that strength which in old days\NMoved earth and heaven, that which we are, we are;\NOne equal temper of heroic hearts,\NMade weak by time and fate, but strong in will\NTo strive, to seek, to find, and not to yield.\N\N\N"Ulysses" by Alfred, Lord Tennyson
 
     Top
-vdub-
Posted: Jul 9 2014, 02:24 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Each subtitles more often have times for when each line of each text should appear in the video. Do a web search for sites that give guide on how to set ssa subtitle line text times or use a subtitle tool to do the same

Always preferred is to have the subtitle file as a separate that isn't hard encoded to the video. Which gives the viewer the choice whether they like to see subtitles or not see to them
 
    Top
Eternal83
Posted: Jul 10 2014, 03:32 AM


Newbie


Group: Members
Posts: 4
Member No.: 28212
Joined: 5-August 10



QUOTE (-vdub- @ Jul 9 2014, 02:24 PM)
Each subtitles more often have times for when each line of each text should appear in the video. Do a web search for sites that give guide on how to set ssa subtitle line text times or use a subtitle tool to do the same

Always preferred is to have the subtitle file as a separate that isn't hard encoded to the video. Which gives the viewer the choice whether they like to see subtitles or not see to them

Hmm. The "/move" command combined with the "/fade" command definitely seems to be the most promising. Though, being so new to SSA subtitling, it seems like a much simpler process to just encode the regular "Scroll Up" version and then slow the framerate of the video down. Of course, being the half-wit that I am, I didn't think of that until hours after I posted my question. Fortunately, the image that the poem will be scrolling across is static so, in theory, it should work. I think I'll give that a shot first, and if it doesn't work out, I guess I'll be spending some time playing around with /move & /fade.

I greatly appreciate the direction you pointed me in though, methinks I'll bookmark a couple of pages so that I can find them again. lol

Be blessed!
 
     Top
-vdub-
Posted: Jul 10 2014, 06:59 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



The srt subtitles use timings where each subtitle starts with time where to appear on video then is the subtitle text

Some Subtitle filters to use with Virtualdub
TextSub
Vobsub
Subtitler (your using)

Or Other resources to look at
http://forums.virtualdub.org/index.php?act...=ST&f=7&t=12664
http://forums.virtualdub.org/index.php?act...=ST&f=7&t=19488
Web search may find more subtitle filters to use with Virtualdub

videohelp.com has a tools section that has a few subtitle tools you could do this with

Is it only ssa subtitles you can work with, or are you bound only by the virtualdub filter you have chosen to work with ?
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Jul 9 2014, 01:43 AM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development