view DOCS/tech/mpsub.sub @ 33263:5f527a9a9521

Add an exit function. This function will allow performing clean-up operations. (MPlayer calls guiDone() before exiting, but only if the GUI has been initialized, i.e. if guiInit() has been called successfully. Any exit_player()/exit_player_with_rc() after GUI's cfg_read() until guiInit(), or any exit_player() during guiInit() itself will end the GUI without calling guiDone(). This exit function will at least handle abortions during guiInit() itself. It will be called twice in case of an guiExit() after GUI initialization - first directly, next by guiDone() via MPlayer's exit_player_with_rc().)
author ib
date Tue, 03 May 2011 12:19:22 +0000
parents 0ad2da052b2e
children
line wrap: on
line source

TITLE=Weird Al Yankovic - The Saga Begins (clip)
                                        # just to be informative (maybe future
                                        # use?)
FILE=14233792,7972c637f619e01854ecb453b7339e3f  # size,md5
AUTHOR=Gabucino
TYPE=VIDEO                              # maybe AUDIO in future (for displaying
                                        # mp3 lyrics while playing or whatever)
FORMAT=TIME                             # this file contains measures based on
                                        # TIME, not frames.

# if FORMAT is a number, then it's frame based, i.e.:
# FORMAT=25

NOTE=MPlayerSub test file v0.1

# first number  : wait this much after previous subtitle disappeared
# second number : display the current subtitle for this many seconds

15 3
A long, long time ago...

0 3
in a galaxy far away...

0 3
Naboo was under an attack.

1 2.5
And I thought me and
Qui-Gon Jinn could

0 2.5
talk the Federation into

0 4
...maybe cutting them a
little slack.

2 3
But their response, it
didn't thrill us,

0 3
They locked the doors,
and tried to kill us.

0 2.5
We escaped from that gas,

0 3.5
then met Jar-jar and
Boss-Nass.

1 6
We took a bongo from the
scene and we went to
Theed to see the Queen.

0 5
We all wound' up on
Tatooine.

0 6
That's where, we've found
this boy.

0 4
Oh my, my this here
Anakin guy,

0 5
maybe Vader someday
later now he's just
a small fry.

0 4
And he left his home and
kissed his mommy goodbye,

0 5
singing "Soon I'm gonna be
a Jedi!"

6 6
Did you know this junkyard
slave isn't even old enough
to shave,

0 3
but he can use the Force,
they say.

1 6
Ahh, do you see him hitting
on the queen though he's
just nine and she's fourteen

0 6
yeah, he's probably gonna
marry her, someday!