[MPlayer-users] mencoder: adding logo (and more)
D Richard Felker III
dalias at aerifal.cx
Tue Nov 18 05:11:57 CET 2003
On Tue, Nov 18, 2003 at 03:34:22AM +0200, Ivan Kalvachev wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Troy D. Strum said:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hi there,
> >
> > I have a legit use for this function as mencoder generates videos that may
> > need to be watermarked in a particular way.
> >
> > This also fits with another question I was going to ask anyway - is there
> > a
> > way to superimpose the output of the "rectangle" function on the outputted
> > video? Currently we use "rectangle" for marking the TV safe areas of the
> > frame - but that's only good for people using mplayer for playback. We'd
> > like to add a rectangle or two (TV Safe, Title Safe) to the output file so
> > people with any AVI playback program can see the appropriate marks.
> >
> > BTW: We're doing stop-motion animation and mencoder/mplayer is the
> > work-horse of our on-floor review system. Part of that is TV Safe
> > indicators
> > via the "rectangle" filter.
> >
> >
> > - Troy
> >
> It would be good to have an logo filter.
> BTW as long as the rectangular is put by filter, the image is changed
> and this meen that mencoder will encode it the very same way.
> If you want to write a fitler by yourself, i think that vf_rectangular
> is a good start. You need to chooce image library for reading the logo.
> Then you should see how to convert the logo to the right colorspace
> (mplayer like yv12 (YUV4:2:0), wile most image formats like RGB).
> Then you should simply put the loaded logo in the rectangular are.
> If you need alpha blending, then you should write your accelerated function
> becouse AFAIK osd blending is only B&W.
>
> Best Regards
> Ivan Kalvachev
> iive
vf_bmovl can do it already...
Rich
More information about the MPlayer-users
mailing list