[FFmpeg-devel] fate: add owdenoise test

Submitted by Thomas Turner on March 30, 2017, 1:09 a.m.

Details

Message ID 1490836197-19846-1-git-send-email-thomastdt@googlemail.com
State Superseded
Headers show

Commit Message

Thomas Turner March 30, 2017, 1:09 a.m.
Reference file location:

https://www.dropbox.com/s/zeq3wyqbjkvy8ny/filter-owdenoise-sample?dl=0

Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
---
 tests/fate/filter-video.mak | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Michael Niedermayer March 30, 2017, 12:01 p.m.
On Wed, Mar 29, 2017 at 06:09:57PM -0700, Thomas Turner wrote:
> Reference file location:
> 
> https://www.dropbox.com/s/zeq3wyqbjkvy8ny/filter-owdenoise-sample?dl=0
> 
> Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
> ---
>  tests/fate/filter-video.mak | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
> index b067cc1..db1e9cb 100644
> --- a/tests/fate/filter-video.mak
> +++ b/tests/fate/filter-video.mak
> @@ -1,3 +1,9 @@
> +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 -vcodec rawvideo -f nut -
> +fate-filter-owdenoise-sample: CMP_TARGET = 1
> +fate-filter-owdenoise-sample: FUZZ = 3539
> +fate-filter-owdenoise-sample: CMP = oneoff

i didnt spot it yesterday but
REF = ...
is missing

also "-f nut" cannot work, you have to use rawvideo
even if this is a bit more inconvenient
Future ffmpeg can create nut files that cannot be byte wise compared
to a unchanging reference

[...]

Patch hide | download patch | download mbox

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index b067cc1..db1e9cb 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -1,3 +1,9 @@ 
+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 -vcodec rawvideo -f nut -
+fate-filter-owdenoise-sample: CMP_TARGET = 1
+fate-filter-owdenoise-sample: FUZZ = 3539
+fate-filter-owdenoise-sample: CMP = oneoff
+
 FATE_FILTER_SAMPLES-$(call ALLYES, PERMS_FILTER DELOGO_FILTER RM_DEMUXER RV30_DECODER) += fate-filter-delogo
 fate-filter-delogo: CMD = framecrc -i $(TARGET_SAMPLES)/real/rv30.rm -vf perms=random,delogo=show=0:x=290:y=25:w=26:h=16 -an