[MPlayer-users] softsub in .avi file

Rickard Närström rickard.narstrom at gmail.com
Sun May 8 23:58:36 CEST 2005


On Sun, 08 May 2005 23:47:04 +0200, Phil Oleynik  
<Oleynik.Phil at mail.ioffe.ru> wrote:

> Rickard Närström wrote:
>
>> Now back to my problem, I sucessfully converted the first avi to mkv -  
>> but  do you have any idéa of how to remove all the junk output strings  
>> will  generate, this time i manually removed it using a text editor  
>> that wont  work in a bash script.
>
> What are that junk strings? These?:
>
>> [Script Info]
>> ScriptType: v4.00
>> Collisions: Normal
>> PlayResY: 1024
>> Timer: 100.0000
>> [V4 Styles]
>> Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour,   
>> TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline,  
>> Shadow,  Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
>> Style:   
>> Style1,Tahoma,52,&Hffffff,&Hffffff,&H000008,&H000008,-1,0,1,2,0,2,30,30,30,0,0

no, no, not those - the 99% of lines added before that

> It is not junk, it is SSA/ASS-scripts format header, it's necessary for  
> applications that can handle
> different text styles in the same script (usually, I see subtitles in  
> anime, so there is a pretty good
> thing if each character has its color of subtitle. However, in mplayer  
> this feature is not yet supported.)
>
> mkvmerge should understand that it is SSA/ASS, not SRT or anything, so  
> you won't see that lines
> in a movie. mplayer parses SSA and shows only text, without any styles.  
> If the script you have, has
> large number of overlapping entries this may confuse mplayer, and  
> something will either stick on
> screen, or won't be visible.
>
> If nothing helps - try to use Perl to remove lines you do not like, it  
> likes such jobs.

I get a program from an other user on this list - it's works fine - but  
thanks anyway.




More information about the MPlayer-users mailing list