[FFmpeg-cvslog] avformat/framehash: enable new output
James Almer
git at videolan.org
Thu Apr 14 02:24:56 CEST 2016
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Apr 13 21:13:21 2016 -0300| [0efafc5849037046c3834769d6e20d33fae0c769] | committer: James Almer
avformat/framehash: enable new output
Also, make every addition except for sidedata part of version 1 instead of the
new version 2.
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0efafc5849037046c3834769d6e20d33fae0c769
---
libavformat/framecrcenc.c | 2 +-
libavformat/framehash.c | 26 ++++++++++------------
libavformat/hashenc.c | 9 ++++----
libavformat/internal.h | 2 +-
libavformat/uncodedframecrcenc.c | 2 +-
tests/ref/fate/dca-xll_51_16_192_768_0 | 6 ++++-
tests/ref/fate/dca-xll_51_16_192_768_0-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_51_16_192_768_0-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_51_16_192_768_1 | 6 ++++-
tests/ref/fate/dca-xll_51_16_192_768_1-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_51_16_192_768_1-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_51_24_48_768 | 6 ++++-
tests/ref/fate/dca-xll_51_24_48_768-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_51_24_48_768-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_51_24_48_none | 6 ++++-
tests/ref/fate/dca-xll_51_24_48_none-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_51_24_48_none-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_71_24_48_768_0 | 6 ++++-
tests/ref/fate/dca-xll_71_24_48_768_0-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_71_24_48_768_0-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_71_24_48_768_1 | 6 ++++-
tests/ref/fate/dca-xll_71_24_48_768_1-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_71_24_48_768_1-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_71_24_96_768 | 6 ++++-
tests/ref/fate/dca-xll_71_24_96_768-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_71_24_96_768-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_x96_51_24_96_1509 | 6 ++++-
tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_6 | 6 ++++-
tests/ref/fate/dca-xll_xch_61_24_48_768 | 6 ++++-
tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_2 | 6 ++++-
tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_6 | 6 ++++-
tests/ref/fate/dcinema-encode | 6 ++++-
tests/ref/fate/g722-encode | 6 ++++-
tests/ref/fate/g726-encode-2bit | 6 ++++-
tests/ref/fate/g726-encode-3bit | 6 ++++-
tests/ref/fate/g726-encode-4bit | 6 ++++-
tests/ref/fate/g726-encode-5bit | 6 ++++-
tests/ref/fate/h264-crop-to-container | 6 ++++-
tests/ref/fate/h264-extreme-plane-pred | 6 ++++-
tests/ref/fate/mpeg4-resolution-change-down-down | 6 ++++-
tests/ref/fate/mpeg4-resolution-change-down-up | 6 ++++-
tests/ref/fate/mpeg4-resolution-change-up-down | 6 ++++-
tests/ref/fate/mpeg4-resolution-change-up-up | 6 ++++-
tests/ref/fate/utvideoenc_rgb_left | 7 +++++-
tests/ref/fate/utvideoenc_rgb_median | 7 +++++-
tests/ref/fate/utvideoenc_rgb_none | 7 +++++-
tests/ref/fate/utvideoenc_rgba_left | 7 +++++-
tests/ref/fate/utvideoenc_rgba_median | 7 +++++-
tests/ref/fate/utvideoenc_rgba_none | 7 +++++-
tests/ref/fate/utvideoenc_yuv420_left | 7 +++++-
tests/ref/fate/utvideoenc_yuv420_median | 7 +++++-
tests/ref/fate/utvideoenc_yuv420_none | 7 +++++-
tests/ref/fate/utvideoenc_yuv422_left | 7 +++++-
tests/ref/fate/utvideoenc_yuv422_median | 7 +++++-
tests/ref/fate/utvideoenc_yuv422_none | 7 +++++-
tests/ref/fate/vp8-sign-bias | 6 ++++-
tests/ref/fate/vp8-size-change | 6 ++++-
tests/ref/fate/vp8-test-vector-001 | 6 ++++-
tests/ref/fate/vp8-test-vector-002 | 6 ++++-
tests/ref/fate/vp8-test-vector-003 | 6 ++++-
tests/ref/fate/vp8-test-vector-004 | 6 ++++-
tests/ref/fate/vp8-test-vector-005 | 6 ++++-
tests/ref/fate/vp8-test-vector-006 | 6 ++++-
tests/ref/fate/vp8-test-vector-007 | 6 ++++-
tests/ref/fate/vp8-test-vector-008 | 6 ++++-
tests/ref/fate/vp8-test-vector-009 | 6 ++++-
tests/ref/fate/vp8-test-vector-010 | 6 ++++-
tests/ref/fate/vp8-test-vector-011 | 6 ++++-
tests/ref/fate/vp8-test-vector-012 | 6 ++++-
tests/ref/fate/vp8-test-vector-013 | 6 ++++-
tests/ref/fate/vp8-test-vector-014 | 6 ++++-
tests/ref/fate/vp8-test-vector-015 | 6 ++++-
tests/ref/fate/vp8-test-vector-016 | 6 ++++-
tests/ref/fate/vp8-test-vector-017 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-00 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-01 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-02 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-03 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-04 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-05 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-06 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-07 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-08 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-09 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-10 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-11 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-12 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-13 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-14 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-15 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-16 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-17 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-18 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-19 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-20 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-21 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-22 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-23 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-24 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-25 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-26 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-27 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-28 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-29 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-30 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-31 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-32 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-33 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-34 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-35 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-36 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-37 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-38 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-39 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-40 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-41 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-42 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-43 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-44 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-45 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-46 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-47 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-48 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-49 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-50 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-51 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-52 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-53 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-54 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-55 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-56 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-57 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-58 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-59 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-60 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-61 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-62 | 6 ++++-
tests/ref/fate/vp9-00-quantizer-63 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-1 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-2 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-3 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-4 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-5 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-6 | 6 ++++-
tests/ref/fate/vp9-01-sharpness-7 | 6 ++++-
tests/ref/fate/vp9-02-size-08x08 | 6 ++++-
tests/ref/fate/vp9-02-size-08x10 | 6 ++++-
tests/ref/fate/vp9-02-size-08x16 | 6 ++++-
tests/ref/fate/vp9-02-size-08x18 | 6 ++++-
tests/ref/fate/vp9-02-size-08x32 | 6 ++++-
tests/ref/fate/vp9-02-size-08x34 | 6 ++++-
tests/ref/fate/vp9-02-size-08x64 | 6 ++++-
tests/ref/fate/vp9-02-size-08x66 | 6 ++++-
tests/ref/fate/vp9-02-size-10x08 | 6 ++++-
tests/ref/fate/vp9-02-size-10x10 | 6 ++++-
tests/ref/fate/vp9-02-size-10x16 | 6 ++++-
tests/ref/fate/vp9-02-size-10x18 | 6 ++++-
tests/ref/fate/vp9-02-size-10x32 | 6 ++++-
tests/ref/fate/vp9-02-size-10x34 | 6 ++++-
tests/ref/fate/vp9-02-size-10x64 | 6 ++++-
tests/ref/fate/vp9-02-size-10x66 | 6 ++++-
tests/ref/fate/vp9-02-size-16x08 | 6 ++++-
tests/ref/fate/vp9-02-size-16x10 | 6 ++++-
tests/ref/fate/vp9-02-size-16x16 | 6 ++++-
tests/ref/fate/vp9-02-size-16x18 | 6 ++++-
tests/ref/fate/vp9-02-size-16x32 | 6 ++++-
tests/ref/fate/vp9-02-size-16x34 | 6 ++++-
tests/ref/fate/vp9-02-size-16x64 | 6 ++++-
tests/ref/fate/vp9-02-size-16x66 | 6 ++++-
tests/ref/fate/vp9-02-size-18x08 | 6 ++++-
tests/ref/fate/vp9-02-size-18x10 | 6 ++++-
tests/ref/fate/vp9-02-size-18x16 | 6 ++++-
tests/ref/fate/vp9-02-size-18x18 | 6 ++++-
tests/ref/fate/vp9-02-size-18x32 | 6 ++++-
tests/ref/fate/vp9-02-size-18x34 | 6 ++++-
tests/ref/fate/vp9-02-size-18x64 | 6 ++++-
tests/ref/fate/vp9-02-size-18x66 | 6 ++++-
tests/ref/fate/vp9-02-size-32x08 | 6 ++++-
tests/ref/fate/vp9-02-size-32x10 | 6 ++++-
tests/ref/fate/vp9-02-size-32x16 | 6 ++++-
tests/ref/fate/vp9-02-size-32x18 | 6 ++++-
tests/ref/fate/vp9-02-size-32x32 | 6 ++++-
tests/ref/fate/vp9-02-size-32x34 | 6 ++++-
tests/ref/fate/vp9-02-size-32x64 | 6 ++++-
tests/ref/fate/vp9-02-size-32x66 | 6 ++++-
tests/ref/fate/vp9-02-size-34x08 | 6 ++++-
tests/ref/fate/vp9-02-size-34x10 | 6 ++++-
tests/ref/fate/vp9-02-size-34x16 | 6 ++++-
tests/ref/fate/vp9-02-size-34x18 | 6 ++++-
tests/ref/fate/vp9-02-size-34x32 | 6 ++++-
tests/ref/fate/vp9-02-size-34x34 | 6 ++++-
tests/ref/fate/vp9-02-size-34x64 | 6 ++++-
tests/ref/fate/vp9-02-size-34x66 | 6 ++++-
tests/ref/fate/vp9-02-size-64x08 | 6 ++++-
tests/ref/fate/vp9-02-size-64x10 | 6 ++++-
tests/ref/fate/vp9-02-size-64x16 | 6 ++++-
tests/ref/fate/vp9-02-size-64x18 | 6 ++++-
tests/ref/fate/vp9-02-size-64x32 | 6 ++++-
tests/ref/fate/vp9-02-size-64x34 | 6 ++++-
tests/ref/fate/vp9-02-size-64x64 | 6 ++++-
tests/ref/fate/vp9-02-size-64x66 | 6 ++++-
tests/ref/fate/vp9-02-size-66x08 | 6 ++++-
tests/ref/fate/vp9-02-size-66x10 | 6 ++++-
tests/ref/fate/vp9-02-size-66x16 | 6 ++++-
tests/ref/fate/vp9-02-size-66x18 | 6 ++++-
tests/ref/fate/vp9-02-size-66x32 | 6 ++++-
tests/ref/fate/vp9-02-size-66x34 | 6 ++++-
tests/ref/fate/vp9-02-size-66x64 | 6 ++++-
tests/ref/fate/vp9-02-size-66x66 | 6 ++++-
tests/ref/fate/vp9-03-deltaq | 6 ++++-
tests/ref/fate/vp9-03-size-196x196 | 6 ++++-
tests/ref/fate/vp9-03-size-196x198 | 6 ++++-
tests/ref/fate/vp9-03-size-196x200 | 6 ++++-
tests/ref/fate/vp9-03-size-196x202 | 6 ++++-
tests/ref/fate/vp9-03-size-196x208 | 6 ++++-
tests/ref/fate/vp9-03-size-196x210 | 6 ++++-
tests/ref/fate/vp9-03-size-196x224 | 6 ++++-
tests/ref/fate/vp9-03-size-196x226 | 6 ++++-
tests/ref/fate/vp9-03-size-198x196 | 6 ++++-
tests/ref/fate/vp9-03-size-198x198 | 6 ++++-
tests/ref/fate/vp9-03-size-198x200 | 6 ++++-
tests/ref/fate/vp9-03-size-198x202 | 6 ++++-
tests/ref/fate/vp9-03-size-198x208 | 6 ++++-
tests/ref/fate/vp9-03-size-198x210 | 6 ++++-
tests/ref/fate/vp9-03-size-198x224 | 6 ++++-
tests/ref/fate/vp9-03-size-198x226 | 6 ++++-
tests/ref/fate/vp9-03-size-200x196 | 6 ++++-
tests/ref/fate/vp9-03-size-200x198 | 6 ++++-
tests/ref/fate/vp9-03-size-200x200 | 6 ++++-
tests/ref/fate/vp9-03-size-200x202 | 6 ++++-
tests/ref/fate/vp9-03-size-200x208 | 6 ++++-
tests/ref/fate/vp9-03-size-200x210 | 6 ++++-
tests/ref/fate/vp9-03-size-200x224 | 6 ++++-
tests/ref/fate/vp9-03-size-200x226 | 6 ++++-
tests/ref/fate/vp9-03-size-202x196 | 6 ++++-
tests/ref/fate/vp9-03-size-202x198 | 6 ++++-
tests/ref/fate/vp9-03-size-202x200 | 6 ++++-
tests/ref/fate/vp9-03-size-202x202 | 6 ++++-
tests/ref/fate/vp9-03-size-202x208 | 6 ++++-
tests/ref/fate/vp9-03-size-202x210 | 6 ++++-
tests/ref/fate/vp9-03-size-202x224 | 6 ++++-
tests/ref/fate/vp9-03-size-202x226 | 6 ++++-
tests/ref/fate/vp9-03-size-208x196 | 6 ++++-
tests/ref/fate/vp9-03-size-208x198 | 6 ++++-
tests/ref/fate/vp9-03-size-208x200 | 6 ++++-
tests/ref/fate/vp9-03-size-208x202 | 6 ++++-
tests/ref/fate/vp9-03-size-208x208 | 6 ++++-
tests/ref/fate/vp9-03-size-208x210 | 6 ++++-
tests/ref/fate/vp9-03-size-208x224 | 6 ++++-
tests/ref/fate/vp9-03-size-208x226 | 6 ++++-
tests/ref/fate/vp9-03-size-210x196 | 6 ++++-
tests/ref/fate/vp9-03-size-210x198 | 6 ++++-
tests/ref/fate/vp9-03-size-210x200 | 6 ++++-
tests/ref/fate/vp9-03-size-210x202 | 6 ++++-
tests/ref/fate/vp9-03-size-210x208 | 6 ++++-
tests/ref/fate/vp9-03-size-210x210 | 6 ++++-
tests/ref/fate/vp9-03-size-210x224 | 6 ++++-
tests/ref/fate/vp9-03-size-210x226 | 6 ++++-
tests/ref/fate/vp9-03-size-224x196 | 6 ++++-
tests/ref/fate/vp9-03-size-224x198 | 6 ++++-
tests/ref/fate/vp9-03-size-224x200 | 6 ++++-
tests/ref/fate/vp9-03-size-224x202 | 6 ++++-
tests/ref/fate/vp9-03-size-224x208 | 6 ++++-
tests/ref/fate/vp9-03-size-224x210 | 6 ++++-
tests/ref/fate/vp9-03-size-224x224 | 6 ++++-
tests/ref/fate/vp9-03-size-224x226 | 6 ++++-
tests/ref/fate/vp9-03-size-226x196 | 6 ++++-
tests/ref/fate/vp9-03-size-226x198 | 6 ++++-
tests/ref/fate/vp9-03-size-226x200 | 6 ++++-
tests/ref/fate/vp9-03-size-226x202 | 6 ++++-
tests/ref/fate/vp9-03-size-226x208 | 6 ++++-
tests/ref/fate/vp9-03-size-226x210 | 6 ++++-
tests/ref/fate/vp9-03-size-226x224 | 6 ++++-
tests/ref/fate/vp9-03-size-226x226 | 6 ++++-
tests/ref/fate/vp9-05-resize | 6 ++++-
tests/ref/fate/vp9-06-bilinear | 6 ++++-
tests/ref/fate/vp9-09-lf_deltas | 6 ++++-
tests/ref/fate/vp9-10-show-existing-frame | 6 ++++-
tests/ref/fate/vp9-10-show-existing-frame2 | 6 ++++-
tests/ref/fate/vp9-15-segkey_adpq | 6 ++++-
tests/ref/fate/vp9-16-intra-only | 6 ++++-
tests/ref/fate/vp9-2pass-akiyo | 6 ++++-
tests/ref/fate/vp9-parallelmode-akiyo | 6 ++++-
tests/ref/fate/vp9-segmentation-aq-akiyo | 6 ++++-
tests/ref/fate/vp9-segmentation-sf-akiyo | 6 ++++-
tests/ref/fate/vp9-tiling-pedestrian | 6 ++++-
tests/ref/fate/vp9-trac3849 | 6 ++++-
tests/ref/fate/vp9-trac4359 | 6 ++++-
tests/ref/fate/vp9p1-04-yuv422 | 6 ++++-
tests/ref/fate/vp9p1-04-yuv440 | 6 ++++-
tests/ref/fate/vp9p1-04-yuv444 | 6 ++++-
tests/ref/fate/vp9p2-20-10bit-yuv420 | 6 ++++-
tests/ref/fate/vp9p2-20-12bit-yuv420 | 6 ++++-
tests/ref/fate/vp9p3-20-10bit-yuv422 | 6 ++++-
tests/ref/fate/vp9p3-20-10bit-yuv440 | 6 ++++-
tests/ref/fate/vp9p3-20-10bit-yuv444 | 6 ++++-
tests/ref/fate/vp9p3-20-12bit-yuv422 | 6 ++++-
tests/ref/fate/vp9p3-20-12bit-yuv440 | 6 ++++-
tests/ref/fate/vp9p3-20-12bit-yuv444 | 6 ++++-
tests/ref/fate/xvid-custom-matrix | 6 ++++-
tests/ref/fate/xvid-idct | 6 ++++-
302 files changed, 1516 insertions(+), 319 deletions(-)
diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c
index a7d729a..91bcdcd 100644
--- a/libavformat/framecrcenc.c
+++ b/libavformat/framecrcenc.c
@@ -39,7 +39,7 @@ static int framecrc_write_header(struct AVFormatContext *s)
}
}
- return ff_framehash_write_header(s, 2);
+ return ff_framehash_write_header(s);
}
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
diff --git a/libavformat/framehash.c b/libavformat/framehash.c
index 7431d45..4c5499e 100644
--- a/libavformat/framehash.c
+++ b/libavformat/framehash.c
@@ -20,7 +20,7 @@
#include "internal.h"
-int ff_framehash_write_header(AVFormatContext *s, int version)
+int ff_framehash_write_header(AVFormatContext *s)
{
int i;
@@ -30,19 +30,17 @@ int ff_framehash_write_header(AVFormatContext *s, int version)
AVStream *st = s->streams[i];
AVCodecParameters *avctx = st->codecpar;
avio_printf(s->pb, "#tb %d: %d/%d\n", i, st->time_base.num, st->time_base.den);
- if (version > 1) {
- avio_printf(s->pb, "#media_type %d: %s\n", i, av_get_media_type_string(avctx->codec_type));
- avio_printf(s->pb, "#codec_id %d: %s\n", i, avcodec_get_name(avctx->codec_id));
- switch (avctx->codec_type) {
- case AVMEDIA_TYPE_AUDIO:
- avio_printf(s->pb, "#sample_rate %d: %d\n", i,avctx->sample_rate);
- avio_printf(s->pb, "#channel_layout %d: %"PRIx64"\n", i,avctx->channel_layout);
- break;
- case AVMEDIA_TYPE_VIDEO:
- avio_printf(s->pb, "#dimensions %d: %dx%d\n", i, avctx->width, avctx->height);
- avio_printf(s->pb, "#sar %d: %d/%d\n", i, st->sample_aspect_ratio.num, st->sample_aspect_ratio.den);
- break;
- }
+ avio_printf(s->pb, "#media_type %d: %s\n", i, av_get_media_type_string(avctx->codec_type));
+ avio_printf(s->pb, "#codec_id %d: %s\n", i, avcodec_get_name(avctx->codec_id));
+ switch (avctx->codec_type) {
+ case AVMEDIA_TYPE_AUDIO:
+ avio_printf(s->pb, "#sample_rate %d: %d\n", i,avctx->sample_rate);
+ avio_printf(s->pb, "#channel_layout %d: %"PRIx64"\n", i,avctx->channel_layout);
+ break;
+ case AVMEDIA_TYPE_VIDEO:
+ avio_printf(s->pb, "#dimensions %d: %dx%d\n", i, avctx->width, avctx->height);
+ avio_printf(s->pb, "#sar %d: %d/%d\n", i, st->sample_aspect_ratio.num, st->sample_aspect_ratio.den);
+ break;
}
avio_flush(s->pb);
}
diff --git a/libavformat/hashenc.c b/libavformat/hashenc.c
index 86f9381..ced2f66 100644
--- a/libavformat/hashenc.c
+++ b/libavformat/hashenc.c
@@ -58,7 +58,7 @@ static void hash_finish(struct AVFormatContext *s, char *buf)
#if CONFIG_HASH_MUXER || CONFIG_FRAMEHASH_MUXER
static const AVOption hash_options[] = {
{ "hash", "set hash to use", OFFSET(hash_name), AV_OPT_TYPE_STRING, {.str = "sha256"}, 0, 0, ENC },
- { "format_version", "file format version", OFFSET(format_version), AV_OPT_TYPE_INT, {.i64 = 1}, 1, 2, ENC },
+ { "format_version", "file format version", OFFSET(format_version), AV_OPT_TYPE_INT, {.i64 = 2}, 1, 2, ENC },
{ NULL },
};
#endif
@@ -66,7 +66,7 @@ static const AVOption hash_options[] = {
#if CONFIG_MD5_MUXER || CONFIG_FRAMEMD5_MUXER
static const AVOption md5_options[] = {
{ "hash", "set hash to use", OFFSET(hash_name), AV_OPT_TYPE_STRING, {.str = "md5"}, 0, 0, ENC },
- { "format_version", "file format version", OFFSET(format_version), AV_OPT_TYPE_INT, {.i64 = 1}, 1, 2, ENC },
+ { "format_version", "file format version", OFFSET(format_version), AV_OPT_TYPE_INT, {.i64 = 2}, 1, 2, ENC },
{ NULL },
};
#endif
@@ -180,9 +180,8 @@ static int framehash_write_header(struct AVFormatContext *s)
avio_printf(s->pb, "#format: frame checksums\n");
avio_printf(s->pb, "#version: %d\n", c->format_version);
avio_printf(s->pb, "#hash: %s\n", av_hash_get_name(c->hash));
- if (c->format_version > 1)
- framehash_print_extradata(s);
- ff_framehash_write_header(s, c->format_version);
+ framehash_print_extradata(s);
+ ff_framehash_write_header(s);
avio_printf(s->pb, "#stream#, dts, pts, duration, size, hash\n");
return 0;
}
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 8e0cb34..1719deb 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -401,7 +401,7 @@ int ff_add_param_change(AVPacket *pkt, int32_t channels,
* Set the timebase for each stream from the corresponding codec timebase and
* print it.
*/
-int ff_framehash_write_header(AVFormatContext *s, int version);
+int ff_framehash_write_header(AVFormatContext *s);
/**
* Read a transport packet from a media file.
diff --git a/libavformat/uncodedframecrcenc.c b/libavformat/uncodedframecrcenc.c
index 4269015..5e1a445 100644
--- a/libavformat/uncodedframecrcenc.c
+++ b/libavformat/uncodedframecrcenc.c
@@ -121,7 +121,7 @@ static void audio_frame_cksum(AVBPrint *bp, AVFrame *frame)
static int write_header(struct AVFormatContext *s)
{
- return ff_framehash_write_header(s, 2);
+ return ff_framehash_write_header(s);
}
static int write_frame(struct AVFormatContext *s, int stream_index,
diff --git a/tests/ref/fate/dca-xll_51_16_192_768_0 b/tests/ref/fate/dca-xll_51_16_192_768_0
index 0e22d5d..acbae84 100644
--- a/tests/ref/fate/dca-xll_51_16_192_768_0
+++ b/tests/ref/fate/dca-xll_51_16_192_768_0
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
diff --git a/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_2 b/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_2
index 0e22d5d..acbae84 100644
--- a/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_2
+++ b/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
diff --git a/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_6 b/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_6
index 0e22d5d..acbae84 100644
--- a/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_6
+++ b/tests/ref/fate/dca-xll_51_16_192_768_0-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
diff --git a/tests/ref/fate/dca-xll_51_16_192_768_1 b/tests/ref/fate/dca-xll_51_16_192_768_1
index 0e22d5d..acbae84 100644
--- a/tests/ref/fate/dca-xll_51_16_192_768_1
+++ b/tests/ref/fate/dca-xll_51_16_192_768_1
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
diff --git a/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_2 b/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_2
index d97ad2f..3486971 100644
--- a/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_2
+++ b/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 3
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 8192, 0829f71740aab1ab98b33eae21dee122
0, 2048, 2048, 2048, 8192, c8ca1cff44674809d464ec39cf1bd1e9
diff --git a/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_6 b/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_6
index 0e22d5d..acbae84 100644
--- a/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_6
+++ b/tests/ref/fate/dca-xll_51_16_192_768_1-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
diff --git a/tests/ref/fate/dca-xll_51_24_48_768 b/tests/ref/fate/dca-xll_51_24_48_768
index 47a62ec..8e7be8b 100644
--- a/tests/ref/fate/dca-xll_51_24_48_768
+++ b/tests/ref/fate/dca-xll_51_24_48_768
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dca-xll_51_24_48_768-dmix_2 b/tests/ref/fate/dca-xll_51_24_48_768-dmix_2
index 1a736cf..5f57619 100644
--- a/tests/ref/fate/dca-xll_51_24_48_768-dmix_2
+++ b/tests/ref/fate/dca-xll_51_24_48_768-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 3
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 3072, d2a70550489de356a2cd6bfc40711204
0, 512, 512, 512, 3072, d2a70550489de356a2cd6bfc40711204
diff --git a/tests/ref/fate/dca-xll_51_24_48_768-dmix_6 b/tests/ref/fate/dca-xll_51_24_48_768-dmix_6
index 47a62ec..8e7be8b 100644
--- a/tests/ref/fate/dca-xll_51_24_48_768-dmix_6
+++ b/tests/ref/fate/dca-xll_51_24_48_768-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dca-xll_51_24_48_none b/tests/ref/fate/dca-xll_51_24_48_none
index dffc587..a1994e7 100644
--- a/tests/ref/fate/dca-xll_51_24_48_none
+++ b/tests/ref/fate/dca-xll_51_24_48_none
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, 6707daa7724fdc552869e522a7936f26
diff --git a/tests/ref/fate/dca-xll_51_24_48_none-dmix_2 b/tests/ref/fate/dca-xll_51_24_48_none-dmix_2
index dffc587..a1994e7 100644
--- a/tests/ref/fate/dca-xll_51_24_48_none-dmix_2
+++ b/tests/ref/fate/dca-xll_51_24_48_none-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, 6707daa7724fdc552869e522a7936f26
diff --git a/tests/ref/fate/dca-xll_51_24_48_none-dmix_6 b/tests/ref/fate/dca-xll_51_24_48_none-dmix_6
index dffc587..a1994e7 100644
--- a/tests/ref/fate/dca-xll_51_24_48_none-dmix_6
+++ b/tests/ref/fate/dca-xll_51_24_48_none-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, 6707daa7724fdc552869e522a7936f26
diff --git a/tests/ref/fate/dca-xll_71_24_48_768_0 b/tests/ref/fate/dca-xll_71_24_48_768_0
index c122c6a..387b07e 100644
--- a/tests/ref/fate/dca-xll_71_24_48_768_0
+++ b/tests/ref/fate/dca-xll_71_24_48_768_0
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 63f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 12288, ca9f8c8eb1b9b311cb79999fa376c7f0
0, 512, 512, 512, 12288, 4072783b8efb99a9e5817067d68f61c6
diff --git a/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_2 b/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_2
index d653af8..e1169e1 100644
--- a/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_2
+++ b/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, a2b724b146069938f0e2cb82490dea54
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_6 b/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_6
index d653af8..e1169e1 100644
--- a/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_6
+++ b/tests/ref/fate/dca-xll_71_24_48_768_0-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, a2b724b146069938f0e2cb82490dea54
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dca-xll_71_24_48_768_1 b/tests/ref/fate/dca-xll_71_24_48_768_1
index c122c6a..387b07e 100644
--- a/tests/ref/fate/dca-xll_71_24_48_768_1
+++ b/tests/ref/fate/dca-xll_71_24_48_768_1
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 63f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 12288, ca9f8c8eb1b9b311cb79999fa376c7f0
0, 512, 512, 512, 12288, 4072783b8efb99a9e5817067d68f61c6
diff --git a/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_2 b/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_2
index 58c381c..44bc5a0 100644
--- a/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_2
+++ b/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 3
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 3072, d2a70550489de356a2cd6bfc40711204
0, 512, 512, 512, 3072, d2a70550489de356a2cd6bfc40711204
diff --git a/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_6 b/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_6
index d61048c..ef6a113 100644
--- a/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_6
+++ b/tests/ref/fate/dca-xll_71_24_48_768_1-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, a2b724b146069938f0e2cb82490dea54
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dca-xll_71_24_96_768 b/tests/ref/fate/dca-xll_71_24_96_768
index 72da526..a2a02e0 100644
--- a/tests/ref/fate/dca-xll_71_24_96_768
+++ b/tests/ref/fate/dca-xll_71_24_96_768
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 96000
+#channel_layout 0: 63f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 24576, 0b24a527d66f2b0cab97f37e4cd79987
0, 1024, 1024, 1024, 24576, 91ff0dac5df86e798bfef5e573536b08
diff --git a/tests/ref/fate/dca-xll_71_24_96_768-dmix_2 b/tests/ref/fate/dca-xll_71_24_96_768-dmix_2
index b24c717..9f2877d 100644
--- a/tests/ref/fate/dca-xll_71_24_96_768-dmix_2
+++ b/tests/ref/fate/dca-xll_71_24_96_768-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 96000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, 0a675f172b0e1a171c46dfaa4f1d0f00
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
diff --git a/tests/ref/fate/dca-xll_71_24_96_768-dmix_6 b/tests/ref/fate/dca-xll_71_24_96_768-dmix_6
index b24c717..9f2877d 100644
--- a/tests/ref/fate/dca-xll_71_24_96_768-dmix_6
+++ b/tests/ref/fate/dca-xll_71_24_96_768-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 96000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, 0a675f172b0e1a171c46dfaa4f1d0f00
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
diff --git a/tests/ref/fate/dca-xll_x96_51_24_96_1509 b/tests/ref/fate/dca-xll_x96_51_24_96_1509
index 150ab25..39a9e79 100644
--- a/tests/ref/fate/dca-xll_x96_51_24_96_1509
+++ b/tests/ref/fate/dca-xll_x96_51_24_96_1509
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 96000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
diff --git a/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_2 b/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_2
index 150ab25..39a9e79 100644
--- a/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_2
+++ b/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 96000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
diff --git a/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_6 b/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_6
index 150ab25..39a9e79 100644
--- a/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_6
+++ b/tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 96000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
diff --git a/tests/ref/fate/dca-xll_xch_61_24_48_768 b/tests/ref/fate/dca-xll_xch_61_24_48_768
index 211aee1..e3ac859 100644
--- a/tests/ref/fate/dca-xll_xch_61_24_48_768
+++ b/tests/ref/fate/dca-xll_xch_61_24_48_768
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 70f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 10752, c3c5b236c266a9090378def1ad497a21
0, 512, 512, 512, 10752, 36eb6749f8d9ce9f94860dcc447253ac
diff --git a/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_2 b/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_2
index 9309d8d..b53a528 100644
--- a/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_2
+++ b/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 652c4e61f9abe9fba9de792242e2d31d
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_6 b/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_6
index 9309d8d..b53a528 100644
--- a/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_6
+++ b/tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s24le
+#sample_rate 0: 48000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 652c4e61f9abe9fba9de792242e2d31d
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
diff --git a/tests/ref/fate/dcinema-encode b/tests/ref/fate/dcinema-encode
index 93ac172..27865d6 100644
--- a/tests/ref/fate/dcinema-encode
+++ b/tests/ref/fate/dcinema-encode
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/96000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 96000
+#channel_layout 0: 60f
#stream#, dts, pts, duration, size, hash
0, 0, 0, 341, 4092, 697cddfcd0e21f24782af0705b7048f3
0, 341, 341, 341, 4092, a057b18cd493923fed33c18578f61e0b
diff --git a/tests/ref/fate/g722-encode b/tests/ref/fate/g722-encode
index 3f6b3cf..ddf97c9 100644
--- a/tests/ref/fate/g722-encode
+++ b/tests/ref/fate/g722-encode
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/16000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 16000
+#channel_layout 0: 4
#stream#, dts, pts, duration, size, hash
0, 0, 0, 8192, 16384, 1dd9c285eb608038f3257d1a8e02eb75
0, 8192, 8192, 8192, 16384, f7459334cbe70c06bc0897edfe64e840
diff --git a/tests/ref/fate/g726-encode-2bit b/tests/ref/fate/g726-encode-2bit
index 2e61310..fdb42ff 100644
--- a/tests/ref/fate/g726-encode-2bit
+++ b/tests/ref/fate/g726-encode-2bit
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/8000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 8000
+#channel_layout 0: 4
#stream#, dts, pts, duration, size, hash
0, 0, 0, 16384, 32768, b28b116d2315323aeba6b66b58b7f4ed
0, 16384, 16384, 16384, 32768, e9cfbebe99490bd4987341ee748291c4
diff --git a/tests/ref/fate/g726-encode-3bit b/tests/ref/fate/g726-encode-3bit
index ce43d32..92ea73d 100644
--- a/tests/ref/fate/g726-encode-3bit
+++ b/tests/ref/fate/g726-encode-3bit
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/8000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 8000
+#channel_layout 0: 4
#stream#, dts, pts, duration, size, hash
0, 0, 0, 10920, 21840, 517dd6d1ce566b998251f0d215fa69c0
0, 10920, 10920, 10920, 21840, b0268e2bcc67acb524753790123c65fd
diff --git a/tests/ref/fate/g726-encode-4bit b/tests/ref/fate/g726-encode-4bit
index 1ccc180..ce7e1cb 100644
--- a/tests/ref/fate/g726-encode-4bit
+++ b/tests/ref/fate/g726-encode-4bit
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/8000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 8000
+#channel_layout 0: 4
#stream#, dts, pts, duration, size, hash
0, 0, 0, 8192, 16384, a0cf3a0953adce1a1032a4fd2da00a52
0, 8192, 8192, 8192, 16384, c750c1b76a203556dd60d73d261529e9
diff --git a/tests/ref/fate/g726-encode-5bit b/tests/ref/fate/g726-encode-5bit
index 219c73d..bd0946f 100644
--- a/tests/ref/fate/g726-encode-5bit
+++ b/tests/ref/fate/g726-encode-5bit
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/8000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 8000
+#channel_layout 0: 4
#stream#, dts, pts, duration, size, hash
0, 0, 0, 6552, 13104, 6fe3f75df1262c5f956887de9c32df40
0, 6552, 6552, 6552, 13104, f955518de6f61f94253280d11d64d68b
diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/h264-crop-to-container
index 4932bdd..855c93d 100644
--- a/tests/ref/fate/h264-crop-to-container
+++ b/tests/ref/fate/h264-crop-to-container
@@ -1,6 +1,10 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3110400, 43a312e1eebc7dca1bd23456302a44e3
diff --git a/tests/ref/fate/h264-extreme-plane-pred b/tests/ref/fate/h264-extreme-plane-pred
index 96c2bf4..2940ec0 100644
--- a/tests/ref/fate/h264-extreme-plane-pred
+++ b/tests/ref/fate/h264-extreme-plane-pred
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 1e857d2dfeea75297e090ffe9e37a249
0, 1, 1, 1, 152064, 29d8336b4e9b77298025074dbad641d1
diff --git a/tests/ref/fate/mpeg4-resolution-change-down-down b/tests/ref/fate/mpeg4-resolution-change-down-down
index 02fcda5..df53794 100644
--- a/tests/ref/fate/mpeg4-resolution-change-down-down
+++ b/tests/ref/fate/mpeg4-resolution-change-down-down
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 640x480
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 460800, d65fcc79c7eb9ebd9d88dca3ebb15bf4
0, 1, 1, 1, 460800, 6c86b8c7e8eae3d63b21342f233fb44e
diff --git a/tests/ref/fate/mpeg4-resolution-change-down-up b/tests/ref/fate/mpeg4-resolution-change-down-up
index 37e56d8..5236115 100644
--- a/tests/ref/fate/mpeg4-resolution-change-down-up
+++ b/tests/ref/fate/mpeg4-resolution-change-down-up
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 640x480
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 460800, d65fcc79c7eb9ebd9d88dca3ebb15bf4
0, 1, 1, 1, 460800, 6c86b8c7e8eae3d63b21342f233fb44e
diff --git a/tests/ref/fate/mpeg4-resolution-change-up-down b/tests/ref/fate/mpeg4-resolution-change-up-down
index 36110c3..0930cb7 100644
--- a/tests/ref/fate/mpeg4-resolution-change-up-down
+++ b/tests/ref/fate/mpeg4-resolution-change-up-down
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 400x300
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 180000, 9fc6302026cf2a2dd310646b83c5dfa1
0, 1, 1, 1, 180000, b1b2646c8df579ddf8676bc2488411a5
diff --git a/tests/ref/fate/mpeg4-resolution-change-up-up b/tests/ref/fate/mpeg4-resolution-change-up-up
index 8d1bbcd..ba812b6 100644
--- a/tests/ref/fate/mpeg4-resolution-change-up-up
+++ b/tests/ref/fate/mpeg4-resolution-change-up-up
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 7f952fd8bd40c32197afc21e2fa66404
0, 1, 1, 1, 152064, 5b2cc25b04d9a9d33bcf5fe480505d68
diff --git a/tests/ref/fate/utvideoenc_rgb_left b/tests/ref/fate/utvideoenc_rgb_left
index f6adabe..a1d2000 100644
--- a/tests/ref/fate/utvideoenc_rgb_left
+++ b/tests/ref/fate/utvideoenc_rgb_left
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, c9a1741fb293b9ad21876492b5425a3b
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 182328, cd084b244939d7e0008d8e5ab3429dc1
0, 1, 1, 1, 182336, c9c40672750f372134185901147fb776
diff --git a/tests/ref/fate/utvideoenc_rgb_median b/tests/ref/fate/utvideoenc_rgb_median
index 3d4c22b..b1558d7 100644
--- a/tests/ref/fate/utvideoenc_rgb_median
+++ b/tests/ref/fate/utvideoenc_rgb_median
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, c9a1741fb293b9ad21876492b5425a3b
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 182160, abcf4f477f74b696faca2fcff1f62aa9
0, 1, 1, 1, 182104, 7cbcf339fa40c24522067295b39d637f
diff --git a/tests/ref/fate/utvideoenc_rgb_none b/tests/ref/fate/utvideoenc_rgb_none
index 839766b..403c807 100644
--- a/tests/ref/fate/utvideoenc_rgb_none
+++ b/tests/ref/fate/utvideoenc_rgb_none
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, c9a1741fb293b9ad21876492b5425a3b
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 301024, 44de62472f485410819707c44b53f276
0, 1, 1, 1, 301036, ff3c28c23b15834a84c57b304610924f
diff --git a/tests/ref/fate/utvideoenc_rgba_left b/tests/ref/fate/utvideoenc_rgba_left
index 83e3cb4..eb3305d 100644
--- a/tests/ref/fate/utvideoenc_rgba_left
+++ b/tests/ref/fate/utvideoenc_rgba_left
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 9881f4423f0a3b5da25a0574d3451eef
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 195260, a8fdb226460f210542e7aca6c12b0874
0, 1, 1, 1, 195268, 45f098764ccba85dc641b7e401461c0a
diff --git a/tests/ref/fate/utvideoenc_rgba_median b/tests/ref/fate/utvideoenc_rgba_median
index 1588b6d..0cdab8d 100644
--- a/tests/ref/fate/utvideoenc_rgba_median
+++ b/tests/ref/fate/utvideoenc_rgba_median
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 9881f4423f0a3b5da25a0574d3451eef
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 195092, d32d5a3dc88b9aef0826b565ee5dfbc6
0, 1, 1, 1, 195036, ea13e3522d1f3aeddd47117c91eccc55
diff --git a/tests/ref/fate/utvideoenc_rgba_none b/tests/ref/fate/utvideoenc_rgba_none
index b8e0b41..65f0728 100644
--- a/tests/ref/fate/utvideoenc_rgba_none
+++ b/tests/ref/fate/utvideoenc_rgba_none
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 9881f4423f0a3b5da25a0574d3451eef
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 301284, 55e84c6e1f41e48f47dcefb63e3c1efd
0, 1, 1, 1, 301296, 12dab23dfd2c2d5b48bed2292b876688
diff --git a/tests/ref/fate/utvideoenc_yuv420_left b/tests/ref/fate/utvideoenc_yuv420_left
index ae79eff..5a5f0ed 100644
--- a/tests/ref/fate/utvideoenc_yuv420_left
+++ b/tests/ref/fate/utvideoenc_yuv420_left
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 32fe9f95e57b78773a0fe54c47055a60
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59796, dedd9623ead257b98e079c6d0479e5a9
0, 1, 1, 1, 60012, 73ae403590ffc5962ff86b8dcb44ca50
diff --git a/tests/ref/fate/utvideoenc_yuv420_median b/tests/ref/fate/utvideoenc_yuv420_median
index 21e15b5..c236c4c 100644
--- a/tests/ref/fate/utvideoenc_yuv420_median
+++ b/tests/ref/fate/utvideoenc_yuv420_median
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 32fe9f95e57b78773a0fe54c47055a60
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 62876, 5e2a5276e10b86511fb8101733bc4795
0, 1, 1, 1, 62832, fb1e0a7b2bdbcbada9892e3db7be7821
diff --git a/tests/ref/fate/utvideoenc_yuv420_none b/tests/ref/fate/utvideoenc_yuv420_none
index 7f9b58d..f1606b3 100644
--- a/tests/ref/fate/utvideoenc_yuv420_none
+++ b/tests/ref/fate/utvideoenc_yuv420_none
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 32fe9f95e57b78773a0fe54c47055a60
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 144508, 808a5bf7f8647095ed629c18bcd78c8e
0, 1, 1, 1, 144496, 88d91b5aebecb8e3553dc5d25c11f663
diff --git a/tests/ref/fate/utvideoenc_yuv422_left b/tests/ref/fate/utvideoenc_yuv422_left
index 9da47a4..3581974 100644
--- a/tests/ref/fate/utvideoenc_yuv422_left
+++ b/tests/ref/fate/utvideoenc_yuv422_left
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 7d613a4daaadf19228d42c98deb26024
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 91788, 2b29ead6a04f08e49c25cd89fe0c0e46
0, 1, 1, 1, 92140, 011a3c92a1a6659b26db7de3c74cda41
diff --git a/tests/ref/fate/utvideoenc_yuv422_median b/tests/ref/fate/utvideoenc_yuv422_median
index 8241aae..b3f4296 100644
--- a/tests/ref/fate/utvideoenc_yuv422_median
+++ b/tests/ref/fate/utvideoenc_yuv422_median
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 7d613a4daaadf19228d42c98deb26024
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 89732, c8dbbbed6c59cff00c7cead39cadd7d4
0, 1, 1, 1, 89652, f1c995c2bcb13f9de97fd8c5da2637a1
diff --git a/tests/ref/fate/utvideoenc_yuv422_none b/tests/ref/fate/utvideoenc_yuv422_none
index bb97e21..5e785b7 100644
--- a/tests/ref/fate/utvideoenc_yuv422_none
+++ b/tests/ref/fate/utvideoenc_yuv422_none
@@ -1,7 +1,12 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
+#extradata 0, 16, 7d613a4daaadf19228d42c98deb26024
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: utvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 191800, 4a5653458a4206bcbc584d5e6beb61f2
0, 1, 1, 1, 191820, 2f77ced17c186b507864ea482016c913
diff --git a/tests/ref/fate/vp8-sign-bias b/tests/ref/fate/vp8-sign-bias
index b503de8..36ffc02 100644
--- a/tests/ref/fate/vp8-sign-bias
+++ b/tests/ref/fate/vp8-sign-bias
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 854x480
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 614880, 12ce23b288485be3ddbc1db28c21517f
0, 2, 2, 1, 614880, ce352e1079535ea058c0e9ad50f7cdb8
diff --git a/tests/ref/fate/vp8-size-change b/tests/ref/fate/vp8-size-change
index f581c99..741b6d6 100644
--- a/tests/ref/fate/vp8-size-change
+++ b/tests/ref/fate/vp8-size-change
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3110400, 7dde8cd136ab4b04a95d9856b941697e
0, 1, 1, 1, 3110400, aa885f78cb6374b5bfcc66a4fc57026f
diff --git a/tests/ref/fate/vp8-test-vector-001 b/tests/ref/fate/vp8-test-vector-001
index ef38aa8..4abaf68 100644
--- a/tests/ref/fate/vp8-test-vector-001
+++ b/tests/ref/fate/vp8-test-vector-001
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 83c78b5db579710f61f9354d5c51e8c8
0, 1, 1, 1, 38016, 8d089d226f52d6cdaffdb3fcc080b75b
diff --git a/tests/ref/fate/vp8-test-vector-002 b/tests/ref/fate/vp8-test-vector-002
index 55149b0..3154a1a 100644
--- a/tests/ref/fate/vp8-test-vector-002
+++ b/tests/ref/fate/vp8-test-vector-002
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 872e9922f37f0e92c767d33e0a15b8e0
0, 1, 1, 1, 38016, ea5ad6c6ee4355018fc0ba83b5172836
diff --git a/tests/ref/fate/vp8-test-vector-003 b/tests/ref/fate/vp8-test-vector-003
index ffe3896..1e03bad 100644
--- a/tests/ref/fate/vp8-test-vector-003
+++ b/tests/ref/fate/vp8-test-vector-003
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 96e6ce168b5ef377053e86ab5484e7f9
0, 1, 1, 1, 38016, 10fd750292d8522ab7ee577043604789
diff --git a/tests/ref/fate/vp8-test-vector-004 b/tests/ref/fate/vp8-test-vector-004
index f7f5313..6de548f 100644
--- a/tests/ref/fate/vp8-test-vector-004
+++ b/tests/ref/fate/vp8-test-vector-004
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 83c78b5db579710f61f9354d5c51e8c8
0, 1, 1, 1, 38016, d173eb8a8211a05672b43206609c9034
diff --git a/tests/ref/fate/vp8-test-vector-005 b/tests/ref/fate/vp8-test-vector-005
index 3368c70..e1963a0 100644
--- a/tests/ref/fate/vp8-test-vector-005
+++ b/tests/ref/fate/vp8-test-vector-005
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, e7a4be434df4bb524ba56a03cba901f4
0, 1, 1, 1, 38016, d903ade6d49e51485627c044fbb2190c
diff --git a/tests/ref/fate/vp8-test-vector-006 b/tests/ref/fate/vp8-test-vector-006
index 28c249c..4913043 100644
--- a/tests/ref/fate/vp8-test-vector-006
+++ b/tests/ref/fate/vp8-test-vector-006
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 175x143
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 37697, 9ca5df27b0158aca2a38dff946f58c41
0, 1, 1, 1, 37697, 627129a99538ec1ac51be910ca92ebc4
diff --git a/tests/ref/fate/vp8-test-vector-007 b/tests/ref/fate/vp8-test-vector-007
index a0cb441..851ce7b 100644
--- a/tests/ref/fate/vp8-test-vector-007
+++ b/tests/ref/fate/vp8-test-vector-007
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 98bd0af6928c144888a9c320270e9f0e
0, 1, 1, 1, 38016, 9ff7cff703d58481acd233451388377c
diff --git a/tests/ref/fate/vp8-test-vector-008 b/tests/ref/fate/vp8-test-vector-008
index 0503c4e..00066a6 100644
--- a/tests/ref/fate/vp8-test-vector-008
+++ b/tests/ref/fate/vp8-test-vector-008
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/23
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1432x888
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1907424, 7146d3a72b6cb8e43ee5280ef8d661fe
0, 1, 1, 1, 1907424, 5a537e9710158efb5ad2683a1d3b4c72
diff --git a/tests/ref/fate/vp8-test-vector-009 b/tests/ref/fate/vp8-test-vector-009
index f41f014..02a1aa7 100644
--- a/tests/ref/fate/vp8-test-vector-009
+++ b/tests/ref/fate/vp8-test-vector-009
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, b3a3121c796a60c88988fef5240a07fe
0, 1, 1, 1, 38016, f25147764829cf837e00b8fd6383e2c4
diff --git a/tests/ref/fate/vp8-test-vector-010 b/tests/ref/fate/vp8-test-vector-010
index 2feeb63..74a7163 100644
--- a/tests/ref/fate/vp8-test-vector-010
+++ b/tests/ref/fate/vp8-test-vector-010
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 115200, 3441ec1a9b9d325c9aeda44e3b68377d
0, 1, 1, 1, 115200, bff86a84fd673394f45c09d19a1ee0ac
diff --git a/tests/ref/fate/vp8-test-vector-011 b/tests/ref/fate/vp8-test-vector-011
index adf7235..14b2773 100644
--- a/tests/ref/fate/vp8-test-vector-011
+++ b/tests/ref/fate/vp8-test-vector-011
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 83c78b5db579710f61f9354d5c51e8c8
0, 1, 1, 1, 38016, 9b755a63c7c5352660a265f6e24991e1
diff --git a/tests/ref/fate/vp8-test-vector-012 b/tests/ref/fate/vp8-test-vector-012
index 3de64b6..27f728d 100644
--- a/tests/ref/fate/vp8-test-vector-012
+++ b/tests/ref/fate/vp8-test-vector-012
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, cc3069a59b6f4319761af2b39923a6e5
0, 1, 1, 1, 38016, c0bc935941d994c6af6a864f02a90a62
diff --git a/tests/ref/fate/vp8-test-vector-013 b/tests/ref/fate/vp8-test-vector-013
index e31e6e6..05b0f21 100644
--- a/tests/ref/fate/vp8-test-vector-013
+++ b/tests/ref/fate/vp8-test-vector-013
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, ad137b9eae93daed28fe31fd5165b4d0
0, 1, 1, 1, 38016, 7cd527f647680c0eb305050d27fb8092
diff --git a/tests/ref/fate/vp8-test-vector-014 b/tests/ref/fate/vp8-test-vector-014
index 689e24b..72b16a0 100644
--- a/tests/ref/fate/vp8-test-vector-014
+++ b/tests/ref/fate/vp8-test-vector-014
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 175x143
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 37697, 7a0356dc950e79744d79c98e391ebee9
0, 1, 1, 1, 37697, 96e221e75c290dd847b8e55865073366
diff --git a/tests/ref/fate/vp8-test-vector-015 b/tests/ref/fate/vp8-test-vector-015
index 766c931..5024bd6 100644
--- a/tests/ref/fate/vp8-test-vector-015
+++ b/tests/ref/fate/vp8-test-vector-015
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 115200, 6b4c7cc0c6a7218362e43cffef6618c9
0, 1, 1, 1, 115200, e132a7b1bb4fb15b1019092aedc0e599
diff --git a/tests/ref/fate/vp8-test-vector-016 b/tests/ref/fate/vp8-test-vector-016
index 4da7ff3..4c35a35 100644
--- a/tests/ref/fate/vp8-test-vector-016
+++ b/tests/ref/fate/vp8-test-vector-016
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 905a823da31f71f9c25ebb8dfc9ddd3c
0, 1, 1, 1, 38016, 9a1b97859b2f774954dbf96f45a22a0a
diff --git a/tests/ref/fate/vp8-test-vector-017 b/tests/ref/fate/vp8-test-vector-017
index 0d3fbea..db0527e 100644
--- a/tests/ref/fate/vp8-test-vector-017
+++ b/tests/ref/fate/vp8-test-vector-017
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 38016, 905a823da31f71f9c25ebb8dfc9ddd3c
0, 1, 1, 1, 38016, f0f411dd067bff05d5d9c64e3f52a4b1
diff --git a/tests/ref/fate/vp9-00-quantizer-00 b/tests/ref/fate/vp9-00-quantizer-00
index e2afb9c..de1f54a 100644
--- a/tests/ref/fate/vp9-00-quantizer-00
+++ b/tests/ref/fate/vp9-00-quantizer-00
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, c3fbb7abbdb5bd4ed4a7e34768c17df1
0, 1, 1, 1, 152064, 08203c2595bdb2d58ead6f921345d699
diff --git a/tests/ref/fate/vp9-00-quantizer-01 b/tests/ref/fate/vp9-00-quantizer-01
index 4d9b081..59c4974 100644
--- a/tests/ref/fate/vp9-00-quantizer-01
+++ b/tests/ref/fate/vp9-00-quantizer-01
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, f041b870cf9236d5f22e2b08a77d5958
0, 1, 1, 1, 152064, cbdb7526986ae15592891488c9afc84c
diff --git a/tests/ref/fate/vp9-00-quantizer-02 b/tests/ref/fate/vp9-00-quantizer-02
index 09e6299..6cc92f4 100644
--- a/tests/ref/fate/vp9-00-quantizer-02
+++ b/tests/ref/fate/vp9-00-quantizer-02
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 98048cfdb4af5059f4085c5acc94ef8f
0, 1, 1, 1, 152064, 8160183e1eed1d0af4427be216b8b9f7
diff --git a/tests/ref/fate/vp9-00-quantizer-03 b/tests/ref/fate/vp9-00-quantizer-03
index 0c22157..a7e3043 100644
--- a/tests/ref/fate/vp9-00-quantizer-03
+++ b/tests/ref/fate/vp9-00-quantizer-03
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 15c548208f5eda243a151a42f4d64855
0, 1, 1, 1, 152064, e96d463dc8e9b27b1c2ec40f77eee6ef
diff --git a/tests/ref/fate/vp9-00-quantizer-04 b/tests/ref/fate/vp9-00-quantizer-04
index 730a012..df742fd 100644
--- a/tests/ref/fate/vp9-00-quantizer-04
+++ b/tests/ref/fate/vp9-00-quantizer-04
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 928c64a0747ac57ab50c1520d694fea7
0, 1, 1, 1, 152064, a6f6daa293231e95ef30ed168f582c84
diff --git a/tests/ref/fate/vp9-00-quantizer-05 b/tests/ref/fate/vp9-00-quantizer-05
index 0f2dd7a..ca544a9 100644
--- a/tests/ref/fate/vp9-00-quantizer-05
+++ b/tests/ref/fate/vp9-00-quantizer-05
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 082460718b7d7046c8fb23184b7f71ca
0, 1, 1, 1, 152064, 4a41aad51c40a92df72333e13f47d3fe
diff --git a/tests/ref/fate/vp9-00-quantizer-06 b/tests/ref/fate/vp9-00-quantizer-06
index c6c1282..d5de188 100644
--- a/tests/ref/fate/vp9-00-quantizer-06
+++ b/tests/ref/fate/vp9-00-quantizer-06
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, cfca1bed96ff62a69b2d841fda01c6b9
0, 1, 1, 1, 152064, 9b4d61f1b998745c108f8eb67925e03d
diff --git a/tests/ref/fate/vp9-00-quantizer-07 b/tests/ref/fate/vp9-00-quantizer-07
index cdc6ec5..619ce46 100644
--- a/tests/ref/fate/vp9-00-quantizer-07
+++ b/tests/ref/fate/vp9-00-quantizer-07
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 6f5122064bead9d9882bec2698a6ed9c
0, 1, 1, 1, 152064, 50dae67d2f57a76eece210dee8b6df9e
diff --git a/tests/ref/fate/vp9-00-quantizer-08 b/tests/ref/fate/vp9-00-quantizer-08
index f405cef..3bccbea 100644
--- a/tests/ref/fate/vp9-00-quantizer-08
+++ b/tests/ref/fate/vp9-00-quantizer-08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, eb3d6985fcda5d93dd62d53354e8a093
0, 1, 1, 1, 152064, 5b1f5b7780b4cafe1f75e56a0b526643
diff --git a/tests/ref/fate/vp9-00-quantizer-09 b/tests/ref/fate/vp9-00-quantizer-09
index bc5e86a..42ae12b 100644
--- a/tests/ref/fate/vp9-00-quantizer-09
+++ b/tests/ref/fate/vp9-00-quantizer-09
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, d7ccaf28c59875fe91983def5490d2b1
0, 1, 1, 1, 152064, bd98fe9492054826748de840b4495309
diff --git a/tests/ref/fate/vp9-00-quantizer-10 b/tests/ref/fate/vp9-00-quantizer-10
index 93e46a9..c3a7d7a 100644
--- a/tests/ref/fate/vp9-00-quantizer-10
+++ b/tests/ref/fate/vp9-00-quantizer-10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 20dda6231f9801c9c237c6d09d9939b6
0, 1, 1, 1, 152064, 23c91e93807fb9a4ed5bd5bdd449d99f
diff --git a/tests/ref/fate/vp9-00-quantizer-11 b/tests/ref/fate/vp9-00-quantizer-11
index 0924f54..262978b 100644
--- a/tests/ref/fate/vp9-00-quantizer-11
+++ b/tests/ref/fate/vp9-00-quantizer-11
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 960833315ebcdee97f46c4d98d0f3fef
0, 1, 1, 1, 152064, eec40507d17b64b7895a61cb87b2096a
diff --git a/tests/ref/fate/vp9-00-quantizer-12 b/tests/ref/fate/vp9-00-quantizer-12
index 9213e9d..c3dfd3d 100644
--- a/tests/ref/fate/vp9-00-quantizer-12
+++ b/tests/ref/fate/vp9-00-quantizer-12
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 6533224d3b6ba1ec0dd973bbe56c6349
0, 1, 1, 1, 152064, 12ceadc6d28327a24a75f8c40b6084d1
diff --git a/tests/ref/fate/vp9-00-quantizer-13 b/tests/ref/fate/vp9-00-quantizer-13
index 80d1a6c..e3a70fc 100644
--- a/tests/ref/fate/vp9-00-quantizer-13
+++ b/tests/ref/fate/vp9-00-quantizer-13
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 7268de6756014f79a56dcf010c52a97f
0, 1, 1, 1, 152064, 9e39e9b0e2295b8460dfa05f44762771
diff --git a/tests/ref/fate/vp9-00-quantizer-14 b/tests/ref/fate/vp9-00-quantizer-14
index e7ab21d..0cb48f3 100644
--- a/tests/ref/fate/vp9-00-quantizer-14
+++ b/tests/ref/fate/vp9-00-quantizer-14
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 57e9e333c641fa952f7485b788df225a
0, 1, 1, 1, 152064, 551f0cea83dcdf4540c3983736757874
diff --git a/tests/ref/fate/vp9-00-quantizer-15 b/tests/ref/fate/vp9-00-quantizer-15
index 842ab6e..fdab517 100644
--- a/tests/ref/fate/vp9-00-quantizer-15
+++ b/tests/ref/fate/vp9-00-quantizer-15
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 17a0a2842856b9e89aede237648d5dda
0, 1, 1, 1, 152064, c9fcade888a38621bebe3d4b41664245
diff --git a/tests/ref/fate/vp9-00-quantizer-16 b/tests/ref/fate/vp9-00-quantizer-16
index 7478558..ef45c9c 100644
--- a/tests/ref/fate/vp9-00-quantizer-16
+++ b/tests/ref/fate/vp9-00-quantizer-16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 6cc2089e9a3d352fe10b59ccd935c677
0, 1, 1, 1, 152064, d165bf7b9cb901e121a65038758d8613
diff --git a/tests/ref/fate/vp9-00-quantizer-17 b/tests/ref/fate/vp9-00-quantizer-17
index 3a5b1c1..f66de6c 100644
--- a/tests/ref/fate/vp9-00-quantizer-17
+++ b/tests/ref/fate/vp9-00-quantizer-17
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, bc80511c83162c09661f155cd29f6dd8
0, 1, 1, 1, 152064, a62f1cbdb3f86d2fb4c880cfd917def5
diff --git a/tests/ref/fate/vp9-00-quantizer-18 b/tests/ref/fate/vp9-00-quantizer-18
index baf3bc3..60f7bc9 100644
--- a/tests/ref/fate/vp9-00-quantizer-18
+++ b/tests/ref/fate/vp9-00-quantizer-18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, b2d350f6faa41cb50c2e8a9907d0f4a5
0, 1, 1, 1, 152064, 39b4380d16bc8e093dd4dba475175fb3
diff --git a/tests/ref/fate/vp9-00-quantizer-19 b/tests/ref/fate/vp9-00-quantizer-19
index 2ba95e1..3c25ede 100644
--- a/tests/ref/fate/vp9-00-quantizer-19
+++ b/tests/ref/fate/vp9-00-quantizer-19
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 441e09be3c15fcb240afd74bb7a10a72
0, 1, 1, 1, 152064, 32ae5dac876ca5d5ae6ab7c74f4dc25d
diff --git a/tests/ref/fate/vp9-00-quantizer-20 b/tests/ref/fate/vp9-00-quantizer-20
index 8119688..06a973f 100644
--- a/tests/ref/fate/vp9-00-quantizer-20
+++ b/tests/ref/fate/vp9-00-quantizer-20
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 7786eb9944dba0553e129133523a98c1
0, 1, 1, 1, 152064, 206d888f8453427f10a40aa8bf5f6df0
diff --git a/tests/ref/fate/vp9-00-quantizer-21 b/tests/ref/fate/vp9-00-quantizer-21
index 0e94992..0fc00d1 100644
--- a/tests/ref/fate/vp9-00-quantizer-21
+++ b/tests/ref/fate/vp9-00-quantizer-21
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, aab95e195be71feca050a839d7b3154d
0, 1, 1, 1, 152064, 02a05d699bbbdc477e34bb0dad9f0391
diff --git a/tests/ref/fate/vp9-00-quantizer-22 b/tests/ref/fate/vp9-00-quantizer-22
index 90533aa..3e6305e 100644
--- a/tests/ref/fate/vp9-00-quantizer-22
+++ b/tests/ref/fate/vp9-00-quantizer-22
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 41f853c3ee2d4611b645cc643d82e287
0, 1, 1, 1, 152064, 1c240c653110ff8609ca0f0287a6496d
diff --git a/tests/ref/fate/vp9-00-quantizer-23 b/tests/ref/fate/vp9-00-quantizer-23
index d16d198..9ce2966 100644
--- a/tests/ref/fate/vp9-00-quantizer-23
+++ b/tests/ref/fate/vp9-00-quantizer-23
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, bc5b07369df50c8f97ce1a377fe513cf
0, 1, 1, 1, 152064, ce62ddb4f3e305d0f8587ae8bb44cc79
diff --git a/tests/ref/fate/vp9-00-quantizer-24 b/tests/ref/fate/vp9-00-quantizer-24
index eccdfd6..8e37217 100644
--- a/tests/ref/fate/vp9-00-quantizer-24
+++ b/tests/ref/fate/vp9-00-quantizer-24
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 982d54041221c977b6f0e37a9236cc76
0, 1, 1, 1, 152064, 57631e7f13f645c834e2944ebfd6d40e
diff --git a/tests/ref/fate/vp9-00-quantizer-25 b/tests/ref/fate/vp9-00-quantizer-25
index 70a76b3..00592e8 100644
--- a/tests/ref/fate/vp9-00-quantizer-25
+++ b/tests/ref/fate/vp9-00-quantizer-25
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, b0fb55f3f2f56b3d27038e83c10123ce
0, 1, 1, 1, 152064, 9fcac3becdcc2d30d778a55eca4c2018
diff --git a/tests/ref/fate/vp9-00-quantizer-26 b/tests/ref/fate/vp9-00-quantizer-26
index d9308dc..6b6ddc9 100644
--- a/tests/ref/fate/vp9-00-quantizer-26
+++ b/tests/ref/fate/vp9-00-quantizer-26
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 4f645e0f354da77b9e2f2a6753c361da
0, 1, 1, 1, 152064, b7542998ec298273ca662bc9b658d10e
diff --git a/tests/ref/fate/vp9-00-quantizer-27 b/tests/ref/fate/vp9-00-quantizer-27
index d2efd69..93234ba 100644
--- a/tests/ref/fate/vp9-00-quantizer-27
+++ b/tests/ref/fate/vp9-00-quantizer-27
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 6edc96a3747cad43828397045764206e
0, 1, 1, 1, 152064, 5fbc65d20fdca1abd69079851ce676d3
diff --git a/tests/ref/fate/vp9-00-quantizer-28 b/tests/ref/fate/vp9-00-quantizer-28
index 85919fc..a17355e 100644
--- a/tests/ref/fate/vp9-00-quantizer-28
+++ b/tests/ref/fate/vp9-00-quantizer-28
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 5db3e910e70da38bb91d01d73acc33dd
0, 1, 1, 1, 152064, b920ee7f7e61b7fdf9f44b1f738d0292
diff --git a/tests/ref/fate/vp9-00-quantizer-29 b/tests/ref/fate/vp9-00-quantizer-29
index cc6eae7..b0f56ef 100644
--- a/tests/ref/fate/vp9-00-quantizer-29
+++ b/tests/ref/fate/vp9-00-quantizer-29
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 3cb3e310be5305077efa6216f6f10654
0, 1, 1, 1, 152064, 692d3e098af5978fe1a898ebc1a66a7a
diff --git a/tests/ref/fate/vp9-00-quantizer-30 b/tests/ref/fate/vp9-00-quantizer-30
index 4f26b58..8491c2f 100644
--- a/tests/ref/fate/vp9-00-quantizer-30
+++ b/tests/ref/fate/vp9-00-quantizer-30
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, e3b3cea66ea38c5dfba1aa73bb4c611d
0, 1, 1, 1, 152064, 42bb3e54b19c3f4c4f7ee3a6ba012e19
diff --git a/tests/ref/fate/vp9-00-quantizer-31 b/tests/ref/fate/vp9-00-quantizer-31
index 4c9bf96..f9b8505 100644
--- a/tests/ref/fate/vp9-00-quantizer-31
+++ b/tests/ref/fate/vp9-00-quantizer-31
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 2523e9ecfd3781eafcd7da192dc105e9
0, 1, 1, 1, 152064, 6d5feea012b9a1f51fc643633e728764
diff --git a/tests/ref/fate/vp9-00-quantizer-32 b/tests/ref/fate/vp9-00-quantizer-32
index ef49c4e..f93286c 100644
--- a/tests/ref/fate/vp9-00-quantizer-32
+++ b/tests/ref/fate/vp9-00-quantizer-32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 0a0305eba36500ebf6cc6cc0f01f5a3b
0, 1, 1, 1, 152064, 2c76bcd6763467f9057a726fbcf50ab1
diff --git a/tests/ref/fate/vp9-00-quantizer-33 b/tests/ref/fate/vp9-00-quantizer-33
index 374c44e..cbbc463 100644
--- a/tests/ref/fate/vp9-00-quantizer-33
+++ b/tests/ref/fate/vp9-00-quantizer-33
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, c68433e0e94047c220be9b629334f744
0, 1, 1, 1, 152064, fcfa4dff7a39bc9c5e315849ecbb46ea
diff --git a/tests/ref/fate/vp9-00-quantizer-34 b/tests/ref/fate/vp9-00-quantizer-34
index aa9c833..dc9bc30 100644
--- a/tests/ref/fate/vp9-00-quantizer-34
+++ b/tests/ref/fate/vp9-00-quantizer-34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, ad9dc2f912c137b014a33e2792c88a25
0, 1, 1, 1, 152064, 11221ee4ea5c776f43af68756682cd5a
diff --git a/tests/ref/fate/vp9-00-quantizer-35 b/tests/ref/fate/vp9-00-quantizer-35
index 820725b..23effea 100644
--- a/tests/ref/fate/vp9-00-quantizer-35
+++ b/tests/ref/fate/vp9-00-quantizer-35
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 75031f898cccf303a64ab46b1f815389
0, 1, 1, 1, 152064, a4fc864e7fbc470dfcab6207e0eea152
diff --git a/tests/ref/fate/vp9-00-quantizer-36 b/tests/ref/fate/vp9-00-quantizer-36
index 4a39a13..f43915d 100644
--- a/tests/ref/fate/vp9-00-quantizer-36
+++ b/tests/ref/fate/vp9-00-quantizer-36
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, c7824af009fde6cafdd8d39fae6bb6cf
0, 1, 1, 1, 152064, 516a82d5fc4dfa3daf713ed2ec36041b
diff --git a/tests/ref/fate/vp9-00-quantizer-37 b/tests/ref/fate/vp9-00-quantizer-37
index 96e526f..1e4fd74 100644
--- a/tests/ref/fate/vp9-00-quantizer-37
+++ b/tests/ref/fate/vp9-00-quantizer-37
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, fb23e0bc64728a492a33d985032f21b8
diff --git a/tests/ref/fate/vp9-00-quantizer-38 b/tests/ref/fate/vp9-00-quantizer-38
index 9f61d33..7ae5444 100644
--- a/tests/ref/fate/vp9-00-quantizer-38
+++ b/tests/ref/fate/vp9-00-quantizer-38
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 8347bfb891317e89ef66781d6c28e24f
0, 1, 1, 1, 152064, a5722f824d32deac042513a1a7dcdcd0
diff --git a/tests/ref/fate/vp9-00-quantizer-39 b/tests/ref/fate/vp9-00-quantizer-39
index 396a1a3..0241494 100644
--- a/tests/ref/fate/vp9-00-quantizer-39
+++ b/tests/ref/fate/vp9-00-quantizer-39
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 018968f97fac3bdff146cf22c1da5ef0
0, 1, 1, 1, 152064, ca8b09b01e5132183395e238f1c7901e
diff --git a/tests/ref/fate/vp9-00-quantizer-40 b/tests/ref/fate/vp9-00-quantizer-40
index dc77394..2da4ea1 100644
--- a/tests/ref/fate/vp9-00-quantizer-40
+++ b/tests/ref/fate/vp9-00-quantizer-40
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 792660f6589ad5340be4bd0554435866
0, 1, 1, 1, 152064, 68c84c8a15d679e0a73678b93215c62c
diff --git a/tests/ref/fate/vp9-00-quantizer-41 b/tests/ref/fate/vp9-00-quantizer-41
index 667549c..bb7623e 100644
--- a/tests/ref/fate/vp9-00-quantizer-41
+++ b/tests/ref/fate/vp9-00-quantizer-41
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a456bdfc6c1c07b4cb3a3848843743b9
0, 1, 1, 1, 152064, fe41a12b8cb6bc5667ba2179e076f3b0
diff --git a/tests/ref/fate/vp9-00-quantizer-42 b/tests/ref/fate/vp9-00-quantizer-42
index c7fbfbc..b1f5293 100644
--- a/tests/ref/fate/vp9-00-quantizer-42
+++ b/tests/ref/fate/vp9-00-quantizer-42
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, f016dd8431694d989700fb1ba71a5b2d
0, 1, 1, 1, 152064, e89c3c5b935157b40f2fb0ab92415828
diff --git a/tests/ref/fate/vp9-00-quantizer-43 b/tests/ref/fate/vp9-00-quantizer-43
index 090ce6f..b25e1c0 100644
--- a/tests/ref/fate/vp9-00-quantizer-43
+++ b/tests/ref/fate/vp9-00-quantizer-43
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 7b8ab82625f3006bac89d4fb5197e71c
0, 1, 1, 1, 152064, 18bd3716045563dfba2c72b640b3274b
diff --git a/tests/ref/fate/vp9-00-quantizer-44 b/tests/ref/fate/vp9-00-quantizer-44
index 130b5fa..1d378f6 100644
--- a/tests/ref/fate/vp9-00-quantizer-44
+++ b/tests/ref/fate/vp9-00-quantizer-44
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 66fde04d8320c750e56406feefd29979
0, 1, 1, 1, 152064, f9d01d8fc1722ec345e624e14b404215
diff --git a/tests/ref/fate/vp9-00-quantizer-45 b/tests/ref/fate/vp9-00-quantizer-45
index 5cb7105..8155faa 100644
--- a/tests/ref/fate/vp9-00-quantizer-45
+++ b/tests/ref/fate/vp9-00-quantizer-45
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, cc97597b015896d73f3e60e7ae44c4da
0, 1, 1, 1, 152064, fea98bc508f92135641ab99762444b14
diff --git a/tests/ref/fate/vp9-00-quantizer-46 b/tests/ref/fate/vp9-00-quantizer-46
index cb51f72..166423b 100644
--- a/tests/ref/fate/vp9-00-quantizer-46
+++ b/tests/ref/fate/vp9-00-quantizer-46
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 79ed95c741178bb3c0954f1f6f8e21a3
0, 1, 1, 1, 152064, f02a06a5e2b5b7619c9a52c5bea0564d
diff --git a/tests/ref/fate/vp9-00-quantizer-47 b/tests/ref/fate/vp9-00-quantizer-47
index 0bf90b4..5e04899 100644
--- a/tests/ref/fate/vp9-00-quantizer-47
+++ b/tests/ref/fate/vp9-00-quantizer-47
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 9b98e948b8c2a822f21bd8419e6f4410
0, 1, 1, 1, 152064, 491382d68c16c2a3c6f1746598bc4a97
diff --git a/tests/ref/fate/vp9-00-quantizer-48 b/tests/ref/fate/vp9-00-quantizer-48
index 2604a53..444278b 100644
--- a/tests/ref/fate/vp9-00-quantizer-48
+++ b/tests/ref/fate/vp9-00-quantizer-48
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, f0f095b0edae7262f44d7ed7ef84ded4
0, 1, 1, 1, 152064, 0e833889ccac81d60251007d1baf6500
diff --git a/tests/ref/fate/vp9-00-quantizer-49 b/tests/ref/fate/vp9-00-quantizer-49
index 3403d1d..31e59fd 100644
--- a/tests/ref/fate/vp9-00-quantizer-49
+++ b/tests/ref/fate/vp9-00-quantizer-49
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 6c1b7b7827617fb9b8417aca2cfdbcaa
0, 1, 1, 1, 152064, 4c1fc8a89297fdcf79f0faabd42b8684
diff --git a/tests/ref/fate/vp9-00-quantizer-50 b/tests/ref/fate/vp9-00-quantizer-50
index f2cdc8e..ca40c62 100644
--- a/tests/ref/fate/vp9-00-quantizer-50
+++ b/tests/ref/fate/vp9-00-quantizer-50
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, ca6142db68463487bc28c888ab38476c
0, 1, 1, 1, 152064, 02a71153ec70f569524c3d814cb62f86
diff --git a/tests/ref/fate/vp9-00-quantizer-51 b/tests/ref/fate/vp9-00-quantizer-51
index 87ab57e..8b65d84 100644
--- a/tests/ref/fate/vp9-00-quantizer-51
+++ b/tests/ref/fate/vp9-00-quantizer-51
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, eece2627df1ddf0872256eb92352e179
0, 1, 1, 1, 152064, 0ee9f221246ad747250e4b5e8ba586e2
diff --git a/tests/ref/fate/vp9-00-quantizer-52 b/tests/ref/fate/vp9-00-quantizer-52
index f3a14d1..e5bea451 100644
--- a/tests/ref/fate/vp9-00-quantizer-52
+++ b/tests/ref/fate/vp9-00-quantizer-52
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 7290039d974c4e50db9d69f9864bcdbe
0, 1, 1, 1, 152064, 264765de9d02503038a4da54133b9f85
diff --git a/tests/ref/fate/vp9-00-quantizer-53 b/tests/ref/fate/vp9-00-quantizer-53
index 784925d..663bc5c 100644
--- a/tests/ref/fate/vp9-00-quantizer-53
+++ b/tests/ref/fate/vp9-00-quantizer-53
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 917af24da66f143a56a01eb2c2254285
0, 1, 1, 1, 152064, 45a05d3bc644420519619e4115662a70
diff --git a/tests/ref/fate/vp9-00-quantizer-54 b/tests/ref/fate/vp9-00-quantizer-54
index daa6f5d..8d41782 100644
--- a/tests/ref/fate/vp9-00-quantizer-54
+++ b/tests/ref/fate/vp9-00-quantizer-54
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 6fea2820bb10a9dec9add4d2452b01f5
0, 1, 1, 1, 152064, 74675169a4bfc2ff5463c4db5d85a79f
diff --git a/tests/ref/fate/vp9-00-quantizer-55 b/tests/ref/fate/vp9-00-quantizer-55
index 0a48cf9..676491a 100644
--- a/tests/ref/fate/vp9-00-quantizer-55
+++ b/tests/ref/fate/vp9-00-quantizer-55
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 11e5d196f6537fb7d85988d90195e556
0, 1, 1, 1, 152064, 8536106795f7c93c5a43a11493527469
diff --git a/tests/ref/fate/vp9-00-quantizer-56 b/tests/ref/fate/vp9-00-quantizer-56
index f1f6069..44debaa 100644
--- a/tests/ref/fate/vp9-00-quantizer-56
+++ b/tests/ref/fate/vp9-00-quantizer-56
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 40839b7a3a40ec10f96b8a75224f646d
0, 1, 1, 1, 152064, 11408dd73e8c45ddaab99f5c9650102b
diff --git a/tests/ref/fate/vp9-00-quantizer-57 b/tests/ref/fate/vp9-00-quantizer-57
index 499b57e..d506a0e 100644
--- a/tests/ref/fate/vp9-00-quantizer-57
+++ b/tests/ref/fate/vp9-00-quantizer-57
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, d0e9fa03dd48da4592ebaadb4e3794e0
0, 1, 1, 1, 152064, 5172e29b1e04cd543833d6a68aab297c
diff --git a/tests/ref/fate/vp9-00-quantizer-58 b/tests/ref/fate/vp9-00-quantizer-58
index 2a10350..2c339e0 100644
--- a/tests/ref/fate/vp9-00-quantizer-58
+++ b/tests/ref/fate/vp9-00-quantizer-58
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, bef4a27d460e7697e038fe6f1c8bd597
0, 1, 1, 1, 152064, 124674686cafc5f2ff5bc7ea412b8f3b
diff --git a/tests/ref/fate/vp9-00-quantizer-59 b/tests/ref/fate/vp9-00-quantizer-59
index 8ae9bd3..de3df90 100644
--- a/tests/ref/fate/vp9-00-quantizer-59
+++ b/tests/ref/fate/vp9-00-quantizer-59
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, ae9d99e9d16ef20073300559566844ae
0, 1, 1, 1, 152064, da9405e5a6bfe4ed18d927ba2004008e
diff --git a/tests/ref/fate/vp9-00-quantizer-60 b/tests/ref/fate/vp9-00-quantizer-60
index a409462..5fee13a 100644
--- a/tests/ref/fate/vp9-00-quantizer-60
+++ b/tests/ref/fate/vp9-00-quantizer-60
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 9e66bb8e1b5e206ea4afe4bf2d335ac5
0, 1, 1, 1, 152064, 092b74c905c12c1e87e90f5a79857736
diff --git a/tests/ref/fate/vp9-00-quantizer-61 b/tests/ref/fate/vp9-00-quantizer-61
index 92aa67f..877a5b1 100644
--- a/tests/ref/fate/vp9-00-quantizer-61
+++ b/tests/ref/fate/vp9-00-quantizer-61
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, d062dc6be246c8042744018765ef50a8
0, 1, 1, 1, 152064, 45fd9cbacb6a91060a7e49a58a85869d
diff --git a/tests/ref/fate/vp9-00-quantizer-62 b/tests/ref/fate/vp9-00-quantizer-62
index d17d3d6..8ed9f1d 100644
--- a/tests/ref/fate/vp9-00-quantizer-62
+++ b/tests/ref/fate/vp9-00-quantizer-62
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 62f7e42fe653e81c5a65a25389e045b5
0, 1, 1, 1, 152064, cb0cdd0b25689e0a43328550011d960d
diff --git a/tests/ref/fate/vp9-00-quantizer-63 b/tests/ref/fate/vp9-00-quantizer-63
index d7765be..bebe716 100644
--- a/tests/ref/fate/vp9-00-quantizer-63
+++ b/tests/ref/fate/vp9-00-quantizer-63
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 8467643dceff827e04acd82eeff1d1b0
0, 1, 1, 1, 152064, c786f49d66f4dfd685dea9605821a19f
diff --git a/tests/ref/fate/vp9-01-sharpness-1 b/tests/ref/fate/vp9-01-sharpness-1
index 02e6e16..9017ca8 100644
--- a/tests/ref/fate/vp9-01-sharpness-1
+++ b/tests/ref/fate/vp9-01-sharpness-1
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, aa20a75be3a316193496706c9f760d08
diff --git a/tests/ref/fate/vp9-01-sharpness-2 b/tests/ref/fate/vp9-01-sharpness-2
index 51238c1..ea2464a 100644
--- a/tests/ref/fate/vp9-01-sharpness-2
+++ b/tests/ref/fate/vp9-01-sharpness-2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, cd94572239817ae7c9b07de739c3272b
diff --git a/tests/ref/fate/vp9-01-sharpness-3 b/tests/ref/fate/vp9-01-sharpness-3
index e1af6f6..79bff6a 100644
--- a/tests/ref/fate/vp9-01-sharpness-3
+++ b/tests/ref/fate/vp9-01-sharpness-3
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, 0d487a146393a0b8b84b4be1b371b507
diff --git a/tests/ref/fate/vp9-01-sharpness-4 b/tests/ref/fate/vp9-01-sharpness-4
index 977095f..d5393c3 100644
--- a/tests/ref/fate/vp9-01-sharpness-4
+++ b/tests/ref/fate/vp9-01-sharpness-4
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, 8bad76c55b5149169d64ce6512521de6
diff --git a/tests/ref/fate/vp9-01-sharpness-5 b/tests/ref/fate/vp9-01-sharpness-5
index c0cf715..93dfb0e 100644
--- a/tests/ref/fate/vp9-01-sharpness-5
+++ b/tests/ref/fate/vp9-01-sharpness-5
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, f1ce0a5d57a46c9ff1331804b7b03fdb
diff --git a/tests/ref/fate/vp9-01-sharpness-6 b/tests/ref/fate/vp9-01-sharpness-6
index 2e52d32..80c120c 100644
--- a/tests/ref/fate/vp9-01-sharpness-6
+++ b/tests/ref/fate/vp9-01-sharpness-6
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, 45d9ca07ed04210b1ebc743169bc8ec4
diff --git a/tests/ref/fate/vp9-01-sharpness-7 b/tests/ref/fate/vp9-01-sharpness-7
index b2b5fda..dc1ab3f 100644
--- a/tests/ref/fate/vp9-01-sharpness-7
+++ b/tests/ref/fate/vp9-01-sharpness-7
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, a2e5c820fd9733e18f9349fb658ca281
0, 1, 1, 1, 152064, f719d0be18d16a448b4e7da3e2d9bf28
diff --git a/tests/ref/fate/vp9-02-size-08x08 b/tests/ref/fate/vp9-02-size-08x08
index 403a131..99cf18a 100644
--- a/tests/ref/fate/vp9-02-size-08x08
+++ b/tests/ref/fate/vp9-02-size-08x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 96, 52def242c36123e5a8f5f53d6a971399
0, 1, 1, 1, 96, 79c93360fbd47179400414bbfee0901c
diff --git a/tests/ref/fate/vp9-02-size-08x10 b/tests/ref/fate/vp9-02-size-08x10
index 01d8818..a4001de 100644
--- a/tests/ref/fate/vp9-02-size-08x10
+++ b/tests/ref/fate/vp9-02-size-08x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 120, ea3e0f807304b0eb2d3e329b0124f75c
0, 1, 1, 1, 120, 8d13cf682d63e7eb13094f55d67fc458
diff --git a/tests/ref/fate/vp9-02-size-08x16 b/tests/ref/fate/vp9-02-size-08x16
index d72aafc..f143cd8 100644
--- a/tests/ref/fate/vp9-02-size-08x16
+++ b/tests/ref/fate/vp9-02-size-08x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 192, 0553e56a9d89aea496421885aab491f5
0, 1, 1, 1, 192, b2a14cf676f7ebf3c50450050f76ad16
diff --git a/tests/ref/fate/vp9-02-size-08x18 b/tests/ref/fate/vp9-02-size-08x18
index 8615d7b..308d229 100644
--- a/tests/ref/fate/vp9-02-size-08x18
+++ b/tests/ref/fate/vp9-02-size-08x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 216, 4c41f93b1b280b37bc77d7047435eaa4
0, 1, 1, 1, 216, c9c80fdba2ebc2b8c3490ae35e34f84f
diff --git a/tests/ref/fate/vp9-02-size-08x32 b/tests/ref/fate/vp9-02-size-08x32
index 55ab620..9ec35a4 100644
--- a/tests/ref/fate/vp9-02-size-08x32
+++ b/tests/ref/fate/vp9-02-size-08x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 384, f92a7777fd69aa2f2914d9a41c4828ba
0, 1, 1, 1, 384, 62e1cc73487d2249a88a60e35a22d9c7
diff --git a/tests/ref/fate/vp9-02-size-08x34 b/tests/ref/fate/vp9-02-size-08x34
index bdcedbf..7e4bc5b 100644
--- a/tests/ref/fate/vp9-02-size-08x34
+++ b/tests/ref/fate/vp9-02-size-08x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 408, f3f2cd8f157466ff23dace85d77367ce
0, 1, 1, 1, 408, 639d9b70a14062e95559c12d2b597f91
diff --git a/tests/ref/fate/vp9-02-size-08x64 b/tests/ref/fate/vp9-02-size-08x64
index 3226dfa..24dafb8 100644
--- a/tests/ref/fate/vp9-02-size-08x64
+++ b/tests/ref/fate/vp9-02-size-08x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 768, 764bd02b781a38c621a109c12f3d9393
0, 1, 1, 1, 768, 79496bd2b9212026af816b3b7a0587d5
diff --git a/tests/ref/fate/vp9-02-size-08x66 b/tests/ref/fate/vp9-02-size-08x66
index 7aaa369..f52eb69 100644
--- a/tests/ref/fate/vp9-02-size-08x66
+++ b/tests/ref/fate/vp9-02-size-08x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 8x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 792, df20e8df89449fe50bb610e95a449a95
0, 1, 1, 1, 792, 18f1a66d463274d1b0489f3a50e86857
diff --git a/tests/ref/fate/vp9-02-size-10x08 b/tests/ref/fate/vp9-02-size-10x08
index 5708cd3..b23509a 100644
--- a/tests/ref/fate/vp9-02-size-10x08
+++ b/tests/ref/fate/vp9-02-size-10x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 120, e1e66a88615da98523ef887f1463fc42
0, 1, 1, 1, 120, 549842fa98c8faf572882d38b0aae390
diff --git a/tests/ref/fate/vp9-02-size-10x10 b/tests/ref/fate/vp9-02-size-10x10
index a60e36b..7a4831e 100644
--- a/tests/ref/fate/vp9-02-size-10x10
+++ b/tests/ref/fate/vp9-02-size-10x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 150, 083d638f2e147295d817bb14fff5e4f4
0, 1, 1, 1, 150, 6dbdc445b6fd6bb99f2025cc2a40977e
diff --git a/tests/ref/fate/vp9-02-size-10x16 b/tests/ref/fate/vp9-02-size-10x16
index 659d491..ca0bcf2 100644
--- a/tests/ref/fate/vp9-02-size-10x16
+++ b/tests/ref/fate/vp9-02-size-10x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 240, fab07d6209d2413e0a434e1aaaa12154
0, 1, 1, 1, 240, f9ffffdb96f98527ba2e553d1265edbb
diff --git a/tests/ref/fate/vp9-02-size-10x18 b/tests/ref/fate/vp9-02-size-10x18
index d4069c9..7f92d28 100644
--- a/tests/ref/fate/vp9-02-size-10x18
+++ b/tests/ref/fate/vp9-02-size-10x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 270, 0e9182e214aae732d94d007e5fe44888
0, 1, 1, 1, 270, 2630e2674b5611d68218fddac08815e2
diff --git a/tests/ref/fate/vp9-02-size-10x32 b/tests/ref/fate/vp9-02-size-10x32
index f5ec31c..c84d822 100644
--- a/tests/ref/fate/vp9-02-size-10x32
+++ b/tests/ref/fate/vp9-02-size-10x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 480, 622e6407a051ea08706394d03330ffbf
0, 1, 1, 1, 480, 1841a0daf7c3ef7be94e01fdb1d3968a
diff --git a/tests/ref/fate/vp9-02-size-10x34 b/tests/ref/fate/vp9-02-size-10x34
index 950b04e..a38aa2a 100644
--- a/tests/ref/fate/vp9-02-size-10x34
+++ b/tests/ref/fate/vp9-02-size-10x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 510, bfeeaf51f972fd0dfe9ee757083cbb54
0, 1, 1, 1, 510, 10cd4ed6d762004846412d9cd0caa407
diff --git a/tests/ref/fate/vp9-02-size-10x64 b/tests/ref/fate/vp9-02-size-10x64
index 04a5e7e..77a05d5 100644
--- a/tests/ref/fate/vp9-02-size-10x64
+++ b/tests/ref/fate/vp9-02-size-10x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 960, 835254d0eecb17bed1f2b0f3a1638165
0, 1, 1, 1, 960, c0c95ce9890eab339a0e0f8b26cb095c
diff --git a/tests/ref/fate/vp9-02-size-10x66 b/tests/ref/fate/vp9-02-size-10x66
index f26965a..72b25d8 100644
--- a/tests/ref/fate/vp9-02-size-10x66
+++ b/tests/ref/fate/vp9-02-size-10x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 10x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 990, 1bd8b2d3bf679c4b925780bf82e12fae
0, 1, 1, 1, 990, a0254b4cd4928fe1080cd6f8828288a9
diff --git a/tests/ref/fate/vp9-02-size-16x08 b/tests/ref/fate/vp9-02-size-16x08
index 84e9b17..bdf3207 100644
--- a/tests/ref/fate/vp9-02-size-16x08
+++ b/tests/ref/fate/vp9-02-size-16x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 192, 68dccd167f9aa18df0840ebb8715eb68
0, 1, 1, 1, 192, 65c90bb99fdbee7abf21031d34cb18dc
diff --git a/tests/ref/fate/vp9-02-size-16x10 b/tests/ref/fate/vp9-02-size-16x10
index 8490e4e..f1424a7 100644
--- a/tests/ref/fate/vp9-02-size-16x10
+++ b/tests/ref/fate/vp9-02-size-16x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 240, fb3cad61d7d9eb511758dbf87dd8abe1
0, 1, 1, 1, 240, 4fbc1aa5559c8db2930803893bd6ba75
diff --git a/tests/ref/fate/vp9-02-size-16x16 b/tests/ref/fate/vp9-02-size-16x16
index fb6f0c8..f81f513 100644
--- a/tests/ref/fate/vp9-02-size-16x16
+++ b/tests/ref/fate/vp9-02-size-16x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 384, b5c9daafa548e54a8e33e9881fda33f4
0, 1, 1, 1, 384, 1193acd7ea4b7aac968e35ef83c64378
diff --git a/tests/ref/fate/vp9-02-size-16x18 b/tests/ref/fate/vp9-02-size-16x18
index fadce55..018afe2 100644
--- a/tests/ref/fate/vp9-02-size-16x18
+++ b/tests/ref/fate/vp9-02-size-16x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 432, 5156b11cd9995d0c1638c9b0d2b0786c
0, 1, 1, 1, 432, ef78557f93fb3ea770c7d49ab60edf21
diff --git a/tests/ref/fate/vp9-02-size-16x32 b/tests/ref/fate/vp9-02-size-16x32
index 02a2676..98e5f6a 100644
--- a/tests/ref/fate/vp9-02-size-16x32
+++ b/tests/ref/fate/vp9-02-size-16x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 768, c73d611490a5ddec6c690589deaf5e86
0, 1, 1, 1, 768, 5d8eaeb222aa64abda59ce7b09b2f6d9
diff --git a/tests/ref/fate/vp9-02-size-16x34 b/tests/ref/fate/vp9-02-size-16x34
index 97e527f..4fb287f 100644
--- a/tests/ref/fate/vp9-02-size-16x34
+++ b/tests/ref/fate/vp9-02-size-16x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 816, b8bf711d9a1ce49180ed56407c8a4b0a
0, 1, 1, 1, 816, 0457929b06ce46aec63d66bd38586e3f
diff --git a/tests/ref/fate/vp9-02-size-16x64 b/tests/ref/fate/vp9-02-size-16x64
index 63dbf24..c5b9f45 100644
--- a/tests/ref/fate/vp9-02-size-16x64
+++ b/tests/ref/fate/vp9-02-size-16x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1536, 925fdc485f3baa1ed145ae391519d7fd
0, 1, 1, 1, 1536, d37af656da2d7a727c8451773495d5ed
diff --git a/tests/ref/fate/vp9-02-size-16x66 b/tests/ref/fate/vp9-02-size-16x66
index f7d0102..b3dadde 100644
--- a/tests/ref/fate/vp9-02-size-16x66
+++ b/tests/ref/fate/vp9-02-size-16x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 16x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1584, c7b0d91f362dff0a581434af6e902d43
0, 1, 1, 1, 1584, d8b016ef59c6bc193b29d1c714f342c1
diff --git a/tests/ref/fate/vp9-02-size-18x08 b/tests/ref/fate/vp9-02-size-18x08
index 08aabcc..18edef9 100644
--- a/tests/ref/fate/vp9-02-size-18x08
+++ b/tests/ref/fate/vp9-02-size-18x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 216, 3219af4ef540636b0f67a989e9966059
0, 1, 1, 1, 216, 1a3655c2cfd2ee332bc89da5b3faf778
diff --git a/tests/ref/fate/vp9-02-size-18x10 b/tests/ref/fate/vp9-02-size-18x10
index 9323a14..5949110 100644
--- a/tests/ref/fate/vp9-02-size-18x10
+++ b/tests/ref/fate/vp9-02-size-18x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 270, bf574489e9360b6475aa012c747e7924
0, 1, 1, 1, 270, 851100301c2937312a6fd32f5aab5a09
diff --git a/tests/ref/fate/vp9-02-size-18x16 b/tests/ref/fate/vp9-02-size-18x16
index a3a91b9..bcd2857 100644
--- a/tests/ref/fate/vp9-02-size-18x16
+++ b/tests/ref/fate/vp9-02-size-18x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 432, 9535aaa2ea26fbdc16e7fe9cba3fc9b4
0, 1, 1, 1, 432, 7f6e7ca33c0b27ff052dc2ab6721e37d
diff --git a/tests/ref/fate/vp9-02-size-18x18 b/tests/ref/fate/vp9-02-size-18x18
index b90faf3..58e690e 100644
--- a/tests/ref/fate/vp9-02-size-18x18
+++ b/tests/ref/fate/vp9-02-size-18x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 486, 83790b0e7004d8d89b7134ee1a88d885
0, 1, 1, 1, 486, 0baf0bf556ae56d2f4b04567e6ac7ed9
diff --git a/tests/ref/fate/vp9-02-size-18x32 b/tests/ref/fate/vp9-02-size-18x32
index b7bd74b..37cabeb 100644
--- a/tests/ref/fate/vp9-02-size-18x32
+++ b/tests/ref/fate/vp9-02-size-18x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 864, 62eabc8819ded6ddba2c3a5029497cf0
0, 1, 1, 1, 864, b760182fddf8bc05f149e80bbcb2c281
diff --git a/tests/ref/fate/vp9-02-size-18x34 b/tests/ref/fate/vp9-02-size-18x34
index 0f46da7..60889d4 100644
--- a/tests/ref/fate/vp9-02-size-18x34
+++ b/tests/ref/fate/vp9-02-size-18x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 918, 612cc424eaae924cb25c7732c422f752
0, 1, 1, 1, 918, 010e8c2a814862529fcf8d7771ba2d7f
diff --git a/tests/ref/fate/vp9-02-size-18x64 b/tests/ref/fate/vp9-02-size-18x64
index 172422c..1ec161f 100644
--- a/tests/ref/fate/vp9-02-size-18x64
+++ b/tests/ref/fate/vp9-02-size-18x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1728, 72c74de547d9ed1b17bc962dbd5e0bb1
0, 1, 1, 1, 1728, 462849f9e2204738e9f08b40e682a6ae
diff --git a/tests/ref/fate/vp9-02-size-18x66 b/tests/ref/fate/vp9-02-size-18x66
index c400956..f06a4d2 100644
--- a/tests/ref/fate/vp9-02-size-18x66
+++ b/tests/ref/fate/vp9-02-size-18x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 18x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1782, c3fc4a1593b9cc2f3752106af8539386
0, 1, 1, 1, 1782, 7f2ffe6bc1750f6749bb5ad12cbaf34b
diff --git a/tests/ref/fate/vp9-02-size-32x08 b/tests/ref/fate/vp9-02-size-32x08
index 2df5adc..9a5783f 100644
--- a/tests/ref/fate/vp9-02-size-32x08
+++ b/tests/ref/fate/vp9-02-size-32x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 384, c7b30cde5664387b0f7a80d9b01e4fe2
0, 1, 1, 1, 384, 2228a2a4e54ab5145525e5803c314dcd
diff --git a/tests/ref/fate/vp9-02-size-32x10 b/tests/ref/fate/vp9-02-size-32x10
index f5f45fb..f5f0d1e 100644
--- a/tests/ref/fate/vp9-02-size-32x10
+++ b/tests/ref/fate/vp9-02-size-32x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 480, 7c5b5df373ebfd31d210ff910e02213b
0, 1, 1, 1, 480, c5b0a5e3eceb792b15818324a43aa2a8
diff --git a/tests/ref/fate/vp9-02-size-32x16 b/tests/ref/fate/vp9-02-size-32x16
index 4aac211..400d9f3 100644
--- a/tests/ref/fate/vp9-02-size-32x16
+++ b/tests/ref/fate/vp9-02-size-32x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 768, 7c2818db2632e5c5beee17e7105d9209
0, 1, 1, 1, 768, cead72bd22995e98b54a91c7b4a20975
diff --git a/tests/ref/fate/vp9-02-size-32x18 b/tests/ref/fate/vp9-02-size-32x18
index 2b30219..7d58c32 100644
--- a/tests/ref/fate/vp9-02-size-32x18
+++ b/tests/ref/fate/vp9-02-size-32x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 864, 9da5409d344e7b8380688569e54803a5
0, 1, 1, 1, 864, 9b51e14e2e624ee2b430e9eaf1a48798
diff --git a/tests/ref/fate/vp9-02-size-32x32 b/tests/ref/fate/vp9-02-size-32x32
index e9de2ed..8493c91 100644
--- a/tests/ref/fate/vp9-02-size-32x32
+++ b/tests/ref/fate/vp9-02-size-32x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1536, 117915db1856cee26f05a609c8c8de2e
0, 1, 1, 1, 1536, 943771a98b26b174e88ed1f4e872e504
diff --git a/tests/ref/fate/vp9-02-size-32x34 b/tests/ref/fate/vp9-02-size-32x34
index e1e00fd..fa33b07 100644
--- a/tests/ref/fate/vp9-02-size-32x34
+++ b/tests/ref/fate/vp9-02-size-32x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1632, 770582911fd0095ebbeae384e87665ac
0, 1, 1, 1, 1632, f99d7e3131f04413cba2f9de6818976d
diff --git a/tests/ref/fate/vp9-02-size-32x64 b/tests/ref/fate/vp9-02-size-32x64
index c39c88d..f70c27a 100644
--- a/tests/ref/fate/vp9-02-size-32x64
+++ b/tests/ref/fate/vp9-02-size-32x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3072, caa8471a8b381d53c3e8fc627946a871
0, 1, 1, 1, 3072, 2cba86ea14c0f28e242625b08f5e9b88
diff --git a/tests/ref/fate/vp9-02-size-32x66 b/tests/ref/fate/vp9-02-size-32x66
index d036df1..f7c0615 100644
--- a/tests/ref/fate/vp9-02-size-32x66
+++ b/tests/ref/fate/vp9-02-size-32x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3168, 920ea4b8a00d41489d122d641d6e4fe5
0, 1, 1, 1, 3168, 8bfc8d452a79f2978b8e973b77cbf8a8
diff --git a/tests/ref/fate/vp9-02-size-34x08 b/tests/ref/fate/vp9-02-size-34x08
index 5869186..0c35493 100644
--- a/tests/ref/fate/vp9-02-size-34x08
+++ b/tests/ref/fate/vp9-02-size-34x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 408, c14f2ba5b4582c9d3a488976814691b3
0, 1, 1, 1, 408, 4387a4dce19007b7efb810b5a4069749
diff --git a/tests/ref/fate/vp9-02-size-34x10 b/tests/ref/fate/vp9-02-size-34x10
index a2ce10e..edcfdf9 100644
--- a/tests/ref/fate/vp9-02-size-34x10
+++ b/tests/ref/fate/vp9-02-size-34x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 510, fd7212b519783cf4831ce4bff91f2312
0, 1, 1, 1, 510, 9768722ee939d80a6716865fdebca33d
diff --git a/tests/ref/fate/vp9-02-size-34x16 b/tests/ref/fate/vp9-02-size-34x16
index 0c8dc67..5628876 100644
--- a/tests/ref/fate/vp9-02-size-34x16
+++ b/tests/ref/fate/vp9-02-size-34x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 816, e443c43101be00470c6a61c1a2995b5a
0, 1, 1, 1, 816, 1e79b1b46ec704d360b5fb725913b0f1
diff --git a/tests/ref/fate/vp9-02-size-34x18 b/tests/ref/fate/vp9-02-size-34x18
index 8c92b2d..5a7f3c8 100644
--- a/tests/ref/fate/vp9-02-size-34x18
+++ b/tests/ref/fate/vp9-02-size-34x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 918, ab7eabb355e5163e7451945018fadebd
0, 1, 1, 1, 918, b9a77cc0c769535808996a6de7b374ff
diff --git a/tests/ref/fate/vp9-02-size-34x32 b/tests/ref/fate/vp9-02-size-34x32
index a9f804e..956d2e3 100644
--- a/tests/ref/fate/vp9-02-size-34x32
+++ b/tests/ref/fate/vp9-02-size-34x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1632, 7e334867e27046fabf0f39365311c38c
0, 1, 1, 1, 1632, d2a49216ecedea62f546e54c1552f163
diff --git a/tests/ref/fate/vp9-02-size-34x34 b/tests/ref/fate/vp9-02-size-34x34
index 4bed149..931d422 100644
--- a/tests/ref/fate/vp9-02-size-34x34
+++ b/tests/ref/fate/vp9-02-size-34x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1734, 1bb98ba89abf6b86f47a851f8126e1ff
0, 1, 1, 1, 1734, b960cc795c179afe7eec360c57fddd7f
diff --git a/tests/ref/fate/vp9-02-size-34x64 b/tests/ref/fate/vp9-02-size-34x64
index ac61f27..98c88ce 100644
--- a/tests/ref/fate/vp9-02-size-34x64
+++ b/tests/ref/fate/vp9-02-size-34x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3264, 3856635223f578e1e7f7e7250a53cb8d
0, 1, 1, 1, 3264, ee8d7c3a0ea165420d7e733b9e59219a
diff --git a/tests/ref/fate/vp9-02-size-34x66 b/tests/ref/fate/vp9-02-size-34x66
index 2bc9eb6..af0a212 100644
--- a/tests/ref/fate/vp9-02-size-34x66
+++ b/tests/ref/fate/vp9-02-size-34x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 34x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3366, bf4e568217906ee4b58dc4707bee8ef6
0, 1, 1, 1, 3366, f823f8c7b6e47ba43215f3becd35208e
diff --git a/tests/ref/fate/vp9-02-size-64x08 b/tests/ref/fate/vp9-02-size-64x08
index e1e01ee..5e7046a 100644
--- a/tests/ref/fate/vp9-02-size-64x08
+++ b/tests/ref/fate/vp9-02-size-64x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 768, d801797c94039b0a166d46e151ec912c
0, 1, 1, 1, 768, 161ec22caa3689b214d9ab993424584b
diff --git a/tests/ref/fate/vp9-02-size-64x10 b/tests/ref/fate/vp9-02-size-64x10
index 046e7ee..143ba2a 100644
--- a/tests/ref/fate/vp9-02-size-64x10
+++ b/tests/ref/fate/vp9-02-size-64x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 960, 97eb5fd0599d482662eb0a1def5c5ef2
0, 1, 1, 1, 960, dfdc1b61b478dcca8d411021486aa2ec
diff --git a/tests/ref/fate/vp9-02-size-64x16 b/tests/ref/fate/vp9-02-size-64x16
index 16cb5dd..67479f3 100644
--- a/tests/ref/fate/vp9-02-size-64x16
+++ b/tests/ref/fate/vp9-02-size-64x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1536, a43068a364cc42619e62406dcf17ddfc
0, 1, 1, 1, 1536, 94691f93299bbf5b6ba3022b02b3e069
diff --git a/tests/ref/fate/vp9-02-size-64x18 b/tests/ref/fate/vp9-02-size-64x18
index 427acca..c7acad7 100644
--- a/tests/ref/fate/vp9-02-size-64x18
+++ b/tests/ref/fate/vp9-02-size-64x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1728, adf7e84a351847683f6a8dd177019e29
0, 1, 1, 1, 1728, 8227cf283a27277fbab3d7826e340337
diff --git a/tests/ref/fate/vp9-02-size-64x32 b/tests/ref/fate/vp9-02-size-64x32
index a0f033e..88e29e0 100644
--- a/tests/ref/fate/vp9-02-size-64x32
+++ b/tests/ref/fate/vp9-02-size-64x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3072, 931ab6a2482c3e84bc7ef8dfbc251307
0, 1, 1, 1, 3072, 3552a9d8470a64ed627a6dbb799b7811
diff --git a/tests/ref/fate/vp9-02-size-64x34 b/tests/ref/fate/vp9-02-size-64x34
index a852272..ea41f01 100644
--- a/tests/ref/fate/vp9-02-size-64x34
+++ b/tests/ref/fate/vp9-02-size-64x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3264, 68d00958a78e6252dd75d632806e2022
0, 1, 1, 1, 3264, f7b6266e74200a669eecd241db787ee2
diff --git a/tests/ref/fate/vp9-02-size-64x64 b/tests/ref/fate/vp9-02-size-64x64
index 418febe..c9d0c21 100644
--- a/tests/ref/fate/vp9-02-size-64x64
+++ b/tests/ref/fate/vp9-02-size-64x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 6144, 35f17db9076fa20368fddfa01543c746
0, 1, 1, 1, 6144, 61cd775dfc177262da9a91d3912e6718
diff --git a/tests/ref/fate/vp9-02-size-64x66 b/tests/ref/fate/vp9-02-size-64x66
index d358bd6..4bcd572 100644
--- a/tests/ref/fate/vp9-02-size-64x66
+++ b/tests/ref/fate/vp9-02-size-64x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 6336, 88587de65acfc85ff56daac8ef5d12e6
0, 1, 1, 1, 6336, be41f6c788b929b5b6b27c5674f40abd
diff --git a/tests/ref/fate/vp9-02-size-66x08 b/tests/ref/fate/vp9-02-size-66x08
index 426f91b..0b26c5a 100644
--- a/tests/ref/fate/vp9-02-size-66x08
+++ b/tests/ref/fate/vp9-02-size-66x08
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x8
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 792, 3b16847e60786706fc339abc452746ff
0, 1, 1, 1, 792, 365a5951cb127d6df183fe5d5000f493
diff --git a/tests/ref/fate/vp9-02-size-66x10 b/tests/ref/fate/vp9-02-size-66x10
index 8e0133a..0213fce 100644
--- a/tests/ref/fate/vp9-02-size-66x10
+++ b/tests/ref/fate/vp9-02-size-66x10
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x10
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 990, 7cbd8c6b2fb35c0c3063cb7a379944c9
0, 1, 1, 1, 990, 14062e74b98bed1ca982f408bc14326c
diff --git a/tests/ref/fate/vp9-02-size-66x16 b/tests/ref/fate/vp9-02-size-66x16
index 4bdc1ba..f9ee10e 100644
--- a/tests/ref/fate/vp9-02-size-66x16
+++ b/tests/ref/fate/vp9-02-size-66x16
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x16
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1584, fa2f292d273c37dc2804a70d1cae1e9d
0, 1, 1, 1, 1584, ba75d90652c021bc7ca061352e6e94ce
diff --git a/tests/ref/fate/vp9-02-size-66x18 b/tests/ref/fate/vp9-02-size-66x18
index 3b395dd..1cb9bbd 100644
--- a/tests/ref/fate/vp9-02-size-66x18
+++ b/tests/ref/fate/vp9-02-size-66x18
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x18
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1782, fda5ad9bf70a51b3a41bdcabf2cce32a
0, 1, 1, 1, 1782, 91916fb20ad542a7a3ad276e6505f9b0
diff --git a/tests/ref/fate/vp9-02-size-66x32 b/tests/ref/fate/vp9-02-size-66x32
index 14b9cb0..20bfa78 100644
--- a/tests/ref/fate/vp9-02-size-66x32
+++ b/tests/ref/fate/vp9-02-size-66x32
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x32
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3168, 013cd22aea6bfeccc8ec809abd52be5c
0, 1, 1, 1, 3168, 0980adfb0ef879b3c960797272f025ad
diff --git a/tests/ref/fate/vp9-02-size-66x34 b/tests/ref/fate/vp9-02-size-66x34
index 79bc91c..012900f4 100644
--- a/tests/ref/fate/vp9-02-size-66x34
+++ b/tests/ref/fate/vp9-02-size-66x34
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x34
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 3366, 6821eb3fcd1d10db32eff70468dcf9c1
0, 1, 1, 1, 3366, ed0094d347d9f250d46b4903cbc14801
diff --git a/tests/ref/fate/vp9-02-size-66x64 b/tests/ref/fate/vp9-02-size-66x64
index a89e10f..cfd77d4 100644
--- a/tests/ref/fate/vp9-02-size-66x64
+++ b/tests/ref/fate/vp9-02-size-66x64
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x64
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 6336, 929086fbb3e117bd53110b64c1ee915b
0, 1, 1, 1, 6336, 9ed45f5e40dd2393434e14a0c0160c63
diff --git a/tests/ref/fate/vp9-02-size-66x66 b/tests/ref/fate/vp9-02-size-66x66
index 73aa4e7..8560383 100644
--- a/tests/ref/fate/vp9-02-size-66x66
+++ b/tests/ref/fate/vp9-02-size-66x66
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 66x66
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 6534, 69f9028d52f95d2e7f986c57b19fc018
0, 1, 1, 1, 6534, 068e611f62b3f6222f6b1699748c8fbf
diff --git a/tests/ref/fate/vp9-03-deltaq b/tests/ref/fate/vp9-03-deltaq
index 293abad..3d13960 100644
--- a/tests/ref/fate/vp9-03-deltaq
+++ b/tests/ref/fate/vp9-03-deltaq
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x240
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 126720, 2f90d606edc511c8c960530dd915cb98
0, 1, 1, 1, 126720, 7fd451a057d6341b2b0d116f59e41a13
diff --git a/tests/ref/fate/vp9-03-size-196x196 b/tests/ref/fate/vp9-03-size-196x196
index 1c4156b..7ac30a5 100644
--- a/tests/ref/fate/vp9-03-size-196x196
+++ b/tests/ref/fate/vp9-03-size-196x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 57624, 14cc1c34b8106e35238d4650a9123852
0, 1, 1, 1, 57624, 66e0bb9136ea24e30b781a4610b428a1
diff --git a/tests/ref/fate/vp9-03-size-196x198 b/tests/ref/fate/vp9-03-size-196x198
index 294c7de..fd65de0 100644
--- a/tests/ref/fate/vp9-03-size-196x198
+++ b/tests/ref/fate/vp9-03-size-196x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 58212, d2bd2dfaf2ac22b3f2499844f228d89a
0, 1, 1, 1, 58212, e066448baeb39da04b22d4d2ebd27b0a
diff --git a/tests/ref/fate/vp9-03-size-196x200 b/tests/ref/fate/vp9-03-size-196x200
index d0882e5..de59ee1 100644
--- a/tests/ref/fate/vp9-03-size-196x200
+++ b/tests/ref/fate/vp9-03-size-196x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 58800, b2f2ac3e3833ae1b4dd075fe00210373
0, 1, 1, 1, 58800, c0cce05e56a07111fe62553fa3a87074
diff --git a/tests/ref/fate/vp9-03-size-196x202 b/tests/ref/fate/vp9-03-size-196x202
index 20f46ea..4a40674 100644
--- a/tests/ref/fate/vp9-03-size-196x202
+++ b/tests/ref/fate/vp9-03-size-196x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59388, 7109d2ef160828ece26337f36fcfc092
0, 1, 1, 1, 59388, bdaa6612f81a956d9b20d55a04df8346
diff --git a/tests/ref/fate/vp9-03-size-196x208 b/tests/ref/fate/vp9-03-size-196x208
index b1ffd8f..aee4445 100644
--- a/tests/ref/fate/vp9-03-size-196x208
+++ b/tests/ref/fate/vp9-03-size-196x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61152, efa2a2a76a0fe709a78e491346cfcf29
0, 1, 1, 1, 61152, 97de85e21b408878853fa870104707d7
diff --git a/tests/ref/fate/vp9-03-size-196x210 b/tests/ref/fate/vp9-03-size-196x210
index 7248874..bcfde20 100644
--- a/tests/ref/fate/vp9-03-size-196x210
+++ b/tests/ref/fate/vp9-03-size-196x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61740, fccc18714a9ed3840bd6e9c6ca4858e5
0, 1, 1, 1, 61740, a8f6eb43cf6ed670eb180c5051de06f7
diff --git a/tests/ref/fate/vp9-03-size-196x224 b/tests/ref/fate/vp9-03-size-196x224
index fb49188..0e9d64c 100644
--- a/tests/ref/fate/vp9-03-size-196x224
+++ b/tests/ref/fate/vp9-03-size-196x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 65856, 13263674ea5aa619250dfd139bda872f
0, 1, 1, 1, 65856, 39f5cbd8917f2b3a1df8cf2b786266de
diff --git a/tests/ref/fate/vp9-03-size-196x226 b/tests/ref/fate/vp9-03-size-196x226
index 0ef318a..05c88ec 100644
--- a/tests/ref/fate/vp9-03-size-196x226
+++ b/tests/ref/fate/vp9-03-size-196x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 196x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 66444, 5cb240f10761f59687612ed589759800
0, 1, 1, 1, 66444, 9d8d5b57336ddfa5c9c5100a0302197d
diff --git a/tests/ref/fate/vp9-03-size-198x196 b/tests/ref/fate/vp9-03-size-198x196
index 2d02a49..75af98d 100644
--- a/tests/ref/fate/vp9-03-size-198x196
+++ b/tests/ref/fate/vp9-03-size-198x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 58212, c980866a6f17d4107ce128ee112d74cf
0, 1, 1, 1, 58212, d4d5d2a10e73f1d09919355dc4d63d48
diff --git a/tests/ref/fate/vp9-03-size-198x198 b/tests/ref/fate/vp9-03-size-198x198
index f458f53..9323e7c 100644
--- a/tests/ref/fate/vp9-03-size-198x198
+++ b/tests/ref/fate/vp9-03-size-198x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 58806, ee0760611da9938e72f551d219671c76
0, 1, 1, 1, 58806, c512cb8a864c25318254438c7170f373
diff --git a/tests/ref/fate/vp9-03-size-198x200 b/tests/ref/fate/vp9-03-size-198x200
index 176b9d9..b7c340f 100644
--- a/tests/ref/fate/vp9-03-size-198x200
+++ b/tests/ref/fate/vp9-03-size-198x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59400, fb0e8171b0f91d9b2ceb5430db27a67b
0, 1, 1, 1, 59400, 73f121e6aa0e6290cfd06ac9b033c772
diff --git a/tests/ref/fate/vp9-03-size-198x202 b/tests/ref/fate/vp9-03-size-198x202
index 371a874..65e095e 100644
--- a/tests/ref/fate/vp9-03-size-198x202
+++ b/tests/ref/fate/vp9-03-size-198x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59994, f5e1cf4cc56742fadddf42189a3f65e3
0, 1, 1, 1, 59994, f3e8ca2c8deb29a6b5bfe415b39c901e
diff --git a/tests/ref/fate/vp9-03-size-198x208 b/tests/ref/fate/vp9-03-size-198x208
index 95b2e06..9b0a76e 100644
--- a/tests/ref/fate/vp9-03-size-198x208
+++ b/tests/ref/fate/vp9-03-size-198x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61776, d45b561f81cbfcca8a1dddbc2bf8ca31
0, 1, 1, 1, 61776, 3664f63b2e59e380622caadb7a05545e
diff --git a/tests/ref/fate/vp9-03-size-198x210 b/tests/ref/fate/vp9-03-size-198x210
index 1e2790a..7c8878a 100644
--- a/tests/ref/fate/vp9-03-size-198x210
+++ b/tests/ref/fate/vp9-03-size-198x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 62370, 8525a27170982c059d5904c1af3b43fb
0, 1, 1, 1, 62370, c4eb329733913360384d3917a58f6f36
diff --git a/tests/ref/fate/vp9-03-size-198x224 b/tests/ref/fate/vp9-03-size-198x224
index 7cccf9b..09d20b7 100644
--- a/tests/ref/fate/vp9-03-size-198x224
+++ b/tests/ref/fate/vp9-03-size-198x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 66528, 5f69230bfd8bb485bd85552b18339fc0
0, 1, 1, 1, 66528, f5c365774fc1d0bffd5025ce2e931aaf
diff --git a/tests/ref/fate/vp9-03-size-198x226 b/tests/ref/fate/vp9-03-size-198x226
index 81136e6..9fcbcd4 100644
--- a/tests/ref/fate/vp9-03-size-198x226
+++ b/tests/ref/fate/vp9-03-size-198x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 198x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67122, 412c33a8fd71c99e68e6701b050b107c
0, 1, 1, 1, 67122, 8e69483ff8a094096dd550b30be20dde
diff --git a/tests/ref/fate/vp9-03-size-200x196 b/tests/ref/fate/vp9-03-size-200x196
index 670d115..3326b23 100644
--- a/tests/ref/fate/vp9-03-size-200x196
+++ b/tests/ref/fate/vp9-03-size-200x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 58800, 651a0627c6cdaee8b46e1f8c4121a368
0, 1, 1, 1, 58800, 3e63075148df16f69c933cf6c63e078c
diff --git a/tests/ref/fate/vp9-03-size-200x198 b/tests/ref/fate/vp9-03-size-200x198
index fd37506..66ccd0b 100644
--- a/tests/ref/fate/vp9-03-size-200x198
+++ b/tests/ref/fate/vp9-03-size-200x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59400, d4b3578d800c747bcabaa484a140ffb0
0, 1, 1, 1, 59400, a40f6f8c384c5dc3d5546d960bb6d9e5
diff --git a/tests/ref/fate/vp9-03-size-200x200 b/tests/ref/fate/vp9-03-size-200x200
index d5806a1..226e31a 100644
--- a/tests/ref/fate/vp9-03-size-200x200
+++ b/tests/ref/fate/vp9-03-size-200x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 60000, b339f4e563afadb25f43b8c05b12dc03
0, 1, 1, 1, 60000, 3bd5280e7fb42400085b0b1dbba1905e
diff --git a/tests/ref/fate/vp9-03-size-200x202 b/tests/ref/fate/vp9-03-size-200x202
index 3f6ee8b..be0ff5f 100644
--- a/tests/ref/fate/vp9-03-size-200x202
+++ b/tests/ref/fate/vp9-03-size-200x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 60600, c4a13df44e66f06961dd72fc990439e9
0, 1, 1, 1, 60600, 81c73b8d3806ad96af8f422914a253f8
diff --git a/tests/ref/fate/vp9-03-size-200x208 b/tests/ref/fate/vp9-03-size-200x208
index ea1cb0c..3622609 100644
--- a/tests/ref/fate/vp9-03-size-200x208
+++ b/tests/ref/fate/vp9-03-size-200x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 62400, 702748bec18c500dd41d93ae74b11d56
0, 1, 1, 1, 62400, 4fb542190dab2fd673724d47451ff6ee
diff --git a/tests/ref/fate/vp9-03-size-200x210 b/tests/ref/fate/vp9-03-size-200x210
index 7c459d2..c0d172e 100644
--- a/tests/ref/fate/vp9-03-size-200x210
+++ b/tests/ref/fate/vp9-03-size-200x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 63000, 31ef44bd12ae702f306c55eba10d2ba7
0, 1, 1, 1, 63000, 83e9d913f5aa058d79a81047ca45e4a2
diff --git a/tests/ref/fate/vp9-03-size-200x224 b/tests/ref/fate/vp9-03-size-200x224
index 19a786c..760c598 100644
--- a/tests/ref/fate/vp9-03-size-200x224
+++ b/tests/ref/fate/vp9-03-size-200x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67200, 315d69847bf752a84231a368278eb0b6
0, 1, 1, 1, 67200, d245738f8627fc345ab38a547bc7d352
diff --git a/tests/ref/fate/vp9-03-size-200x226 b/tests/ref/fate/vp9-03-size-200x226
index dd7967d..d4bf47b 100644
--- a/tests/ref/fate/vp9-03-size-200x226
+++ b/tests/ref/fate/vp9-03-size-200x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 200x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67800, e45b6b9dce4a8509b7d26bc3cfdf7c86
0, 1, 1, 1, 67800, ddb9d5033ecfa2d6e9a5505dce374bda
diff --git a/tests/ref/fate/vp9-03-size-202x196 b/tests/ref/fate/vp9-03-size-202x196
index 1af7c58..f40fda9 100644
--- a/tests/ref/fate/vp9-03-size-202x196
+++ b/tests/ref/fate/vp9-03-size-202x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59388, 1261466179df96099e598e46c50fa7c1
0, 1, 1, 1, 59388, cc0fe373cd0399cf0c95edf92d9ab01f
diff --git a/tests/ref/fate/vp9-03-size-202x198 b/tests/ref/fate/vp9-03-size-202x198
index d51ee96..1a7473c 100644
--- a/tests/ref/fate/vp9-03-size-202x198
+++ b/tests/ref/fate/vp9-03-size-202x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 59994, 181edc4ebeeff7f0527b93b84d5d8efb
0, 1, 1, 1, 59994, 132c71b634fb67eed51fcdef1775b6b2
diff --git a/tests/ref/fate/vp9-03-size-202x200 b/tests/ref/fate/vp9-03-size-202x200
index f75e192..513dbf4 100644
--- a/tests/ref/fate/vp9-03-size-202x200
+++ b/tests/ref/fate/vp9-03-size-202x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 60600, 20c41d4a1271183dbbc7a44e6b90ea80
0, 1, 1, 1, 60600, bd8c1fba8d8742f4d98b7d5097c8c828
diff --git a/tests/ref/fate/vp9-03-size-202x202 b/tests/ref/fate/vp9-03-size-202x202
index af7cb9a..5591e51 100644
--- a/tests/ref/fate/vp9-03-size-202x202
+++ b/tests/ref/fate/vp9-03-size-202x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61206, 610cef52d35e9c641f2b8c10489c3d12
0, 1, 1, 1, 61206, 1f84062e607d4798b0544739fe0da99c
diff --git a/tests/ref/fate/vp9-03-size-202x208 b/tests/ref/fate/vp9-03-size-202x208
index cc85d27..5909265 100644
--- a/tests/ref/fate/vp9-03-size-202x208
+++ b/tests/ref/fate/vp9-03-size-202x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 63024, d2128e290be81bb0700ebe19e3faed4f
0, 1, 1, 1, 63024, dccaecb7e4ddb7e4224221a659af2a43
diff --git a/tests/ref/fate/vp9-03-size-202x210 b/tests/ref/fate/vp9-03-size-202x210
index d51fcc6..eda5a1f 100644
--- a/tests/ref/fate/vp9-03-size-202x210
+++ b/tests/ref/fate/vp9-03-size-202x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 63630, e4663a28cabbfdd3815efda2d38debcc
0, 1, 1, 1, 63630, 3cc7dbec64e9f697f40d740a72c09fc7
diff --git a/tests/ref/fate/vp9-03-size-202x224 b/tests/ref/fate/vp9-03-size-202x224
index 0a36bd3..1024fe8 100644
--- a/tests/ref/fate/vp9-03-size-202x224
+++ b/tests/ref/fate/vp9-03-size-202x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67872, 1d318f05310f6d40646f23c62c7eafe4
0, 1, 1, 1, 67872, 42870bd73e1a0c5d84b986db3d24f0f0
diff --git a/tests/ref/fate/vp9-03-size-202x226 b/tests/ref/fate/vp9-03-size-202x226
index 6bc31f9..0572eea 100644
--- a/tests/ref/fate/vp9-03-size-202x226
+++ b/tests/ref/fate/vp9-03-size-202x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 202x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 68478, 5aa0f439c58c6335cd86d4238a8c4b68
0, 1, 1, 1, 68478, 3616cc306ec05f89d9b0db63200e4abf
diff --git a/tests/ref/fate/vp9-03-size-208x196 b/tests/ref/fate/vp9-03-size-208x196
index b06557f..377dd24 100644
--- a/tests/ref/fate/vp9-03-size-208x196
+++ b/tests/ref/fate/vp9-03-size-208x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61152, 6195975181969789e101a83a555d13f7
0, 1, 1, 1, 61152, 2aca5e3307d68a5e969564a943b8e723
diff --git a/tests/ref/fate/vp9-03-size-208x198 b/tests/ref/fate/vp9-03-size-208x198
index 84da7dd..486f8d2 100644
--- a/tests/ref/fate/vp9-03-size-208x198
+++ b/tests/ref/fate/vp9-03-size-208x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61776, 1f1fa3cdf865d8c75183f4ba6203b675
0, 1, 1, 1, 61776, ead33ead8fea5bd5d831a79f4c75a590
diff --git a/tests/ref/fate/vp9-03-size-208x200 b/tests/ref/fate/vp9-03-size-208x200
index 0943abf..40d5d47 100644
--- a/tests/ref/fate/vp9-03-size-208x200
+++ b/tests/ref/fate/vp9-03-size-208x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 62400, ff2dda3ddbe8b461d960baba0ad132bf
0, 1, 1, 1, 62400, d6935ac8f2250316f498e8f01afa04fd
diff --git a/tests/ref/fate/vp9-03-size-208x202 b/tests/ref/fate/vp9-03-size-208x202
index b181224..f7c58e2 100644
--- a/tests/ref/fate/vp9-03-size-208x202
+++ b/tests/ref/fate/vp9-03-size-208x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 63024, e5164f87feadf4b65257f578affc3e04
0, 1, 1, 1, 63024, 6aee5a3b6c3a096dfc1594762b2b248f
diff --git a/tests/ref/fate/vp9-03-size-208x208 b/tests/ref/fate/vp9-03-size-208x208
index 7bcbfdc..fa50887 100644
--- a/tests/ref/fate/vp9-03-size-208x208
+++ b/tests/ref/fate/vp9-03-size-208x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 64896, 6bff7c1f4c5ef8412ebf669852c70de6
0, 1, 1, 1, 64896, fdfd7a2308de9509a41fed2880a8f0f5
diff --git a/tests/ref/fate/vp9-03-size-208x210 b/tests/ref/fate/vp9-03-size-208x210
index 7dbccf6..92f2165 100644
--- a/tests/ref/fate/vp9-03-size-208x210
+++ b/tests/ref/fate/vp9-03-size-208x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 65520, b15c7e98ddd137237b062cb51667522f
0, 1, 1, 1, 65520, 00c594c68b19ef39a79a38e86853dc64
diff --git a/tests/ref/fate/vp9-03-size-208x224 b/tests/ref/fate/vp9-03-size-208x224
index 70d64ea..0d17a9a 100644
--- a/tests/ref/fate/vp9-03-size-208x224
+++ b/tests/ref/fate/vp9-03-size-208x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 69888, 479d07bb96905ad7d5f0ec3ee12b41ba
0, 1, 1, 1, 69888, 4b6555aaed8e5a45879773f1bf87962e
diff --git a/tests/ref/fate/vp9-03-size-208x226 b/tests/ref/fate/vp9-03-size-208x226
index 7d9020c..1e9c284 100644
--- a/tests/ref/fate/vp9-03-size-208x226
+++ b/tests/ref/fate/vp9-03-size-208x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 70512, 33aa4af6153570518c59960a0c959053
0, 1, 1, 1, 70512, 024fa27dee80ad199528052aaa8d42c7
diff --git a/tests/ref/fate/vp9-03-size-210x196 b/tests/ref/fate/vp9-03-size-210x196
index a6813b4..28db1db 100644
--- a/tests/ref/fate/vp9-03-size-210x196
+++ b/tests/ref/fate/vp9-03-size-210x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 61740, 5c69f80da667bfd20394995e93e4cd2b
0, 1, 1, 1, 61740, 13363cd8e52ca8c1053db1c84c111bc9
diff --git a/tests/ref/fate/vp9-03-size-210x198 b/tests/ref/fate/vp9-03-size-210x198
index c14d20c..b676c75 100644
--- a/tests/ref/fate/vp9-03-size-210x198
+++ b/tests/ref/fate/vp9-03-size-210x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 62370, d83ee2413e701ae405a2b74863d4c5a9
0, 1, 1, 1, 62370, f2ebc0f7dc171e0e5d2911c7ee2df5e1
diff --git a/tests/ref/fate/vp9-03-size-210x200 b/tests/ref/fate/vp9-03-size-210x200
index 873525b..01f1093 100644
--- a/tests/ref/fate/vp9-03-size-210x200
+++ b/tests/ref/fate/vp9-03-size-210x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 63000, 2465560246c1ee24d937cb9cbc1422f1
0, 1, 1, 1, 63000, 8926b628dcdf2182516822c7d0d778ec
diff --git a/tests/ref/fate/vp9-03-size-210x202 b/tests/ref/fate/vp9-03-size-210x202
index 91e229e..42924c5 100644
--- a/tests/ref/fate/vp9-03-size-210x202
+++ b/tests/ref/fate/vp9-03-size-210x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 63630, 5d01848aee2b324f2e356627f9c39532
0, 1, 1, 1, 63630, b671fe34bc0e5a682baff929d26ea627
diff --git a/tests/ref/fate/vp9-03-size-210x208 b/tests/ref/fate/vp9-03-size-210x208
index a77ac5f..0d271b2 100644
--- a/tests/ref/fate/vp9-03-size-210x208
+++ b/tests/ref/fate/vp9-03-size-210x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 65520, 1156d318c00d299cf5bdc7e485966dab
0, 1, 1, 1, 65520, a8094f8f1e7e04e54251bee8c4c800ce
diff --git a/tests/ref/fate/vp9-03-size-210x210 b/tests/ref/fate/vp9-03-size-210x210
index fa9f158..bac0e9c 100644
--- a/tests/ref/fate/vp9-03-size-210x210
+++ b/tests/ref/fate/vp9-03-size-210x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 66150, b65725c68978bdaaafdf735dfbafa9e3
0, 1, 1, 1, 66150, 35be2f16bd5dedc9d3f7a016f0d71701
diff --git a/tests/ref/fate/vp9-03-size-210x224 b/tests/ref/fate/vp9-03-size-210x224
index 1e1d225..17ebe8a 100644
--- a/tests/ref/fate/vp9-03-size-210x224
+++ b/tests/ref/fate/vp9-03-size-210x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 70560, bb903b926c4b34ae336e21d65ad8fd25
0, 1, 1, 1, 70560, c4c0bc3b112487e994d22176817ace3c
diff --git a/tests/ref/fate/vp9-03-size-210x226 b/tests/ref/fate/vp9-03-size-210x226
index 5563363..cfadeae 100644
--- a/tests/ref/fate/vp9-03-size-210x226
+++ b/tests/ref/fate/vp9-03-size-210x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 210x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 71190, 03707b2f5c392933f7336f380423a0a1
0, 1, 1, 1, 71190, b388553c79573555a3b660f5e36d4e36
diff --git a/tests/ref/fate/vp9-03-size-224x196 b/tests/ref/fate/vp9-03-size-224x196
index 1275e9e..d8a2518 100644
--- a/tests/ref/fate/vp9-03-size-224x196
+++ b/tests/ref/fate/vp9-03-size-224x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 65856, 3ffc096f1b42b4d319d4a9efbefc7625
0, 1, 1, 1, 65856, 78b3655d5cad30fa6b2c2d8fd29463de
diff --git a/tests/ref/fate/vp9-03-size-224x198 b/tests/ref/fate/vp9-03-size-224x198
index 39e0825..f132875 100644
--- a/tests/ref/fate/vp9-03-size-224x198
+++ b/tests/ref/fate/vp9-03-size-224x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 66528, cf35dffc80946e87bb9d3e18aab9d320
0, 1, 1, 1, 66528, a76ac92f05e9b097f8ac5882e1ffe656
diff --git a/tests/ref/fate/vp9-03-size-224x200 b/tests/ref/fate/vp9-03-size-224x200
index 8fbc5b1..a38d414 100644
--- a/tests/ref/fate/vp9-03-size-224x200
+++ b/tests/ref/fate/vp9-03-size-224x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67200, 0819e6d715c9b4d94f05f63a7ca86199
0, 1, 1, 1, 67200, 9b9a4b01ed4c8a93687e45245b3092a3
diff --git a/tests/ref/fate/vp9-03-size-224x202 b/tests/ref/fate/vp9-03-size-224x202
index 3e212ac..ddf076e 100644
--- a/tests/ref/fate/vp9-03-size-224x202
+++ b/tests/ref/fate/vp9-03-size-224x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67872, e1e3b4af5910383ff6f66b6ab1a29544
0, 1, 1, 1, 67872, 8668ef92b72f35728ebb456665d48b95
diff --git a/tests/ref/fate/vp9-03-size-224x208 b/tests/ref/fate/vp9-03-size-224x208
index a925e1a..58d8617 100644
--- a/tests/ref/fate/vp9-03-size-224x208
+++ b/tests/ref/fate/vp9-03-size-224x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 69888, 85f08afadfd1204d4131b9ee9c8cc10b
0, 1, 1, 1, 69888, f893de5432a082b3dffcf7499827f548
diff --git a/tests/ref/fate/vp9-03-size-224x210 b/tests/ref/fate/vp9-03-size-224x210
index 3c59459..d24dc4a 100644
--- a/tests/ref/fate/vp9-03-size-224x210
+++ b/tests/ref/fate/vp9-03-size-224x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 70560, 427421e5fd2087c6ff7b87a27982332f
0, 1, 1, 1, 70560, b68311fd44e189e4174ac357d5415068
diff --git a/tests/ref/fate/vp9-03-size-224x224 b/tests/ref/fate/vp9-03-size-224x224
index 610578b..8183364 100644
--- a/tests/ref/fate/vp9-03-size-224x224
+++ b/tests/ref/fate/vp9-03-size-224x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 75264, bedd5d2725ffff06a50e23841bc2dfb8
0, 1, 1, 1, 75264, 8c363f68b0b30f507563516aa99e23ac
diff --git a/tests/ref/fate/vp9-03-size-224x226 b/tests/ref/fate/vp9-03-size-224x226
index 874e595..a5a4ae7 100644
--- a/tests/ref/fate/vp9-03-size-224x226
+++ b/tests/ref/fate/vp9-03-size-224x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 224x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 75936, dca556e648a576b3973fbe4b34d0328c
0, 1, 1, 1, 75936, 34a49e4aba4aca5c76ab0f751341c32b
diff --git a/tests/ref/fate/vp9-03-size-226x196 b/tests/ref/fate/vp9-03-size-226x196
index 43d55b9..f85bfb8 100644
--- a/tests/ref/fate/vp9-03-size-226x196
+++ b/tests/ref/fate/vp9-03-size-226x196
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x196
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 66444, 4757a31842453f806de2f2256329547e
0, 1, 1, 1, 66444, fe5fb955a4143091c5bfae7c4a4afe0f
diff --git a/tests/ref/fate/vp9-03-size-226x198 b/tests/ref/fate/vp9-03-size-226x198
index fe2c477..dcb0852 100644
--- a/tests/ref/fate/vp9-03-size-226x198
+++ b/tests/ref/fate/vp9-03-size-226x198
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x198
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67122, b97087eb8c53cf56dc44576912654fb2
0, 1, 1, 1, 67122, 219bb68a59dc166806a5b5689a943b66
diff --git a/tests/ref/fate/vp9-03-size-226x200 b/tests/ref/fate/vp9-03-size-226x200
index b16c531..7622f29 100644
--- a/tests/ref/fate/vp9-03-size-226x200
+++ b/tests/ref/fate/vp9-03-size-226x200
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x200
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 67800, 0ae27db338f73f37eaed806b1c789593
0, 1, 1, 1, 67800, 3f69273752f43699a3bc7b22a88cc3aa
diff --git a/tests/ref/fate/vp9-03-size-226x202 b/tests/ref/fate/vp9-03-size-226x202
index 818038d..b8a217c 100644
--- a/tests/ref/fate/vp9-03-size-226x202
+++ b/tests/ref/fate/vp9-03-size-226x202
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x202
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 68478, 0cd2876640e71de3a6df7839bd6f0b51
0, 1, 1, 1, 68478, f887db6839c0cddd1ea9ae6bfd2cc16d
diff --git a/tests/ref/fate/vp9-03-size-226x208 b/tests/ref/fate/vp9-03-size-226x208
index cda6f99..cdf1113 100644
--- a/tests/ref/fate/vp9-03-size-226x208
+++ b/tests/ref/fate/vp9-03-size-226x208
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x208
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 70512, 6006cac6628cf9e7cea58aec07471b06
0, 1, 1, 1, 70512, f7e994921248b6933920c984880ec96c
diff --git a/tests/ref/fate/vp9-03-size-226x210 b/tests/ref/fate/vp9-03-size-226x210
index fa83e1d..e903e82 100644
--- a/tests/ref/fate/vp9-03-size-226x210
+++ b/tests/ref/fate/vp9-03-size-226x210
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x210
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 71190, a6c1b7686202f5cc64335f92be595309
0, 1, 1, 1, 71190, 3e573d4c693a39c5d6cd46b8873e99bb
diff --git a/tests/ref/fate/vp9-03-size-226x224 b/tests/ref/fate/vp9-03-size-226x224
index 50d81cb..425490e 100644
--- a/tests/ref/fate/vp9-03-size-226x224
+++ b/tests/ref/fate/vp9-03-size-226x224
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x224
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 75936, 80fb3a643384386beadc0991f171669d
0, 1, 1, 1, 75936, 65a4a51163f49a75f8eeecd94cb2ba47
diff --git a/tests/ref/fate/vp9-03-size-226x226 b/tests/ref/fate/vp9-03-size-226x226
index 88b3c43..5c291e7 100644
--- a/tests/ref/fate/vp9-03-size-226x226
+++ b/tests/ref/fate/vp9-03-size-226x226
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 226x226
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 76614, f2370fc802dafdf5082beffc1907a9c6
0, 1, 1, 1, 76614, aad6de7b986234a1d621935b272501c9
diff --git a/tests/ref/fate/vp9-05-resize b/tests/ref/fate/vp9-05-resize
index 4a3cd09..6b8823d 100644
--- a/tests/ref/fate/vp9-05-resize
+++ b/tests/ref/fate/vp9-05-resize
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 539e9964364c1db09ad18f2e01713799
0, 1, 1, 1, 152064, fb76e673ba2a5342bfed8a1523e0a425
diff --git a/tests/ref/fate/vp9-06-bilinear b/tests/ref/fate/vp9-06-bilinear
index b175195..77369f8 100644
--- a/tests/ref/fate/vp9-06-bilinear
+++ b/tests/ref/fate/vp9-06-bilinear
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 818a5af531c921ae58dfedc75234f3c5
0, 1, 1, 1, 152064, f863f8c68b5c87c721d345c5a894336d
diff --git a/tests/ref/fate/vp9-09-lf_deltas b/tests/ref/fate/vp9-09-lf_deltas
index 733a70c..278395f 100644
--- a/tests/ref/fate/vp9-09-lf_deltas
+++ b/tests/ref/fate/vp9-09-lf_deltas
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x240
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 126720, a83c7f4602f595fd09e97f8c8a7277ec
0, 1, 1, 1, 126720, 53e1a3fd44932883a8dd112bbb0e359f
diff --git a/tests/ref/fate/vp9-10-show-existing-frame b/tests/ref/fate/vp9-10-show-existing-frame
index 6a2c904..aeed44a 100644
--- a/tests/ref/fate/vp9-10-show-existing-frame
+++ b/tests/ref/fate/vp9-10-show-existing-frame
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 18981342ec178e082519451062c3a67f
0, 3, 3, 1, 152064, 04ab9dbeac49ec31be58f6e671698e05
diff --git a/tests/ref/fate/vp9-10-show-existing-frame2 b/tests/ref/fate/vp9-10-show-existing-frame2
index b0fa669..c93a09f 100644
--- a/tests/ref/fate/vp9-10-show-existing-frame2
+++ b/tests/ref/fate/vp9-10-show-existing-frame2
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 382b12c33cd86b38758706b8ebca8a85
0, 1, 1, 1, 152064, 799544370b35c91711a5b49a28cf86a8
diff --git a/tests/ref/fate/vp9-15-segkey_adpq b/tests/ref/fate/vp9-15-segkey_adpq
index f12db8b..4e4adad 100644
--- a/tests/ref/fate/vp9-15-segkey_adpq
+++ b/tests/ref/fate/vp9-15-segkey_adpq
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 852x480
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 613440, d4f0e4b606ddb40b482aecb24cf3bc63
0, 1, 1, 1, 613440, 692ec092bc5928fa6430d056e883759a
diff --git a/tests/ref/fate/vp9-16-intra-only b/tests/ref/fate/vp9-16-intra-only
index 1e8d280..a33e62e 100644
--- a/tests/ref/fate/vp9-16-intra-only
+++ b/tests/ref/fate/vp9-16-intra-only
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, d57529601178948afa4818c3c8938884
0, 1, 1, 1, 152064, d47e00250c45733d64af067a417bcd06
diff --git a/tests/ref/fate/vp9-2pass-akiyo b/tests/ref/fate/vp9-2pass-akiyo
index 2f32092..59c5429 100644
--- a/tests/ref/fate/vp9-2pass-akiyo
+++ b/tests/ref/fate/vp9-2pass-akiyo
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, 043ce065a309514e1e8ebdcbb3c2458b
0, 1, 1, 1, 152064, 8579c9cffd95b11db86158e518b2e34a
diff --git a/tests/ref/fate/vp9-parallelmode-akiyo b/tests/ref/fate/vp9-parallelmode-akiyo
index 9668c54..df31866 100644
--- a/tests/ref/fate/vp9-parallelmode-akiyo
+++ b/tests/ref/fate/vp9-parallelmode-akiyo
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, f5bc602db15c69545307e56990f9f9f7
0, 1, 1, 1, 152064, b56428b6f97669938c8b9b05458fca70
diff --git a/tests/ref/fate/vp9-segmentation-aq-akiyo b/tests/ref/fate/vp9-segmentation-aq-akiyo
index 5c931b6..deb5ac5 100644
--- a/tests/ref/fate/vp9-segmentation-aq-akiyo
+++ b/tests/ref/fate/vp9-segmentation-aq-akiyo
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, b208eac12f0ae74a812bc9e314bdfac7
0, 1, 1, 1, 152064, ebb2259451c3acf3ad6379d1f4092efb
diff --git a/tests/ref/fate/vp9-segmentation-sf-akiyo b/tests/ref/fate/vp9-segmentation-sf-akiyo
index 0fdb3f2..08f1305 100644
--- a/tests/ref/fate/vp9-segmentation-sf-akiyo
+++ b/tests/ref/fate/vp9-segmentation-sf-akiyo
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 152064, f4e04a0f92fab3a52d858bb222807ac0
0, 1, 1, 1, 152064, 493cb96b8202a1518c6c9bdb848540e4
diff --git a/tests/ref/fate/vp9-tiling-pedestrian b/tests/ref/fate/vp9-tiling-pedestrian
index 2915323..4b25a29 100644
--- a/tests/ref/fate/vp9-tiling-pedestrian
+++ b/tests/ref/fate/vp9-tiling-pedestrian
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 0, 3110400, 1e6c2e768a5107e57e6d626f0511193a
0, 40, 40, 0, 3110400, 972d3e2b5ee2e3b0907218a243e4cb7d
diff --git a/tests/ref/fate/vp9-trac3849 b/tests/ref/fate/vp9-trac3849
index 4d129b3..6d6584a 100644
--- a/tests/ref/fate/vp9-trac3849
+++ b/tests/ref/fate/vp9-trac3849
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 640x360
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 345600, c2ee30cb4529fcbd61938af1887e2b45
0, 1, 1, 1, 345600, 946e9bfee03777a07c122df038087d92
diff --git a/tests/ref/fate/vp9-trac4359 b/tests/ref/fate/vp9-trac4359
index cd271a7..0f50cff 100644
--- a/tests/ref/fate/vp9-trac4359
+++ b/tests/ref/fate/vp9-trac4359
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1280x720
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 1382400, 2929e5318edee6cd6b24ede0c1015137
0, 1, 1, 1, 1382400, ca0d83b04297da33a1aa17129a9fe9c9
diff --git a/tests/ref/fate/vp9p1-04-yuv422 b/tests/ref/fate/vp9p1-04-yuv422
index 59abfb0..3340e74 100644
--- a/tests/ref/fate/vp9p1-04-yuv422
+++ b/tests/ref/fate/vp9p1-04-yuv422
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 28800, b81b8a8444ac6ce4a4807c37e0a44c8b
0, 1, 1, 1, 28800, 344458b82d35ea9944dc841643fc25c2
diff --git a/tests/ref/fate/vp9p1-04-yuv440 b/tests/ref/fate/vp9p1-04-yuv440
index 0c28f36..17c9f99 100644
--- a/tests/ref/fate/vp9p1-04-yuv440
+++ b/tests/ref/fate/vp9p1-04-yuv440
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 28800, 61157ad4fb02a254de8f34ae7b8915dc
0, 1, 1, 1, 28800, 9431337382bf90d40aa417e297ac05da
diff --git a/tests/ref/fate/vp9p1-04-yuv444 b/tests/ref/fate/vp9p1-04-yuv444
index e9559c6..b7e5603 100644
--- a/tests/ref/fate/vp9p1-04-yuv444
+++ b/tests/ref/fate/vp9p1-04-yuv444
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 304128, 859df7b3661783e337a16ee79f3c20bc
0, 1, 1, 1, 304128, 3b3ccf344cd5a478c4c1fa422497183d
diff --git a/tests/ref/fate/vp9p2-20-10bit-yuv420 b/tests/ref/fate/vp9p2-20-10bit-yuv420
index 297a178..535bd77 100644
--- a/tests/ref/fate/vp9p2-20-10bit-yuv420
+++ b/tests/ref/fate/vp9p2-20-10bit-yuv420
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 43200, c3964ed9065de7f839b8d878444c6140
0, 1, 1, 1, 43200, 87595f7f53d6e84af9708dba72422cc4
diff --git a/tests/ref/fate/vp9p2-20-12bit-yuv420 b/tests/ref/fate/vp9p2-20-12bit-yuv420
index 1ba0094..e80859b 100644
--- a/tests/ref/fate/vp9p2-20-12bit-yuv420
+++ b/tests/ref/fate/vp9p2-20-12bit-yuv420
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 43200, 8403bd5a381737e1c2d737047f6a5a0b
0, 1, 1, 1, 43200, 3c0bf7eecc3131e3598f6810d6b70539
diff --git a/tests/ref/fate/vp9p3-20-10bit-yuv422 b/tests/ref/fate/vp9p3-20-10bit-yuv422
index 5aaf056..53d7e66 100644
--- a/tests/ref/fate/vp9p3-20-10bit-yuv422
+++ b/tests/ref/fate/vp9p3-20-10bit-yuv422
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 57600, 18fed3eff623f0308561e5db0bc28691
0, 1, 1, 1, 57600, 3f22b2269cd53738e955c4b27ff6abce
diff --git a/tests/ref/fate/vp9p3-20-10bit-yuv440 b/tests/ref/fate/vp9p3-20-10bit-yuv440
index cd3f383..8b5416e 100644
--- a/tests/ref/fate/vp9p3-20-10bit-yuv440
+++ b/tests/ref/fate/vp9p3-20-10bit-yuv440
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 57600, 504a347654ef41e568c484ab017f5387
0, 1, 1, 1, 57600, 6110f151a39144da5616227d44b81c21
diff --git a/tests/ref/fate/vp9p3-20-10bit-yuv444 b/tests/ref/fate/vp9p3-20-10bit-yuv444
index ca218b8..8896186 100644
--- a/tests/ref/fate/vp9p3-20-10bit-yuv444
+++ b/tests/ref/fate/vp9p3-20-10bit-yuv444
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 86400, 06a4c4550dc31f75f842a4e65fc32398
0, 1, 1, 1, 86400, f7feda15d5c2babc1f6438c72d4900e4
diff --git a/tests/ref/fate/vp9p3-20-12bit-yuv422 b/tests/ref/fate/vp9p3-20-12bit-yuv422
index 1a8a83b..ed4af26 100644
--- a/tests/ref/fate/vp9p3-20-12bit-yuv422
+++ b/tests/ref/fate/vp9p3-20-12bit-yuv422
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 57600, 442a6d932a163907303f1e08056b33b3
0, 1, 1, 1, 57600, 80b21954eb522f0140e2226a03062839
diff --git a/tests/ref/fate/vp9p3-20-12bit-yuv440 b/tests/ref/fate/vp9p3-20-12bit-yuv440
index f6e4cf1..60d5c58 100644
--- a/tests/ref/fate/vp9p3-20-12bit-yuv440
+++ b/tests/ref/fate/vp9p3-20-12bit-yuv440
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 57600, 9c03fb4aa813522d9a44b3b309b85d19
0, 1, 1, 1, 57600, 73081beafa17bc23a170172e311c0f54
diff --git a/tests/ref/fate/vp9p3-20-12bit-yuv444 b/tests/ref/fate/vp9p3-20-12bit-yuv444
index 2e53221..9b3b163 100644
--- a/tests/ref/fate/vp9p3-20-12bit-yuv444
+++ b/tests/ref/fate/vp9p3-20-12bit-yuv444
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x90
+#sar 0: 1/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 86400, d9500a2c9e0b6b44935de019c3583194
0, 1, 1, 1, 86400, 58edf3e69b332a2b62ca78a8dc99ea68
diff --git a/tests/ref/fate/xvid-custom-matrix b/tests/ref/fate/xvid-custom-matrix
index c00a24b..32f629f 100644
--- a/tests/ref/fate/xvid-custom-matrix
+++ b/tests/ref/fate/xvid-custom-matrix
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x576
+#sar 0: 16/11
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 622080, 870e846b6b001d3e34fa87df96297e28
0, 1, 1, 1, 622080, de1a3dd9fcc32086ecdffd4591a8defa
diff --git a/tests/ref/fate/xvid-idct b/tests/ref/fate/xvid-idct
index 2fc93ee..cdbba2f 100644
--- a/tests/ref/fate/xvid-idct
+++ b/tests/ref/fate/xvid-idct
@@ -1,7 +1,11 @@
#format: frame checksums
-#version: 1
+#version: 2
#hash: MD5
#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x576
+#sar 0: 16/11
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 622080, 8fe318df973b5d7669e6d28ebf03b229
0, 1, 1, 1, 622080, 3568d92074e0298a2027f990004fe1a6
More information about the ffmpeg-cvslog
mailing list