[FFmpeg-devel] [PATCH] fate: add owdenoise test

Michael Niedermayer michael at niedermayer.cc
Mon Apr 3 00:56:56 EEST 2017


On Sun, Apr 02, 2017 at 02:09:20PM -0700, Thomas Turner wrote:
> On Fri, Mar 31, 2017 at 2:49 AM, Michael Niedermayer <michael at niedermayer.cc
> > wrote:
> 
> > On Thu, Mar 30, 2017 at 07:14:42PM -0700, Thomas Turner wrote:
> > > Reference found at: http://bit.ly/2ogQygb
> > >
> > > Signed-off-by: Thomas Turner <thomastdt at googlemail.com>
> > > ---
> > >  tests/fate/filter-video.mak | 7 +++++++
> > >  1 file changed, 7 insertions(+)
> > >
> > > diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
> > > index b067cc1..a154dd2 100644
> > > --- a/tests/fate/filter-video.mak
> > > +++ b/tests/fate/filter-video.mak
> > > @@ -1,3 +1,10 @@
> > > +FATE_FILTER_SAMPLES-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER
> > PERMS_FILTER OWDENOISE_FILTER) += fate-filter-owdenoise-sample
> >
> > > +fate-filter-owdenoise-sample: CMD = ffmpeg -idct simple -i
> > $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -vf "trim=duration=1,perms=random,
> > owdenoise=10:20:20:enable=not(between(t\,2\,3))" -an -f rawvideo -
> >
> > if i change this to
> >     enable=not(between(t\,4\,5))
> >
> it still passes, so this part of the filter is not tested
> > thats likely because of the duration being 1, the enable part needs
> > to be within the duration
> >
> > Okay, will send in patch with updated reference file. Though, the
> reference file will be approx. 3MB

you can use values less than 1 in not(between(t\,2\,3))
like 0.2

That way it should work with a smaller reference
i didnt try though, please tell me if it does not work 

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170402/81c58f06/attachment.sig>


More information about the ffmpeg-devel mailing list