[MPlayer-users] Positioning subtitles

Gábor Lénárt lgb at lgb.hu
Fri Jun 27 14:08:39 CEST 2003


On Fri, Jun 27, 2003 at 04:30:33AM -0700, Alex Somesan wrote:
> I understand that the Xv context which mplayer uses to
> display the movie is limited to the same area and
> aspect as the frame size of the stream, but I'm
> curious (as am not an experienced X developer) if
> there is a way to address the rest of the screen while
> playing the movie unsing plain Xlib functions (does it
> have a windows ID or something) so that subtitles cand
> be rendered there?

As I've written in my last letter, try expand filter of mplayer
(again: see VIDEO FILTERS section of the man page)
And yes, OSD then can render subtitles there, since each "image"
transfered from the video decoder will be expanded.

> 
> --- Gábor Lénárt <lgb at lgb.hu> wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read
> > DOCS/bugreports.html]
> > Re,
> > 
> > This a quite frequently question imho :) MPlayer
> > does not know too much about
> > the black bands, because they're _NOT_ part of the
> > movie! Maybe eg you play
> > a film with aspect ratio of 16:9 on a 4:3
> > monitor/TV. Of course you will have
> > got black bands but this is NOT the content of the
> > movie so OF COURSE you
> > can't place a subtitle for that easily, at least not
> > with -subpos or other
> > options. BUT do not worry, there IS solution ;-) You
> > should ask MPlayer
> > to expand the image content, so mplayer can handle
> > the bands well. This can
> > be done with 'expand' video filter and it's well
> > documented in the man page.
> > Just view the man page, and search for word 'expand'
> > and you'll see.
> > Hope it helps.
> > 
> > On Fri, Jun 27, 2003 at 01:13:00AM -0700, Alex
> > Somesan wrote:
> > > [Automatic answer: RTFM (read DOCS, FAQ), also
> > read DOCS/bugreports.html]
> > > Mind my stupidity if so is the case, but how can
> > one
> > > place the subtitles of a divx,etc. movie on the
> > black
> > > stripe beneath the actual movie -a la MicroDVD or
> > > MV2Player- (provided it has a different aspect
> > ratio
> > > than the screen). I have tried several different
> > > combinations of -subalign and -subpos parameters.
> > Is
> > > it at all possible with mplayer? Is there a
> > problem
> > > with my build?
> > > 
> > > Thanks for your support.
> > > 
> > > Alex
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > SBC Yahoo! DSL - Now only $29.95 per month!
> > > http://sbc.yahoo.com
> > > 
> > > _______________________________________________
> > > RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> > > Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> > > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> > 
> > -- 
> > - Gábor (larta'H)
> > 
> > _______________________________________________
> > RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> > Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
- Gábor (larta'H)



More information about the MPlayer-users mailing list