[Ffmpeg-devel] Video Filter Layer (was: Re: Cropping / Padding patches)

Luca Abeni lucabe72
Wed Mar 15 09:55:55 CET 2006

Hi Michael,

On Tue, 2006-03-14 at 22:45 +0100, Michael Niedermayer wrote:
> > In this way, you can pad by
> > 1) calling img_pad(final_picture, final_height, final_width, padtop, padbottom, padleft, padright, padcolor, &picture_pad_temp)
> > 2) copying (or rescaling) the input picture into picture_pad_temp
> > 3) the padded picture is in final_picture
> > 
> > Michael, what do you think? Is this reasonable?
> my interrest in the scale/crop/pad code in and related to ffmoeg.c is zero
> in its current form
Ok, I understand. I agree that scale/crop/pad code in ffmpeg.c is
currently confusing... I am just trying to make it better. But maybe I
lack some knowledge, and I am going in the wrong direction.

> so do whatever you think is best ...
Well, I think the best thing would be to rework it so that you like it
and your interest in it increases :)
I am willing to work on that, I just need to understand how things
should be done.

>  when we have a 
> clean video filter layer then ill be more interrested for sure ...
Then, I think this might be the time to start implementing this video
filter layer. Unfortunately, I missed the discussion about it. Where can
I find some references?

I am interested in this stuff to integrate swscaler.
But I fear that if I do the swscaler integration in the wrong way (for
example, without using a proper video filter layer) working on it could
be useless. So, I want to do it the right way.

I am willing to spend some time in implementing a proper video filter
layer, and using it as a base for crop,pad,rescale & friends...
I just need some input (I hope some of the experts here will be patient
enough to help me. I do not want to waste anyone's time, but I hope to
find someone skilled and interested in video filters that will give me
some guidance at the beginning. I'll do all the coding): has it been
discussed before? Where? Where can I find more information about a
proper API, etc?
If, instead, this has not been discussed before, let's start a
discussion, so that we can design the video filter layer properly... ;-)

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Cassine di Pietra: vini veneti di qualit? subito a casa Sua 
* da un?azienda famigliare al servizio di clienti selezionati
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3919&d=15-3

More information about the ffmpeg-devel mailing list