[MPlayer-users] ANNOUNCE: subtitles with mencoder ans some surprise

Arpi arpi at thot.banki.hu
Thu Apr 18 00:42:02 CEST 2002


Hi,

yeah, finally it's possible (again) to encode dvd subs wiht mencoder.
also possible to encode etxt subtitles with mencoder (but you have
to use the -sub option, automatic detection of .sub files has been
disabled, as encoding text subs is not a good idea, but some of you
want to do it...)

so, every sub-related option has been move dtocommon options section,
they work with both mplayer and mencoder.

ok, then jump to the surprise:
the 'expand' plugin has been extended to render osd/sub.

ehh. nice. but why is it good?
- you can use osd/sub with _every_ -vo driver in mplayer or in mencoder
  (ok, not a big bumm, as major drivers already support osd/sub)
  but, for example it does fix flickering osd with single buffering -vo
- it support direct rendering (when possible), without flickering/buggy sub!
  it can even en/disable directrender runtime, if the sub is over the image
  and there is only one buffer (so indirect when sub is visible and direct
  when no sub over the image)
- from its original function, it can expand image size, by adding black
  bands - and surprise: it can render the osd/sub at the black areas! :)
- it does minimal update/clearing (so redraw/clear sub only if it changed) -
  so it should be much faster than before, when rendering sub outside the
  video (ie. on the black bands) - note: it doesn't work with vob/dvd subs yet

so, are you interested? cool.
ah, you wanna know how to enable. no wonder.
mencoder - do nothing, it's enabled by default
mplayer: you have to force osd-in-expand: -vop expand=w:h:x:y:1
  (note the extra :1 at the end). if you don't want to give x,y,w,h values,
  just use 0 or -1 instead: -vop expand=0:0:0:0:1


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list