[MPlayer-users] MPlayer incorrectly handles some kind of ASS subtitles using -noass option

None None s-trace at list.ru
Fri Nov 9 21:08:57 CET 2012


Hello.
I'm using mplayer 1.1 and expecting some troubles with ASS subtitles. I'm using -noass option and for this subtitle file (for example):
[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,Comic Sans MS,53,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,-1,0,0,0,100,100,1,0,1,2,1,2,10,10,25,204
Style: Title,Trebuchet MS,25,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,-1,0,0,0,100,100,0,0,1,2,1,1,12,12,75,204
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:06.00,Default,Test,0000,0000,0000,,Example text1
Dialogue: 0,0:00:00.00,0:00:06.00,Title,Test,0000,0000,0000,,{\fad(0,800)\p1\pos(30,130)\bord0\1c&H000000&\shad0}m 0 0 l 100 0 l 100 100 l 0 100 l 0 0 {\p0}
Dialogue: 0,0:00:00.00,0:00:06.00,Default,Test,0000,0000,0000,,Example text3

MPlayer shows all almost correctly using -noass:
Example text1
m 0 0 l 100 0 l 100 100 l 0 100 l 0 0 ## Should MPlayer show such line in this mode? In -ass mode it's draw black square at top left corner.
Example text3
But for this:
[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,Comic Sans MS,53,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,-1,0,0,0,100,100,1,0,1,2,1,2,10,10,25,204
Style: Title,Trebuchet MS,25,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,-1,0,0,0,100,100,0,0,1,2,1,1,12,12,75,204
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:06.00,Default,Test,0000,0000,0000,,Example text1
Dialogue: 0,0:00:00.00,0:00:06.00,Title,,0000,0000,0000,,{\fad(0,800)\p1\pos(30,130)\bord0\1c&H000000&\shad0}m 0 0 l 100 0 l 100 100 l 0 100 l 0 0 {\p0}
Dialogue: 0,0:00:00.00,0:00:06.00,Default,Test,0000,0000,0000,,Example text3
 
MPlayer shows much more incorrectly: 
Example text1
m 0 0 l 100 0 l 100 100 l 0 100 l 0 0
0000,,Example text3
And ALL subtitles after this will be prefixed by 0000,, until end of file, even if second line was skipped using -ss 10
I think it's may be even secutity vulnerability.
Can You fix this? 
Thank You!


More information about the MPlayer-users mailing list