[FFmpeg-devel] [PATCH] smptebars filter
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Jun 20 22:40:17 CEST 2012
On 6/20/12, Nicolas George <nicolas.george at normalesup.org> wrote:
> > Le tridi 3 messidor, an CCXX, Paul B Mahol a ecrit :
> >> I dunno if there is any filter which actually does that.
> >
> > There is not, but AFAIK the only filter that returns a constant image is
> > vsrc_color, whose job is trivial enough to make that particular point moot.
>
> My lavfi experience is limited so if you could fix vsrc_color I could
> learn something.
Sorry about that one <rant>did I ever mention that calling all android
email apps "shit" is being nice to the developers</rant>.
Anyway, in theory all you need to do is to use AV_PERM_PRESERVE and
AV_PERM_REUSE I think.
Though I admit there are lots of details I am unsure about, like
if it is really ok/possible to get a buffer at config time, if
you still need to call get_video_buffer in each request_frame call or
if you can store it in the context and reuse etc...
More information about the ffmpeg-devel
mailing list