FAQ  •  Register  •  Login

Subtitles adjustments?

<<

themacedon

Serviio newbie

Posts: 3

Joined: Sat Mar 02, 2013 3:27 pm

Post Sat Mar 02, 2013 3:33 pm

Subtitles adjustments?

Is there any way to make adjustments on the subtitles, like code page, font, size of the font etc.?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Mar 02, 2013 4:26 pm

Re: Subtitles adjustments?

I don't know how to configure/modify subtitle font.
For the moment the only information about subtitles are here : http://www.serviio.org/index.php?option ... icle&id=33

I move your topic on general Support & help section, I hope Zip will clarify this.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Mar 02, 2013 5:54 pm

Re: Subtitles adjustments?

No , you can't. The only format that supports formatting is SSA/ASS. Regarding code page, I think UTF-8 should be safe.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Mar 02, 2013 7:10 pm

Re: Subtitles adjustments?

zip wrote:No , you can't. The only format that supports formatting is SSA/ASS.

For SSA/ASS, I made some tests here : viewtopic.php?f=3&t=8255#p57781
But you should probably find lots of information on web with google.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

themacedon

Serviio newbie

Posts: 3

Joined: Sat Mar 02, 2013 3:27 pm

Post Sat Mar 02, 2013 7:13 pm

Re: Subtitles adjustments?

I have basically two problems.
The size of the font of subtitle is too small and it’s hard to read, and that’s even more pronounced on Android phones.
And secondly, some of the characters in the East/Central European subtitles are not shown properly.
Is there any fix for these problems?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Mar 02, 2013 7:20 pm

Re: Subtitles adjustments?

What is your subtitle format (srt,ass, embedded, etc) ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

themacedon

Serviio newbie

Posts: 3

Joined: Sat Mar 02, 2013 3:27 pm

Post Sat Mar 02, 2013 10:09 pm

Re: Subtitles adjustments?

My subtitles are mostly in .srt and sometimes in .sub formats.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Mar 03, 2013 8:41 am

Re: Subtitles adjustments?

themacedon wrote:My subtitles are mostly in .srt and sometimes in .sub formats.


First, with text editor like notepad++ for example, check that your subtitles files are UTF-8 encoded?


Then, you can try to convert your files to ass format with a ffmpeg command line :
ffmpeg.exe -i INPUT.srt -y -scodec ass OUTPUT.ass

Then you can edit the ass font format like this :
Replace:
[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

by
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,18,&H00ffffff,&H0000ffff,&H00000000,&H80000000,-1,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1


See result here : viewtopic.php?f=3&t=8255#p57781
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

kaisersoze

Streaming enthusiast

Posts: 25

Joined: Wed Apr 18, 2012 4:20 pm

Post Mon Mar 04, 2013 8:12 am

Re: Subtitles adjustments?

Hello,

First of all I want to thank you all involved for bringing burning subtitles.
Subtitles working pretty well with Ubuntu server/Sharp Aquos combination.

One problem is that central European subtitles are mostly encoded in CP1250 (usually srt).
So I tried following:
-set locale to CP1250
-set -Dfile.encoding=CP1250
-set LANG=xx_XX.CP1250 and export LANG directly in serviio.sh file.
Nothing helps.

The only thing that I could do is to convert srt files (with iconv) from CP1250 to UTF-8 and this work perfectly - all special characters are shown.
But it is pretty annoying for doing that for all present and future subtitles.

Second problem is font size. Font size is sometimes ok but sometimes too small. I guess it is relative to movie resolution or so.
I read following topics:
http://www.serviio.org/index.php?option ... icle&id=33
viewtopic.php?f=5&t=9497

So are there any better solution then manually converting CP1250 to UTF-8 and converting from srt to ass?
If there both ass and srt files what will have priority by Serviio?

Thank you in advance
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 04, 2013 9:56 am

Re: Subtitles adjustments?

kaisersoze wrote:The only thing that I could do is to convert srt files (with iconv) from CP1250 to UTF-8 and this work perfectly - all special characters are shown.
But it is pretty annoying for doing that for all present and future subtitles.

Yes. Ticket created but not sure how to approach it. https://bitbucket.org/xnejp03/serviio/i ... 0-files-to

If there both ass and srt files what will have priority by Serviio?

SRT
<<

kaisersoze

Streaming enthusiast

Posts: 25

Joined: Wed Apr 18, 2012 4:20 pm

Post Mon Mar 04, 2013 10:55 am

Re: Subtitles adjustments?

XBMC, for example, has option to select character set (among font, size, style, color).
Option “Character set: Central Europe (Windows)” for me works great on XBMC.
That would be great solution for users (size selection would be nice too).
Not sure about development but it does not seem too complicated – converting file before burning in.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 04, 2013 10:59 am

Re: Subtitles adjustments?

Character set is doable, but it won't detect the source file encoding. I can give you the option of selecting character set manually and then hope for the best by passing the value to FFmpeg to do the conversion. I'm not sure if the same should apply for embedded subs though.
<<

nikola2004mkd

Serviio newbie

Posts: 7

Joined: Sun Jul 21, 2013 1:32 pm

Post Mon Jul 22, 2013 11:34 am

Re: Subtitles adjustments?

From srt subtitle with cp1250 encoding i created ass subtitle with utf-8 encoding and changed font size (from 15 to 25), but when i tried to play the video file no subtitle was displayed. When i done the same thing with another program the video file didnt start playing, and i got just black screen and indication that the video file is loading to stream. In both cases i removed srt file from the folder and ass subtitle had the same name as video file.
So what i am doing wrong? Do in this case (when i have ass subtitle with the same name and in the same folder) do i have to make any adjustments in ffdshow ?
<<

kaisersoze

Streaming enthusiast

Posts: 25

Joined: Wed Apr 18, 2012 4:20 pm

Post Tue Aug 20, 2013 9:41 am

Re: Subtitles adjustments?

I tested subtitles character set option with Serviio 1.3.1 version and I can confirm that character set is working very well.
Tested with cp1250 and all special charaters are shown without problems.

Great job
Thanks
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Aug 20, 2013 10:40 am

Re: Subtitles adjustments?

Character set option on Serviio console should be the same than file character encoding option.
file ,, serviio console
cp1250 ,, cp1250
utf-8 ,, utf8
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

dadoremix

Serviio newbie

Posts: 3

Joined: Thu Dec 20, 2012 9:49 am

Post Mon Oct 07, 2013 10:05 pm

Re: Subtitles adjustments?

and how to increase the font size??
I have 50" TV, and font is too small
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Oct 08, 2013 7:06 am

Re: Subtitles adjustments?

dadoremix wrote:and how to increase the font size??
I have 50" TV, and font is too small

Use ass subtitle format : viewtopic.php?f=5&t=9466#p64510

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 52 guests

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