Page 1 of 1
ASS subtitle position

Posted:
Sun Jan 12, 2014 12:59 pm
by sirius4
Hi,
My player is Sony BDP-S480, I am testing the subtitle position in ASS with below parameters.
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,1,1,0,2,10,10,10,0,0
Alignment: 8
If the "Alignment" works, the subtitle should display in the up center of the screen, but actually not, the subtitle position seems not affected by "Alignment".
Please advise how to change subtitle position in ASS.
Thanks
Steven
Re: ASS subtitle position

Posted:
Sun Jan 12, 2014 1:49 pm
by Illico
I made some test here :
viewtopic.php?f=3&t=8255#p57781But I don't remember if I play with "Alignment" options
EDIT: Spécification en français (in french)
http://sweetkaraoke.pagesperso-orange.f ... SS2%29.pdf
Re: ASS subtitle position

Posted:
Sun Jan 12, 2014 1:55 pm
by Illico
If you look at the spec :
http://www.perlfu.co.uk/projects/asa/ass-specs.docCould you try this :
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,1,1,0,
8,10,10,10,0,0
Re: ASS subtitle position

Posted:
Sun Jan 12, 2014 2:05 pm
by sirius4
Hi Illico,
Thank you for your reply.
I did check your previous post, you didn't test Alignment.
Anyway my gold is display subtitle in the black area (when play 1080P MKV video, most of videos show on my TV will have two black area, one on the top, one on the bottom).
Regards
Steven
Re: ASS subtitle position

Posted:
Sun Jan 12, 2014 2:36 pm
by sirius4
Hi Illico,
The parameter you suggested was correct, anyway I tried below parameter, only half of subtitle displayed, the other half of subtitle is hided in the black area, I think that's means the subtitle cannot be displayed in the black area.
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,1,1,0,2,10,10,-10,0,0
Test completed.
Thanks
Steven
Re: ASS subtitle position

Posted:
Sun Jan 12, 2014 3:18 pm
by Illico
It seems that for your request, you will need ASS2 format
[V4 Styles++] and use "
RelativeTo" format option.
Look at this french
specification of ASS2.
Si le champ "RelativeTo" est à 0, les coordonnées permettant de déterminer la position des lignes de sous-titre sont calculées en incluant les bandes noires (Relative to Screen).
If the field "RelativeTo"Is 0, the coordinates for determining the position of the lines subtitle are calculated including the black bars (Relative to Screen).
If the field "RelativeTo"Is 1, as for ASS (Relative to Frame).
Also look at this :
http://forum.doom9.org/showthread.php?p=811063But the ffmpeg libass does not support V4++
Re: ASS subtitle position

Posted:
Mon Jan 13, 2014 12:08 pm
by sirius4
Hi Illico,
Thank you for the information.
Steven