Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

there is some formatting in srt subtitle files. for example

<i> blah blah blah </i> 

for italic or

<u> blah blah blah </u>

for underline or

<font color="color name"> ... </font>

for colorful text.

there is a code for moving the text up the screen instead of down. what is that code?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

You must write {\an} before your text.

{\a10} for center of screen, {\a6} for center above, {\a5} for left above, {\a9} for left center, etc...

(if it doesn't work, copy my writing to your subtitle)

share|improve this answer
    
that's correct. I should also do the following to enable KM player to support that function: Preferences -> Subtitle processing -> Multi-sub/etc -> Advanced tab, enable the external subtitles module for .srt files. –  Hamed Gasemi Jul 18 at 14:06

There is an extended SRT format specification. The link to visualsubsync merely confirms that this very program only supports the standard spec. It also implies that there indeed is support for coordinations and there is:

You need to place coordinates for the pixels behind the time code like that:

00:10:30,796 --> 00:10:33,799 X1:117 X2:619 Y1:042 Y2:428
<font color="#ffffff">Any kind of text</font>

The example was taken from the following link:

http://forum.doom9.org/archive/index.php/t-86664.html

Your player, encoder, filter etc. might not support the extended SRT specs, though.

share|improve this answer

As far as I know there is no such setting in the .srt format (this is confirmed by this page), that will depend on the program you use to view your videos. For example, in the settings of vlc you have "Force subtitle position":

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.