[Mplayer-advusers] Fw: [MPlayer-users] Subtitle line spacing

Attila Kinali kinali at gmx.net
Fri Jun 27 21:04:58 CEST 2003


Hi,

Could it be that mplayer and mencoder handle fonts differently ?

		Attila Kinali

Begin forwarded message:

Date: Thu, 26 Jun 2003 05:49:04 +0200
From: Karl Ewald <karl.ewald at ixos.de>
To: "'mplayer-users at mplayerhq.hu'" <mplayer-users at mplayerhq.hu>
Subject: [MPlayer-users] Subtitle line spacing


[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hi,

I recently built a new mplayer version (current freebsd port
mplayer-0.90.0.110_2, FreeBSD 4.7-PRERELEASE, x11 output) and experimented
with creating subtitles.

I found that when looking at a subtitled video using mplayer and merging a
mpsub file, the subtitles are rendered using the fixed size font configured
with make user-config (14pt). However when I use mencoder to produce a avi
file with subtitles included in the picture, it uses the freetype generated
font. 

I want the encoded video to look the same as the preview, since I use the
preview to tune the output right. Repeatedly encoding and watching would
very much prolonge the time taken for subtitling. Also I find the wide
linespacing ugly, it makes the subtitle text go too far into the picture.
I got the font size to be the same with the -subfont-autoscale 0
-subfont-text-scale 14 parameters. 
However the line spacing in multiline subtitles is much larger than in the
preview.

The difference would probably go away if I compiled without freetype again,
however, I'd like to keep freetype since if gives me more flexibility in the
future.

I read the manual but didn't find any statement on line spacing and whether
it can be influenced.

If no solution is already available, pointers where to fiddle with the
source are also welcome, knowing which file and function to look at would
certainly help me get started.

Many thanks,

Karl Ewald

_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users



-- 
Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn
ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen
Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll.
		-- Frank Klemm, de.comp.os.unix.discussion



More information about the MPlayer-advusers mailing list