FAQ  •  Register  •  Login

ASS subtitle position

<<

sirius4

Serviio newbie

Posts: 6

Joined: Sun Jan 12, 2014 8:51 am

Post Sun Jan 12, 2014 12:59 pm

ASS subtitle position

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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Jan 12, 2014 1:49 pm

Re: ASS subtitle position

I made some test here : viewtopic.php?f=3&t=8255#p57781
But 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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Jan 12, 2014 1:55 pm

Re: ASS subtitle position

If you look at the spec : http://www.perlfu.co.uk/projects/asa/ass-specs.doc

Could 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
<<

sirius4

Serviio newbie

Posts: 6

Joined: Sun Jan 12, 2014 8:51 am

Post Sun Jan 12, 2014 2:05 pm

Re: ASS subtitle position

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
<<

sirius4

Serviio newbie

Posts: 6

Joined: Sun Jan 12, 2014 8:51 am

Post Sun Jan 12, 2014 2:36 pm

Re: ASS subtitle position

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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Jan 12, 2014 3:18 pm

Re: ASS subtitle position

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=811063


But the ffmpeg libass does not support V4++
<<

sirius4

Serviio newbie

Posts: 6

Joined: Sun Jan 12, 2014 8:51 am

Post Mon Jan 13, 2014 12:08 pm

Re: ASS subtitle position

Hi Illico,

Thank you for the information.

Steven

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 16 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.