[FFmpeg-devel] [PATCH] lavfi: add kerndeint filter

Stefano Sabatini stefasab at gmail.com
Sat Oct 20 12:49:28 CEST 2012


On date Saturday 2012-10-20 02:43:41 +0200, Michael Niedermayer encoded:
> On Sat, Oct 20, 2012 at 02:33:46AM +0200, Michael Niedermayer wrote:
> > On Thu, Oct 18, 2012 at 09:50:53AM +0200, Jérémy Tran wrote:
> > > This is a port of the vf_kerndeint filter (libmpcodecs/vf_kerndeint) by
> > > Donal A. Graft (original avisynth plugin author).
> > > 
> > > The filter works fine using YUV colorspace.
> > > When using RGB, it is not binary equal with mp=kerndeint (the output video
> > > looks fine so this may be a little mistake I did somewhere).
> > 
> > what is different ?
> > are the differences just +-1? larger?
> > just luma?
> > just chroma?
> > just right border?
> > just left?
> > all pixels ?
> > 
> > awnsers to these may help in finding what causes the difference
> 

> also if you see no difference in the filter, its possible theres a
> difference outside (a addional scale filter or bug) dumping the
> filters input and output directly may be worth it if you suspect this.

How are you testing the mismatch?
showinfo just after the filter should avoid conversion issues.
 
> And it uses floats, rounding with floats can differ due to compiler
> optimization differences even when the code is practically the same
> knowing if the differences are just +-1 could give a hint toward this

BTW, who can suggest an image formats which prints the values in
textual formats? This should be helpful as well (and better than
adding custom printf/log in the code).
-- 
FFmpeg = Fast Fiendish Majestic Portable Enlightening Gorilla


More information about the ffmpeg-devel mailing list