[MPlayer-users] R: Re: R: Re: oblique type with srt subtiles

pupilla at libero.it pupilla at libero.it
Mon Oct 4 09:39:44 CEST 2010


ubitux at gmail.com wrote:
>On Fri, Oct 01, 2010 at 03:08:23PM +0200, pupilla at libero.it wrote:
>> belcampo at zonnet.nl wrote:
>> >pupilla at libero.it wrote:
>> >> Hello everybody.
>> >> I would like to know if there is
>> >> a way to hardsub srt titles with
>> >> oblique type fonts. This is an
>> >> example of srt file:
>> >> 
>> >> 1
>> >> 00:00:00,131 --> 00:00:01,506
>> >> <i>oblique italic subtitle</i>
>> >> 
>> >> 2
>> >> 00:00:01,507 --> 00:00:05,462
>> >> <i>oblique italia
>> >> two lines subtitle.</i>
>> >> 
>> >> 3
>> >> 00:00:05,463 --> 00:00:07,154
>> >> normal font subtitle
>> >> 
>> >> vlc (for example) will show the
>> >> subtitle 1 and 2 with oblique fonts.
>> >> Mplayer doesn't: it always show the
>> >> subtitles with normal fonts. Is this
>> >> the expected bahaviour?
>> >AFAIK yes. If you want another font you have to copy an oblique font to 
>> >  ~/.mplayer/subfont.ttf
>> >It's not selectable AFAIK.
>> 
>> ok, thanks. So mplayer/mencoder is ignoring the <i> </i> tag?
>> Is this correct?
>
>-ass as I just said?

-ass option doesn't affect the output. Here is the command line:

mencoder ksc_input.mov -ovc raw  -o output.avi -oac pcm -ass -sub subita.srt

I got the same output as:

mencoder ksc_input.mov -ovc raw  -o output.avi -oac pcm -sub subita.srt

fonts on the raw video are not rendered as oblique with the <i> </i> tag


More information about the MPlayer-users mailing list