long subtitles improperly displayed
#1
hi folks,

i found something weird:

when i play a movie with subtitles, if the subtitle line is too long, it is displayed with huge fonts (almost covering all the screen), whereas all the other subtitle lines are ok (before and after the incriminated line).

here is an example (it's a french subtitle, but whatever):

-------------------

3
00:00:06,247 --> 00:00:09,207
je sais que je ne suis pas censé le savoir, mais
je le sais et je suis si content pour vous.

-------------------
the text part is 93 bytes long. i checked and the subtitle font size is correct if i cut it to 85 bytes, like that :

-------------------

3
00:00:06,247 --> 00:00:09,207
je sais que je ne suis pas censé le savoir, mais
je le sais et je suis si content po

-------------------
if there is just one more byte, then the line is written in huge letters... by the way, this is a .txt sub file, but i also saw that on screen with .srt
as i don't know how xbmc handle subs, maybe i should count the size from the first line, not only thet text part...dunno.

i just would like to add that xbmc is really really great !!
thanks guys !

p.s.: it is more of a feature suggestion, but it would be great to add the capability to change the subs font size, because it is now a little too small (when correctly displayed) for my taste.
#2
will look into it. have you tried the latest cvs code (11/23)?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#3
ok, thanks for your answer.

yes indeed, i've done those tests with the 11/23 version, but it appeared also in previous versions...
#4
hmmm - i couldn't replicate this bug.

i played a movie with a .srt file with up to 200 characters on one line, and it correctly handled it no problems at all.

perhaps it has something to do with the size of the video file?

could you please upload a small clip, along with the .srt file to:

xbmc upload page

thanks,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#5
i have the same problem but if i try the subtitles file with another video, the bug doesn't appear so i suppose it has something to do with the size of the video file.

i've upped a sample here because the upload page doesn't work for me. be sure to download the file using ie or a download manager like flashget (set the referrer to the same file link) because anycities.com is too picky.

if that helps, my xbox is set to pal 4:3 and the video has a 320x240 size, 20.000 fps
#6
bug fixed.

problem was videos with very small vertical resolution that use long subtitles. should be fixed now.

also, i've added a flicker filter to the movie playback so subs don't flicker anymore.

cheers,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#7
many thanks!
#8
sorry for not answering earlier.

i tested it with version 11/29, and i confirm that the problem is solved.

thanks a lot, that was really quick !!

Logout Mark Read Team Forum Stats Members Help
long subtitles improperly displayed0