Bug#613550: smplayer: -subcp (default subtitles encoding) can confuse ASS renderer (huge sub fonts)

Thibaut VARENE varenet at debian.org
Tue Feb 15 17:04:24 UTC 2011


On Tue, Feb 15, 2011 at 5:13 PM, Thibaut VARENE <varenet at debian.org> wrote:
> Package: smplayer
> Version: 0.6.9-1
> Severity: normal
> Tags: upstream
>
> First off, I'm not sure whether that's a smplayer, mplayer or libass (or
> any combinaison of the above) bug.
>
> Here's the analysis:
>
> SMplayer passes a -subcp option to the mplayer process, relative to the user
> defined setting in Preferences->Subtitles->Encoding.
>
> It seems that by default (at least it was for me), this setting is "Western
> European Languages (ISO-8859-1)".
>
> Trying to play /certain/ files (and I can make available such a file) with
> this configuration triggers the following bug:
>
> In smplayer's output console, one can see near the end:
> [ass] Neither PlayResX nor PlayResY defined. Assuming 384x288

Here's an afterthought: I'm guessing the UTF-8 BOM at the beginning of
the ASS file/stream confuses the libass parser on the first section,
making it discard the whole [Script Info] section until it reaches
[V4+ Styles], at which point parsing probably resumes normally,
explaining why we still get the subs displayed...

HTH

T-Bone

-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/





More information about the pkg-multimedia-maintainers mailing list