VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 14 of 14
Thread
  1. I need to make a srt file but I don`t want to add the subtitle in the bottom center , but on the top center of the video file. How can I do that ?

    Thank you
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    srt does not contain any such info. You adjust the position in the player/subtitle decoder.

    If you want it in the subtitle file you must use another format like ssa/ass or image subtitles.
    Quote Quote  
  3. It depends on the player. Some players support non-standard .srt tags or other addons. If your player supports idx/sub subtitle display the easiest may be to use AviAddXSubs to create idx/sub files. Not all players honor the border thickness settings but most will use the position info. It gives a nine position grid. Make sure to put the same info in both Configuration 1 Sub1 Tab and the idx/sub Tab .. resolution position etc..

    I usually center mine 12 to 30 pixels from bottom center. To center at the top divide the horizontal res by 2 and experiment with the vertical position setting to get it where you want it. The screen shot shows idx/sub settings for an .avi with 624x352 res. Note that if your player then upconverts to HD then stuff like subtitle fonts are going to look much bigger.

    Click image for larger version

Name:	idx.png
Views:	22375
Size:	41.2 KB
ID:	5818
    http://milesaheadsoftware.org/
    Fully enabled freeware for Windows PCs.
    Quote Quote  
  4. Try the {\anX} tags ( {\an1}, {\an2}, {\an3}, etc. ).
    VLC, MPC-HC and DirectVobSub (VSFilter) support them in .srt subs.
    Last edited by ale5000; 5th Mar 2011 at 06:56.
    Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
    Quote Quote  
  5. Member mkvonly's Avatar
    Join Date
    May 2010
    Location
    Budapest, Macao, Sidney, Rio
    Search Comp PM
    Originally Posted by Baldrick View Post
    srt does not contain any such info. .
    Actually it does. Movie Little Fockers 2010 for instance (end credits) on left are credits and right side motion pictures.
    So to get the subs showing on the right side I added {\pos(250,270)} before text. So the subs will look like this:
    2041
    01:31:56,887 --> 01:31:58,012
    {\pos(250,270)}<i>Come on. Who needs</i>
    <i>something like this?</i>

    2042
    01:31:58,096 --> 01:32:01,223
    {\pos(250,270)}<i>Who's the target demo</i>
    <i>for a drug like Sustengo?</i>
    I play my movies with MPC (Media Player Classic)>hdmi>hifi>tv. No fancy expensive players thank you very much
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    And it is supported by ALL players that supports srt? If not then it's useless....
    Quote Quote  
  7. Member
    Join Date
    Jan 2012
    Location
    Australia
    Search Comp PM
    You can use the program aegisub to do this very easily (just drag the subtitle after loading both subtitle file and video file). the exported subtitles will be .ass format though
    Quote Quote  
  8. You can use the following Chinese player:
    https://forum.videohelp.com/threads/310387-DVD-software-player-raise-subtitles-to-top-o...eous-subtitles
    While the movie is playing, you can drag the subtitles to the top of the screen. Works with DVD files with subtitles. Can't remember if it works with AVI/srt files, but I thinks it does. Can also display simultaneously 2 languages of subtitles, positioned anywhere on the screen, by simply dragging the subtitles while playing. This software might contain some adware/malware, so make sure your Windows restore is working properly, should you decide to uninstall the software.
    Last edited by jimdagys; 25th Dec 2012 at 08:36.
    Quote Quote  
  9. Originally Posted by mkvonly View Post
    Originally Posted by Baldrick View Post
    srt does not contain any such info. .
    Actually it does. Movie Little Fockers 2010 for instance (end credits) on left are credits and right side motion pictures.
    So to get the subs showing on the right side I added {\pos(250,270)} before text. So the subs will look like this:
    2041
    01:31:56,887 --> 01:31:58,012
    {\pos(250,270)}<i>Come on. Who needs</i>
    <i>something like this?</i>

    2042
    01:31:58,096 --> 01:32:01,223
    {\pos(250,270)}<i>Who's the target demo</i>
    <i>for a drug like Sustengo?</i>
    I play my movies with MPC (Media Player Classic)>hdmi>hifi>tv. No fancy expensive players thank you very much
    it works on MPC. thanks. and can encode hard burn with xvid4psp as position set.
    note that 250,270 in brackets is angel position for text, for example {\pos(350,12)} for right bottom corner.
    Quote Quote  
  10. Member awgie's Avatar
    Join Date
    Sep 2008
    Location
    Lanarkshire, Scotland
    Search PM
    Originally Posted by mkvonly View Post
    Originally Posted by Baldrick View Post
    srt does not contain any such info. .
    Actually it does. Movie Little Fockers 2010 for instance (end credits) on left are credits and right side motion pictures.
    So to get the subs showing on the right side I added {\pos(250,270)} before text. So the subs will look like this:
    2041
    01:31:56,887 --> 01:31:58,012
    {\pos(250,270)}<i>Come on. Who needs</i>
    <i>something like this?</i>

    2042
    01:31:58,096 --> 01:32:01,223
    {\pos(250,270)}<i>Who's the target demo</i>
    <i>for a drug like Sustengo?</i>
    I play my movies with MPC (Media Player Classic)>hdmi>hifi>tv. No fancy expensive players thank you very much
    {\pos(250,270)} is an .ASS override tag. It is not native to the .SRT format. The fact that it plays in MPC doesn't mean that it will play in any other software or hardware.

    However, .SRT does provide for positioning. This is from the Doom9 Forum:

    I haven't seen this format fully documented, so I got it from the source code to the SubRip program:

    The format has no header, and no footer. Each subtitle has four parts:

    Line 1 is a sequential count of subtitles, starting with 1.

    Line 2 is the start timecode, followed by the string " --> ", followed by the end timecode. Timecodes are in the format HH:MM:SS,MIL (hours, minutes, seconds, milliseconds). The end timecode can optionally be followed by display coordinates (example " X1:100 X2:600 Y1:050 Y2:100"). Without coordinates displayed, each line of the subtitle will be centered and the block will appear at the bottom of the screen.

    Lines 3 onward are the text of the subtitle. New lines are indicated by new lines (i.e. there's no "\n" code). The only formatting accepted are the following:

    <b>text</b>: put text in boldface
    <i>text</i>: put text in italics
    <u>text</u>: underline text
    <font color="#00ff00">text</font>: apply green color formatting to the text (you can use the font tag only to change color)

    Tags can be combined (and should be nested properly). Note that the SubRip code appears to prefer whole-line formatting (no underlining just one word in the middle of a line).

    Finally, successive subtitles are separated from each other by blank lines.

    Here is an example of an SRT file:

    Code:
    1
    00:02:26,407 --> 00:02:31,356  X1:100 X2:100 Y1:100 Y2:100
    <font color="#00ff00">Detta handlar om min storebrors</font> 
    <b><i><u>kriminella beteende och foersvinnade.</u></i></b>
    
    2
    00:02:31,567 --> 00:02:37,164 
    Vi talar inte laengre om Wade. Det aer 
    som om han aldrig hade existerat.
    Do or do not. There is no "try." - Yoda
    Quote Quote  
  11. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Technically, awgie, you're responding to a four-year old thread. That said, I'm not sure about the positioning, but HTML formatting isn't native to the original version of SRT subtitles, either, which means hardware players are less likely to have support for it. HTML formatting was introduced for a variant of the SRT format.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  12. Member awgie's Avatar
    Join Date
    Sep 2008
    Location
    Lanarkshire, Scotland
    Search PM
    Originally Posted by Ai Haibara View Post
    Technically, awgie, you're responding to a four-year old thread. That said, I'm not sure about the positioning, but HTML formatting isn't native to the original version of SRT subtitles, either, which means hardware players are less likely to have support for it. HTML formatting was introduced for a variant of the SRT format.
    I know it's an old thread. I did have to tick the box acknowledging that after all. I came across it whilst looking for something else entirely, and felt the information was useful enough to warrant adding it.

    I don't know when the formatting tags were first introduced, but the Doom9 post I quoted was from 2004, and he got the info right from the SubRip source files, so I'm reasonably confident that it's a part of the actual SRT format, not just a variant. Maybe not the very first original SRT format, but genuine SRT nonetheless.

    As for hardware players, well, I don't know how many of them fully support SRT anyway. My WDTV claims to support SRT and ASS subs, but all it does is display the textual information. It does absolutely nothing with any tag data... no italics, no colours, no positioning... nada.
    Do or do not. There is no "try." - Yoda
    Quote Quote  
  13. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    I still get the impression that the two versions of SRT are separate (since SRT wasn't originally intended to have positioning or styles, AFAIK, and that seems to be precisely what the hardware player manufacturers implement for SRT).

    ASS format has always been rather minimal in hardware players... I always wonder if they just take the SSA support code, patch it to 'recognize' an ASS subtitle stream/file... and that's it.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  14. Member awgie's Avatar
    Join Date
    Sep 2008
    Location
    Lanarkshire, Scotland
    Search PM
    Originally Posted by Ai Haibara View Post
    ASS format has always been rather minimal in hardware players... I always wonder if they just take the SSA support code, patch it to 'recognize' an ASS subtitle stream/file... and that's it.
    TBH, I was surprised my player "supported" ASS files at all. It was as if the manufacturer said, "Well, we're against the idea, but if that's the only subtitles you have, I guess we'll at least show you what they say, but you're not going to enjoy it."
    Do or do not. There is no "try." - Yoda
    Quote Quote  



Similar Threads