[FFmpeg-devel] [PATCH] Add additional FFV1 fate tests

Michael Niedermayer michaelni at gmx.at
Tue Nov 5 13:42:04 CET 2013


On Tue, Nov 05, 2013 at 02:14:08AM +0100, Peter B. wrote:
> Here's the new, improved version of the patch. YAY! :)
> 
> Changes:
> - Improved the speed by reducing the sample durations to 4 frames
> - Fixed the 2pass dependency (and started learning Makefile basics)
> - Added prerequisites: Decoding requires encoding to be executed first
> - Added check for build-target, so the Makefile works with ffmpeg + avconv.
> - Added prerequisite for vsynth1.yuv being generated
> 
> 
> Feedback welcome.

[...]

> --- /dev/null
> +++ b/tests/ref/fate/ffv1-enc-v1-bff
> @@ -0,0 +1,4 @@
> +ca220f499d4bf37cc062ccb2e4a8b853 *tests/data/fate/ffv1-enc-v1-bff.avi
> +1103420 tests/data/fate/ffv1-enc-v1-bff.avi
> +5ae298fe228fc3a27a02812e6fbfff81 *tests/data/fate/ffv1-enc-v1-bff.out.rawvideo
> +stddev: 7922.96 PSNR: 18.35 MAXDIFF:65296 bytes:  7603200/   608256
> diff --git a/tests/ref/fate/ffv1-enc-v1-bgr0 b/tests/ref/fate/ffv1-enc-v1-bgr0
> new file mode 100644
> index 0000000..46f6b06
> --- /dev/null
> +++ b/tests/ref/fate/ffv1-enc-v1-bgr0
> @@ -0,0 +1,4 @@
> +75deb3f47c5d13da3607a0675f31d713 *tests/data/fate/ffv1-enc-v1-bgr0.avi
> +615130 tests/data/fate/ffv1-enc-v1-bgr0.avi
> +4d09cb2686347b39184c5e69acb80a09 *tests/data/fate/ffv1-enc-v1-bgr0.out.rawvideo
> +stddev: 6821.10 PSNR: 19.65 MAXDIFF:65293 bytes:  7603200/   608256

tiny_psnr is run here (and in some other cases) with the wrong
parameters
(tiny seems using 16bit) but the raw video is 8bit

except that, the testset looks impresive

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131105/9281364d/attachment.asc>


More information about the ffmpeg-devel mailing list