[MPlayer-users] mencoder: adding logo (and more)

Ivan Kalvachev ivan at cacad.com
Tue Nov 18 02:34:22 CET 2003


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


>
> ----- Original Message -----
> From: "Dominik 'Rathann' Mierzejewski" <dominik at rangers.eu.org>
> To: "MPlayer user's list." <mplayer-users at mplayerhq.hu>
> Sent: Monday, November 17, 2003 5:10 PM
> Subject: Re: [MPlayer-users] mencoder: adding logo
>
>
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Monday, 17 November 2003 at 21:49, D Richard Felker III wrote:
>> [Automatic answer: RTFM (read DOCS, FAQ), also read
>> DOCS/bugreports.html]
>> On Mon, Nov 17, 2003 at 11:28:28AM +0100, Lukasz Skital wrote:
>> > [Automatic answer: RTFM (read DOCS, FAQ), also read
> DOCS/bugreports.html]
>> >
>> > Is it possbile to add my own logo to movie using mencoder???
>>
>> Uhg, I hate when people do that...
There is no suprice that logo-removal filter came first
than logo-set one:)))

>
> Then we should reject any patch that adds such functionality, shouldn't
> we? ;P



More information about the MPlayer-users mailing list