[FFmpeg-devel] [PATCH] tests/fate/dnxhd: add dnxhr mov tests

Mark Reid mindmark at gmail.com
Sun Aug 7 22:53:46 EEST 2016


On Aug 3, 2016 6:46 PM, "Michael Niedermayer" <michael at niedermayer.cc>
wrote:
>
> On Wed, Aug 03, 2016 at 02:06:21PM -0700, Mark Reid wrote:
> > ---
> >  tests/fate/vcodec.mak                        | 18 +++++++++++++++++-
> >  tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth1-dnxhd-uhd-hr-mov    |  4 ++++
> >  tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov     |  4 ++++
> >  tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov |  4 ++++
> >  tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov |  4 ++++
> >  tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov |  4 ++++
> >  14 files changed, 69 insertions(+), 1 deletion(-)
> >  create mode 100644 tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
> >  create mode 100644 tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth1-dnxhd-uhd-hr-mov
> >  create mode 100644 tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
> >  create mode 100644 tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
> >  create mode 100644 tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
> >  create mode 100644 tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
> >  create mode 100644 tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
>
> fails on qemu-mips
>
> --- ffmpeg/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov        2016-08-04
02:58:10.906274759 +0200
> +++ tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov 2016-08-04
03:19:26.514301634 +0200
> @@ -1,4 +1,4 @@
> -7ffe504b76eaab61aa7c9e7c489493c2
*tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
> +1437990f6eee843f61ddfb7742f4db67
*tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
>  4772599 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
> -0668971f3a93f5886c9b3c1db0b29307
*tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.out.rawvideo
> +9afce75639422dfe1c61aee09a9f2a1e
*tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.out.rawvideo
>  stddev:    1.34 PSNR: 45.54 MAXDIFF:   23 bytes:  7603200/   760320
> Test vsynth_lena-dnxhd-hr-hq-mov failed. Look at
tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.err for details.
> make: *** [fate-vsynth_lena-dnxhd-hr-hq-mov] Error 1
> make: *** Waiting for unfinished jobs....
> --- ffmpeg/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov    2016-08-04
02:58:10.906274759 +0200
> +++ tests/data/fate/vsynth2-dnxhd-hr-hq-mov     2016-08-04
03:19:26.574301637 +0200
> @@ -1,4 +1,4 @@
> -81b386d921f20e396cf430e003d992a0
*tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
> +73319ca2930ab36e170a676c18007b10
*tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
>  4772599 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
> -1ddcf688a127b07b5f22caf2d107e112
*tests/data/fate/vsynth2-dnxhd-hr-hq-mov.out.rawvideo
> +e077ac606b3f0bc6346991513e6f5fa4
*tests/data/fate/vsynth2-dnxhd-hr-hq-mov.out.rawvideo
>  stddev:    1.56 PSNR: 44.25 MAXDIFF:   33 bytes:  7603200/   760320
> Test vsynth2-dnxhd-hr-hq-mov failed. Look at
tests/data/fate/vsynth2-dnxhd-hr-hq-mov.err for details.
> make: *** [fate-vsynth2-dnxhd-hr-hq-mov] Error 1
> --- ffmpeg/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov    2016-08-04
02:58:10.906274759 +0200
> +++ tests/data/fate/vsynth3-dnxhd-hr-hq-mov     2016-08-04
03:19:26.758301641 +0200
> @@ -1,4 +1,4 @@
> -52090473216007402c79ec55020eb4d1
*tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
> +1f7ada7b9a6d5d065fe19d046bd9687e
*tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
>  4772599 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
> -aa2e6c13a1e7760a22fccfca9faacdf3
*tests/data/fate/vsynth3-dnxhd-hr-hq-mov.out.rawvideo
> +72dbb9f8058537f7f2f7c78e01d3de62
*tests/data/fate/vsynth3-dnxhd-hr-hq-mov.out.rawvideo
>  stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
> Test vsynth3-dnxhd-hr-hq-mov failed. Look at
tests/data/fate/vsynth3-dnxhd-hr-hq-mov.err for details.
> make: *** [fate-vsynth3-dnxhd-hr-hq-mov] Error 1
> --- ffmpeg/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov    2016-08-04
02:58:10.906274759 +0200
> +++ tests/data/fate/vsynth1-dnxhd-hr-hq-mov     2016-08-04
03:19:27.074301647 +0200
> @@ -1,4 +1,4 @@
> -c3d235535a67f8716c867a26ea2e6973
*tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
> +5abb6bfecd8c285248ea0638d0c40376
*tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
>  4772599 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
> -e09ffa29e069e4dac0b8ce9692f9cccb
*tests/data/fate/vsynth1-dnxhd-hr-hq-mov.out.rawvideo
> +07a48aed8f020e68391b63a400516e7f
*tests/data/fate/vsynth1-dnxhd-hr-hq-mov.out.rawvideo
>  stddev:    5.73 PSNR: 32.96 MAXDIFF:   56 bytes:  7603200/   760320
> Test vsynth1-dnxhd-hr-hq-mov failed. Look at
tests/data/fate/vsynth1-dnxhd-hr-hq-mov.err for details.
> make: *** [fate-vsynth1-dnxhd-hr-hq-mov] Error 1
>
>

Ok, figured this out. the encoder isn't dealing with edges correctly on
sizes that aren't a multiple of 16. I'll submit a patch that fixes and
tests that first. then resend a updated version of this patch

>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Dictatorship: All citizens are under surveillance, all their steps and
> actions recorded, for the politicians to enforce control.
> Democracy: All politicians are under surveillance, all their steps and
> actions recorded, for the citizens to enforce control.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list