[MPlayer-dev-eng] [PATCH] VF Overlay

compn tempn at twmi.rr.com
Wed Sep 23 03:53:21 CEST 2009


On Tue, 22 Sep 2009 23:38:53 +0300, Uoti Urpala wrote:
>On Tue, 2009-09-22 at 22:26 +0200, Benjamin Zores wrote:
>> Uoti Urpala wrote:
>> 
>> > I think the most obvious problems people would see occur with VDPAU.
>> > This approach obviously fails completely with hardware decoding. Result
>> > with deinterlace will at least be suboptimal even if doing the decoding
>> > in software (especially significant for TV frontends). And it looks like
>> > some additional frame buffering is beneficial with VDPAU, emphasizing
>> > that the filter chain is not suited to realtime-related modifications.
>> 
>> No VF filter at all works with VDPAU anyhow.
>> How could/could you implement such an overlay feature there ?
>
>Overlay features should be implemented as a part of OSD handling.
>Implementing the drawing of RGBA or YUV OSD objects in vo_vdpau would be
>fairly trivial.

until this mystical osd filter is implemented (and even after it), i
dont think there are any objections to new audio/video filters...

as for it being a complicated filter, i agree.
it would be nice to just have a simple command to paste an image over
the video, ala mplayer -vf overlay=watermark.png file.avi
but this is a wish and not a bug :)

-compn



More information about the MPlayer-dev-eng mailing list