Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#252 closed defect (worksforme)

Subtitle issues (positioning, size and loading)

Reported by: darkvater@… Owned by: alex@…
Priority: normal Component: core
Version: 1.0pre6 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I am having a few issues with subtitles.

First of all with positioning. It can be only be as low as the movie itself.
This means in a widescreen movie (with the black bars at the top and bottom) I
will not be able to put subtitles in that black area when fullscreen. Imho the
place percentage should depend on the full screen of the movie. On fullscreen it
is the moviesize INCLUDING the black bars.

The second issue is that how hard I try I cannot change the fontsize. Using
gmplayer I set 'text scale' to some big value like 75, but the subs stay the
same size (The font textbar is empty, so it's using some default font).

As an additional question, where do I select between multiple subtitles? If I
load a new one the movie rewinds to the starting position which is FAR from
ideal.

Change History (2)

comment:1 by reimar, 19 years ago

Resolution: worksforme
Status: newclosed

(In reply to comment #0)

First of all with positioning. It can be only be as low as the movie itself.
This means in a widescreen movie (with the black bars at the top and bottom) I
will not be able to put subtitles in that black area when fullscreen. Imho the
place percentage should depend on the full screen of the movie. On fullscreen it
is the moviesize INCLUDING the black bars.

In most cases this will waste processing power, so this is not default. You can
either use -vf expand=... or -vo gl (and maybe some other vos, too). I'm quite
sure this is in the documentation though...

The second issue is that how hard I try I cannot change the fontsize. Using
gmplayer I set 'text scale' to some big value like 75, but the subs stay the
same size (The font textbar is empty, so it's using some default font).

If you use a fixed-size font it, you have to get a bigger font. Or you have to
use a truetype font (e.g. link it to subfont.ttf in ~/.mplayer

As an additional question, where do I select between multiple subtitles? If I
load a new one the movie rewinds to the starting position which is FAR from
ideal.

Use the sub_select command. You can bind it to a key with the ~/.mplayer/input
file. You have to load all subtitles before of course which might be only
possible with the command line.

comment:2 by darkvater@…, 19 years ago

I have done a lot of research the last few days and it basically boiled down to
the fact that the SUSE RPM which I installed linked from the official download
location was broken. Subtitles did not want to work in any way.

I the recompiled the source myself and subtitles worked. Thank you for the -vf
expand tip, this works quite nicely.

Note: See TracTickets for help on using tickets.