aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-04-13 21:13:21 -0300
committerJames Almer <jamrial@gmail.com>2016-04-13 21:13:21 -0300
commit0efafc5849037046c3834769d6e20d33fae0c769 (patch)
tree7c3d83c5b3dbb734835a9f7c116f5cf4c044dad7 /tests/ref
parent868bce48f6d85c29d1b8c17686b42ea5601865ce (diff)
downloadffmpeg-0efafc5849037046c3834769d6e20d33fae0c769.tar.gz
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@niedermayer.cc>
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/dca-xll_51_16_192_768_06
-rw-r--r--tests/ref/fate/dca-xll_51_16_192_768_0-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_51_16_192_768_0-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_51_16_192_768_16
-rw-r--r--tests/ref/fate/dca-xll_51_16_192_768_1-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_51_16_192_768_1-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_51_24_48_7686
-rw-r--r--tests/ref/fate/dca-xll_51_24_48_768-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_51_24_48_768-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_51_24_48_none6
-rw-r--r--tests/ref/fate/dca-xll_51_24_48_none-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_51_24_48_none-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_71_24_48_768_06
-rw-r--r--tests/ref/fate/dca-xll_71_24_48_768_0-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_71_24_48_768_0-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_71_24_48_768_16
-rw-r--r--tests/ref/fate/dca-xll_71_24_48_768_1-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_71_24_48_768_1-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_71_24_96_7686
-rw-r--r--tests/ref/fate/dca-xll_71_24_96_768-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_71_24_96_768-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_x96_51_24_96_15096
-rw-r--r--tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_66
-rw-r--r--tests/ref/fate/dca-xll_xch_61_24_48_7686
-rw-r--r--tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_26
-rw-r--r--tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_66
-rw-r--r--tests/ref/fate/dcinema-encode6
-rw-r--r--tests/ref/fate/g722-encode6
-rw-r--r--tests/ref/fate/g726-encode-2bit6
-rw-r--r--tests/ref/fate/g726-encode-3bit6
-rw-r--r--tests/ref/fate/g726-encode-4bit6
-rw-r--r--tests/ref/fate/g726-encode-5bit6
-rw-r--r--tests/ref/fate/h264-crop-to-container6
-rw-r--r--tests/ref/fate/h264-extreme-plane-pred6
-rw-r--r--tests/ref/fate/mpeg4-resolution-change-down-down6
-rw-r--r--tests/ref/fate/mpeg4-resolution-change-down-up6
-rw-r--r--tests/ref/fate/mpeg4-resolution-change-up-down6
-rw-r--r--tests/ref/fate/mpeg4-resolution-change-up-up6
-rw-r--r--tests/ref/fate/utvideoenc_rgb_left7
-rw-r--r--tests/ref/fate/utvideoenc_rgb_median7
-rw-r--r--tests/ref/fate/utvideoenc_rgb_none7
-rw-r--r--tests/ref/fate/utvideoenc_rgba_left7
-rw-r--r--tests/ref/fate/utvideoenc_rgba_median7
-rw-r--r--tests/ref/fate/utvideoenc_rgba_none7
-rw-r--r--tests/ref/fate/utvideoenc_yuv420_left7
-rw-r--r--tests/ref/fate/utvideoenc_yuv420_median7
-rw-r--r--tests/ref/fate/utvideoenc_yuv420_none7
-rw-r--r--tests/ref/fate/utvideoenc_yuv422_left7
-rw-r--r--tests/ref/fate/utvideoenc_yuv422_median7
-rw-r--r--tests/ref/fate/utvideoenc_yuv422_none7
-rw-r--r--tests/ref/fate/vp8-sign-bias6
-rw-r--r--tests/ref/fate/vp8-size-change6
-rw-r--r--tests/ref/fate/vp8-test-vector-0016
-rw-r--r--tests/ref/fate/vp8-test-vector-0026
-rw-r--r--tests/ref/fate/vp8-test-vector-0036
-rw-r--r--tests/ref/fate/vp8-test-vector-0046
-rw-r--r--tests/ref/fate/vp8-test-vector-0056
-rw-r--r--tests/ref/fate/vp8-test-vector-0066
-rw-r--r--tests/ref/fate/vp8-test-vector-0076
-rw-r--r--tests/ref/fate/vp8-test-vector-0086
-rw-r--r--tests/ref/fate/vp8-test-vector-0096
-rw-r--r--tests/ref/fate/vp8-test-vector-0106
-rw-r--r--tests/ref/fate/vp8-test-vector-0116
-rw-r--r--tests/ref/fate/vp8-test-vector-0126
-rw-r--r--tests/ref/fate/vp8-test-vector-0136
-rw-r--r--tests/ref/fate/vp8-test-vector-0146
-rw-r--r--tests/ref/fate/vp8-test-vector-0156
-rw-r--r--tests/ref/fate/vp8-test-vector-0166
-rw-r--r--tests/ref/fate/vp8-test-vector-0176
-rw-r--r--tests/ref/fate/vp9-00-quantizer-006
-rw-r--r--tests/ref/fate/vp9-00-quantizer-016
-rw-r--r--tests/ref/fate/vp9-00-quantizer-026
-rw-r--r--tests/ref/fate/vp9-00-quantizer-036
-rw-r--r--tests/ref/fate/vp9-00-quantizer-046
-rw-r--r--tests/ref/fate/vp9-00-quantizer-056
-rw-r--r--tests/ref/fate/vp9-00-quantizer-066
-rw-r--r--tests/ref/fate/vp9-00-quantizer-076
-rw-r--r--tests/ref/fate/vp9-00-quantizer-086
-rw-r--r--tests/ref/fate/vp9-00-quantizer-096
-rw-r--r--tests/ref/fate/vp9-00-quantizer-106
-rw-r--r--tests/ref/fate/vp9-00-quantizer-116
-rw-r--r--tests/ref/fate/vp9-00-quantizer-126
-rw-r--r--tests/ref/fate/vp9-00-quantizer-136
-rw-r--r--tests/ref/fate/vp9-00-quantizer-146
-rw-r--r--tests/ref/fate/vp9-00-quantizer-156
-rw-r--r--tests/ref/fate/vp9-00-quantizer-166
-rw-r--r--tests/ref/fate/vp9-00-quantizer-176
-rw-r--r--tests/ref/fate/vp9-00-quantizer-186
-rw-r--r--tests/ref/fate/vp9-00-quantizer-196
-rw-r--r--tests/ref/fate/vp9-00-quantizer-206
-rw-r--r--tests/ref/fate/vp9-00-quantizer-216
-rw-r--r--tests/ref/fate/vp9-00-quantizer-226
-rw-r--r--tests/ref/fate/vp9-00-quantizer-236
-rw-r--r--tests/ref/fate/vp9-00-quantizer-246
-rw-r--r--tests/ref/fate/vp9-00-quantizer-256
-rw-r--r--tests/ref/fate/vp9-00-quantizer-266
-rw-r--r--tests/ref/fate/vp9-00-quantizer-276
-rw-r--r--tests/ref/fate/vp9-00-quantizer-286
-rw-r--r--tests/ref/fate/vp9-00-quantizer-296
-rw-r--r--tests/ref/fate/vp9-00-quantizer-306
-rw-r--r--tests/ref/fate/vp9-00-quantizer-316
-rw-r--r--tests/ref/fate/vp9-00-quantizer-326
-rw-r--r--tests/ref/fate/vp9-00-quantizer-336
-rw-r--r--tests/ref/fate/vp9-00-quantizer-346
-rw-r--r--tests/ref/fate/vp9-00-quantizer-356
-rw-r--r--tests/ref/fate/vp9-00-quantizer-366
-rw-r--r--tests/ref/fate/vp9-00-quantizer-376
-rw-r--r--tests/ref/fate/vp9-00-quantizer-386
-rw-r--r--tests/ref/fate/vp9-00-quantizer-396
-rw-r--r--tests/ref/fate/vp9-00-quantizer-406
-rw-r--r--tests/ref/fate/vp9-00-quantizer-416
-rw-r--r--tests/ref/fate/vp9-00-quantizer-426
-rw-r--r--tests/ref/fate/vp9-00-quantizer-436
-rw-r--r--tests/ref/fate/vp9-00-quantizer-446
-rw-r--r--tests/ref/fate/vp9-00-quantizer-456
-rw-r--r--tests/ref/fate/vp9-00-quantizer-466
-rw-r--r--tests/ref/fate/vp9-00-quantizer-476
-rw-r--r--tests/ref/fate/vp9-00-quantizer-486
-rw-r--r--tests/ref/fate/vp9-00-quantizer-496
-rw-r--r--tests/ref/fate/vp9-00-quantizer-506
-rw-r--r--tests/ref/fate/vp9-00-quantizer-516
-rw-r--r--tests/ref/fate/vp9-00-quantizer-526
-rw-r--r--tests/ref/fate/vp9-00-quantizer-536
-rw-r--r--tests/ref/fate/vp9-00-quantizer-546
-rw-r--r--tests/ref/fate/vp9-00-quantizer-556
-rw-r--r--tests/ref/fate/vp9-00-quantizer-566
-rw-r--r--tests/ref/fate/vp9-00-quantizer-576
-rw-r--r--tests/ref/fate/vp9-00-quantizer-586
-rw-r--r--tests/ref/fate/vp9-00-quantizer-596
-rw-r--r--tests/ref/fate/vp9-00-quantizer-606
-rw-r--r--tests/ref/fate/vp9-00-quantizer-616
-rw-r--r--tests/ref/fate/vp9-00-quantizer-626
-rw-r--r--tests/ref/fate/vp9-00-quantizer-636
-rw-r--r--tests/ref/fate/vp9-01-sharpness-16
-rw-r--r--tests/ref/fate/vp9-01-sharpness-26
-rw-r--r--tests/ref/fate/vp9-01-sharpness-36
-rw-r--r--tests/ref/fate/vp9-01-sharpness-46
-rw-r--r--tests/ref/fate/vp9-01-sharpness-56
-rw-r--r--tests/ref/fate/vp9-01-sharpness-66
-rw-r--r--tests/ref/fate/vp9-01-sharpness-76
-rw-r--r--tests/ref/fate/vp9-02-size-08x086
-rw-r--r--tests/ref/fate/vp9-02-size-08x106
-rw-r--r--tests/ref/fate/vp9-02-size-08x166
-rw-r--r--tests/ref/fate/vp9-02-size-08x186
-rw-r--r--tests/ref/fate/vp9-02-size-08x326
-rw-r--r--tests/ref/fate/vp9-02-size-08x346
-rw-r--r--tests/ref/fate/vp9-02-size-08x646
-rw-r--r--tests/ref/fate/vp9-02-size-08x666
-rw-r--r--tests/ref/fate/vp9-02-size-10x086
-rw-r--r--tests/ref/fate/vp9-02-size-10x106
-rw-r--r--tests/ref/fate/vp9-02-size-10x166
-rw-r--r--tests/ref/fate/vp9-02-size-10x186
-rw-r--r--tests/ref/fate/vp9-02-size-10x326
-rw-r--r--tests/ref/fate/vp9-02-size-10x346
-rw-r--r--tests/ref/fate/vp9-02-size-10x646
-rw-r--r--tests/ref/fate/vp9-02-size-10x666
-rw-r--r--tests/ref/fate/vp9-02-size-16x086
-rw-r--r--tests/ref/fate/vp9-02-size-16x106
-rw-r--r--tests/ref/fate/vp9-02-size-16x166
-rw-r--r--tests/ref/fate/vp9-02-size-16x186
-rw-r--r--tests/ref/fate/vp9-02-size-16x326
-rw-r--r--tests/ref/fate/vp9-02-size-16x346
-rw-r--r--tests/ref/fate/vp9-02-size-16x646
-rw-r--r--tests/ref/fate/vp9-02-size-16x666
-rw-r--r--tests/ref/fate/vp9-02-size-18x086
-rw-r--r--tests/ref/fate/vp9-02-size-18x106
-rw-r--r--tests/ref/fate/vp9-02-size-18x166
-rw-r--r--tests/ref/fate/vp9-02-size-18x186
-rw-r--r--tests/ref/fate/vp9-02-size-18x326
-rw-r--r--tests/ref/fate/vp9-02-size-18x346
-rw-r--r--tests/ref/fate/vp9-02-size-18x646
-rw-r--r--tests/ref/fate/vp9-02-size-18x666
-rw-r--r--tests/ref/fate/vp9-02-size-32x086
-rw-r--r--tests/ref/fate/vp9-02-size-32x106
-rw-r--r--tests/ref/fate/vp9-02-size-32x166
-rw-r--r--tests/ref/fate/vp9-02-size-32x186
-rw-r--r--tests/ref/fate/vp9-02-size-32x326
-rw-r--r--tests/ref/fate/vp9-02-size-32x346
-rw-r--r--tests/ref/fate/vp9-02-size-32x646
-rw-r--r--tests/ref/fate/vp9-02-size-32x666
-rw-r--r--tests/ref/fate/vp9-02-size-34x086
-rw-r--r--tests/ref/fate/vp9-02-size-34x106
-rw-r--r--tests/ref/fate/vp9-02-size-34x166
-rw-r--r--tests/ref/fate/vp9-02-size-34x186
-rw-r--r--tests/ref/fate/vp9-02-size-34x326
-rw-r--r--tests/ref/fate/vp9-02-size-34x346
-rw-r--r--tests/ref/fate/vp9-02-size-34x646
-rw-r--r--tests/ref/fate/vp9-02-size-34x666
-rw-r--r--tests/ref/fate/vp9-02-size-64x086
-rw-r--r--tests/ref/fate/vp9-02-size-64x106
-rw-r--r--tests/ref/fate/vp9-02-size-64x166
-rw-r--r--tests/ref/fate/vp9-02-size-64x186
-rw-r--r--tests/ref/fate/vp9-02-size-64x326
-rw-r--r--tests/ref/fate/vp9-02-size-64x346
-rw-r--r--tests/ref/fate/vp9-02-size-64x646
-rw-r--r--tests/ref/fate/vp9-02-size-64x666
-rw-r--r--tests/ref/fate/vp9-02-size-66x086
-rw-r--r--tests/ref/fate/vp9-02-size-66x106
-rw-r--r--tests/ref/fate/vp9-02-size-66x166
-rw-r--r--tests/ref/fate/vp9-02-size-66x186
-rw-r--r--tests/ref/fate/vp9-02-size-66x326
-rw-r--r--tests/ref/fate/vp9-02-size-66x346
-rw-r--r--tests/ref/fate/vp9-02-size-66x646
-rw-r--r--tests/ref/fate/vp9-02-size-66x666
-rw-r--r--tests/ref/fate/vp9-03-deltaq6
-rw-r--r--tests/ref/fate/vp9-03-size-196x1966
-rw-r--r--tests/ref/fate/vp9-03-size-196x1986
-rw-r--r--tests/ref/fate/vp9-03-size-196x2006
-rw-r--r--tests/ref/fate/vp9-03-size-196x2026
-rw-r--r--tests/ref/fate/vp9-03-size-196x2086
-rw-r--r--tests/ref/fate/vp9-03-size-196x2106
-rw-r--r--tests/ref/fate/vp9-03-size-196x2246
-rw-r--r--tests/ref/fate/vp9-03-size-196x2266
-rw-r--r--tests/ref/fate/vp9-03-size-198x1966
-rw-r--r--tests/ref/fate/vp9-03-size-198x1986
-rw-r--r--tests/ref/fate/vp9-03-size-198x2006
-rw-r--r--tests/ref/fate/vp9-03-size-198x2026
-rw-r--r--tests/ref/fate/vp9-03-size-198x2086
-rw-r--r--tests/ref/fate/vp9-03-size-198x2106
-rw-r--r--tests/ref/fate/vp9-03-size-198x2246
-rw-r--r--tests/ref/fate/vp9-03-size-198x2266
-rw-r--r--tests/ref/fate/vp9-03-size-200x1966
-rw-r--r--tests/ref/fate/vp9-03-size-200x1986
-rw-r--r--tests/ref/fate/vp9-03-size-200x2006
-rw-r--r--tests/ref/fate/vp9-03-size-200x2026
-rw-r--r--tests/ref/fate/vp9-03-size-200x2086
-rw-r--r--tests/ref/fate/vp9-03-size-200x2106
-rw-r--r--tests/ref/fate/vp9-03-size-200x2246
-rw-r--r--tests/ref/fate/vp9-03-size-200x2266
-rw-r--r--tests/ref/fate/vp9-03-size-202x1966
-rw-r--r--tests/ref/fate/vp9-03-size-202x1986
-rw-r--r--tests/ref/fate/vp9-03-size-202x2006
-rw-r--r--tests/ref/fate/vp9-03-size-202x2026
-rw-r--r--tests/ref/fate/vp9-03-size-202x2086
-rw-r--r--tests/ref/fate/vp9-03-size-202x2106
-rw-r--r--tests/ref/fate/vp9-03-size-202x2246
-rw-r--r--tests/ref/fate/vp9-03-size-202x2266
-rw-r--r--tests/ref/fate/vp9-03-size-208x1966
-rw-r--r--tests/ref/fate/vp9-03-size-208x1986
-rw-r--r--tests/ref/fate/vp9-03-size-208x2006
-rw-r--r--tests/ref/fate/vp9-03-size-208x2026
-rw-r--r--tests/ref/fate/vp9-03-size-208x2086
-rw-r--r--tests/ref/fate/vp9-03-size-208x2106
-rw-r--r--tests/ref/fate/vp9-03-size-208x2246
-rw-r--r--tests/ref/fate/vp9-03-size-208x2266
-rw-r--r--tests/ref/fate/vp9-03-size-210x1966
-rw-r--r--tests/ref/fate/vp9-03-size-210x1986
-rw-r--r--tests/ref/fate/vp9-03-size-210x2006
-rw-r--r--tests/ref/fate/vp9-03-size-210x2026
-rw-r--r--tests/ref/fate/vp9-03-size-210x2086
-rw-r--r--tests/ref/fate/vp9-03-size-210x2106
-rw-r--r--tests/ref/fate/vp9-03-size-210x2246
-rw-r--r--tests/ref/fate/vp9-03-size-210x2266
-rw-r--r--tests/ref/fate/vp9-03-size-224x1966
-rw-r--r--tests/ref/fate/vp9-03-size-224x1986
-rw-r--r--tests/ref/fate/vp9-03-size-224x2006
-rw-r--r--tests/ref/fate/vp9-03-size-224x2026
-rw-r--r--tests/ref/fate/vp9-03-size-224x2086
-rw-r--r--tests/ref/fate/vp9-03-size-224x2106
-rw-r--r--tests/ref/fate/vp9-03-size-224x2246
-rw-r--r--tests/ref/fate/vp9-03-size-224x2266
-rw-r--r--tests/ref/fate/vp9-03-size-226x1966
-rw-r--r--tests/ref/fate/vp9-03-size-226x1986
-rw-r--r--tests/ref/fate/vp9-03-size-226x2006
-rw-r--r--tests/ref/fate/vp9-03-size-226x2026
-rw-r--r--tests/ref/fate/vp9-03-size-226x2086
-rw-r--r--tests/ref/fate/vp9-03-size-226x2106
-rw-r--r--tests/ref/fate/vp9-03-size-226x2246
-rw-r--r--tests/ref/fate/vp9-03-size-226x2266
-rw-r--r--tests/ref/fate/vp9-05-resize6
-rw-r--r--tests/ref/fate/vp9-06-bilinear6
-rw-r--r--tests/ref/fate/vp9-09-lf_deltas6
-rw-r--r--tests/ref/fate/vp9-10-show-existing-frame6
-rw-r--r--tests/ref/fate/vp9-10-show-existing-frame26
-rw-r--r--tests/ref/fate/vp9-15-segkey_adpq6
-rw-r--r--tests/ref/fate/vp9-16-intra-only6
-rw-r--r--tests/ref/fate/vp9-2pass-akiyo6
-rw-r--r--tests/ref/fate/vp9-parallelmode-akiyo6
-rw-r--r--tests/ref/fate/vp9-segmentation-aq-akiyo6
-rw-r--r--tests/ref/fate/vp9-segmentation-sf-akiyo6
-rw-r--r--tests/ref/fate/vp9-tiling-pedestrian6
-rw-r--r--tests/ref/fate/vp9-trac38496
-rw-r--r--tests/ref/fate/vp9-trac43596
-rw-r--r--tests/ref/fate/vp9p1-04-yuv4226
-rw-r--r--tests/ref/fate/vp9p1-04-yuv4406
-rw-r--r--tests/ref/fate/vp9p1-04-yuv4446
-rw-r--r--tests/ref/fate/vp9p2-20-10bit-yuv4206
-rw-r--r--tests/ref/fate/vp9p2-20-12bit-yuv4206
-rw-r--r--tests/ref/fate/vp9p3-20-10bit-yuv4226
-rw-r--r--tests/ref/fate/vp9p3-20-10bit-yuv4406
-rw-r--r--tests/ref/fate/vp9p3-20-10bit-yuv4446
-rw-r--r--tests/ref/fate/vp9p3-20-12bit-yuv4226
-rw-r--r--tests/ref/fate/vp9p3-20-12bit-yuv4406
-rw-r--r--tests/ref/fate/vp9p3-20-12bit-yuv4446
-rw-r--r--tests/ref/fate/xvid-custom-matrix6
-rw-r--r--tests/ref/fate/xvid-idct6
297 files changed, 1497 insertions, 297 deletions
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 0e22d5d277..acbae84ffe 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 0e22d5d277..acbae84ffe 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 0e22d5d277..acbae84ffe 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 0e22d5d277..acbae84ffe 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 d97ad2f314..3486971ce6 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 0e22d5d277..acbae84ffe 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 47a62ecec3..8e7be8b2fc 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 1a736cf18e..5f576192cc 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 47a62ecec3..8e7be8b2fc 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 dffc587c90..a1994e7dfe 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 dffc587c90..a1994e7dfe 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 dffc587c90..a1994e7dfe 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 c122c6a99f..387b07e2ff 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 d653af8a62..e1169e1083 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 d653af8a62..e1169e1083 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 c122c6a99f..387b07e2ff 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 58c381c34f..44bc5a038a 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 d61048c70a..ef6a1130b3 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 72da52659a..a2a02e0212 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 b24c71780e..9f2877d3f7 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 b24c71780e..9f2877d3f7 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 150ab25f7b..39a9e7970a 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 150ab25f7b..39a9e7970a 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 150ab25f7b..39a9e7970a 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 211aee1bf2..e3ac859662 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 9309d8db74..b53a528b2c 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 9309d8db74..b53a528b2c 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 93ac17206e..27865d63e2 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 3f6b3cffea..ddf97c97df 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 2e613107ab..fdb42ff63c 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 ce43d325d4..92ea73d199 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 1ccc180874..ce7e1cb254 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 219c73d98d..bd0946f73a 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 4932bdd9d0..855c93dd8b 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 96c2bf4c08..2940ec00c9 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 02fcda502f..df53794965 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 37e56d8e9e..5236115c6a 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 36110c3ec7..0930cb7a1a 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 8d1bbcd240..ba812b6a79 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 f6adabe9d9..a1d200096a 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 3d4c22bd34..b1558d7f53 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 839766bf4d..403c807a4a 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 83e3cb48b7..eb3305d61a 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 1588b6d286..0cdab8d41a 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 b8e0b4109f..65f07289d1 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 ae79effe55..5a5f0edc91 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 21e15b53ba..c236c4cc09 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 7f9b58d967..f1606b3370 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 9da47a4b7f..35819745dd 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 8241aae26d..b3f4296bc0 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 bb97e219a3..5e785b7bf8 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 b503de84ef..36ffc0264d 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 f581c999fb..741b6d65fb 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 ef38aa88cd..4abaf68f50 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 55149b0c0a..3154a1a7fa 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 ffe3896fd4..1e03bad7c0 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 f7f5313b2d..6de548f5f6 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 3368c7074f..e1963a06b6 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 28c249cf96..49130434a1 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 a0cb441c9c..851ce7b8a2 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 0503c4e71e..00066a6b8d 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 f41f014588..02a1aa71eb 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 2feeb63413..74a71637d0 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 adf7235eaa..14b277378e 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 3de64b6d6f..27f728d812 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 e31e6e64d2..05b0f21ad9 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 689e24bd2b..72b16a029c 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 766c931029..5024bd6ab0 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 4da7ff3a84..4c35a357b4 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 0d3fbea2af..db0527e21f 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 e2afb9c82c..de1f54aa69 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 4d9b081869..59c497410d 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 09e62995da..6cc92f46d4 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 0c22157b47..a7e3043bb4 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 730a012826..df742fd8c1 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 0f2dd7ad33..ca544a9c7b 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 c6c128285e..d5de1881a3 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 cdc6ec5a42..619ce46076 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 f405cef92b..3bccbeae0a 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 bc5e86add8..42ae12b483 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 93e46a93a2..c3a7d7a430 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 0924f548c8..262978b30a 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 9213e9df81..c3dfd3da3a 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 80d1a6ca4b..e3a70fc5b6 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 e7ab21df7c..0cb48f3cd1 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 842ab6ed57..fdab5179d2 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 7478558416..ef45c9c5ea 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 3a5b1c1aa4..f66de6c417 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 baf3bc3e2a..60f7bc911a 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 2ba95e1fe6..3c25eded1b 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 81196881ed..06a973f6e9 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 0e949928c8..0fc00d1b4d 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 90533aad8c..3e6305e6fd 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 d16d1981a7..9ce2966b37 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 eccdfd6aa8..8e372179f2 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 70a76b39b3..00592e8609 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 d9308dc1d5..6b6ddc91d9 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 d2efd69d3a..93234babde 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 85919fc881..a17355eaeb 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 cc6eae780d..b0f56ef227 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 4f26b58216..8491c2f79e 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 4c9bf962ce..f9b8505d65 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 ef49c4e056..f93286c699 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 374c44e1bf..cbbc463d72 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 aa9c833e30..dc9bc3009f 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 820725ba61..23effea74e 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 4a39a13ff0..f43915d594 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 96e526f100..1e4fd74f97 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 9f61d330e3..7ae5444d9c 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 396a1a34f4..0241494b44 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 dc77394c12..2da4ea153d 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 667549cef6..bb7623e222 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 c7fbfbc247..b1f5293841 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 090ce6f3ea..b25e1c079e 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 130b5fa341..1d378f687c 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 5cb710590d..8155faad37 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 cb51f72112..166423b5e5 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 0bf90b4491..5e04899494 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 2604a533bb..444278baec 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 3403d1df1b..31e59fdc4b 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 f2cdc8ecc5..ca40c628b5 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 87ab57e6c4..8b65d84268 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 f3a14d13cc..e5bea451d8 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 784925db35..663bc5cb74 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 daa6f5d563..8d4178212c 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 0a48cf9100..676491aaaf 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 f1f6069896..44debaa04d 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 499b57eada..d506a0e733 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 2a10350790..2c339e0fe7 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 8ae9bd30d4..de3df905af 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 a4094623ad..5fee13add7 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 92aa67f049..877a5b184d 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 d17d3d65af..8ed9f1dbbd 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 d7765beb42..bebe71613b 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 02e6e16603..9017ca8568 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 51238c1966..ea2464af9a 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 e1af6f6206..79bff6ae0e 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 977095ff5d..d5393c38f2 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 c0cf715863..93dfb0ed16 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 2e52d32c5e..80c120ccd1 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 b2b5fda830..dc1ab3f70e 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 403a131c23..99cf18a0d6 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 01d8818dc4..a4001ded2b 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 d72aafc839..f143cd8551 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 8615d7b24b..308d229322 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 55ab620f5c..9ec35a45ce 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 bdcedbf971..7e4bc5b255 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 3226dfa0a8..24dafb8082 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 7aaa369d77..f52eb69657 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 5708cd3515..b23509a736 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 a60e36bf5b..7a4831e0c1 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 659d491ab7..ca0bcf271b 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 d4069c9be4..7f92d284f7 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 f5ec31cd89..c84d822bf6 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 950b04e652..a38aa2aaf3 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 04a5e7e2fe..77a05d5c69 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 f26965ac76..72b25d88b3 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 84e9b17189..bdf3207e52 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 8490e4e09e..f1424a7a3a 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 fb6f0c8cdd..f81f513969 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 fadce55939..018afe28f4 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 02a26762ab..98e5f6aedb 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 97e527fc7f..4fb287fb4f 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 63dbf24e1f..c5b9f4507f 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 f7d01022ec..b3dadde447 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 08aabcc889..18edef95ee 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 9323a14819..5949110fc3 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 a3a91b923b..bcd285790c 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 b90faf3298..58e690e761 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 b7bd74b845..37cabeb493 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 0f46da7aa8..60889d4a27 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 172422c884..1ec161f223 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 c400956d7b..f06a4d28d3 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 2df5adcf06..9a5783f612 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 f5f45fb20d..f5f0d1e679 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 4aac211548..400d9f35c8 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 2b302191fc..7d58c32eaa 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 e9de2ed48c..8493c91ef9 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 e1e00fdb8f..fa33b07035 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 c39c88d15e..f70c27ae8f 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 d036df1de5..f7c0615814 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 586918631c..0c35493f8d 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 a2ce10e9cb..edcfdf91e7 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 0c8dc673d7..5628876593 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 8c92b2de15..5a7f3c8b77 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 a9f804ef2e..956d2e3ea1 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 4bed149904..931d422f67 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 ac61f27f9e..98c88cec19 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 2bc9eb610e..af0a212826 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 e1e01eeae2..5e7046a394 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 046e7ee686..143ba2aebc 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 16cb5dd30d..67479f3806 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 427acca3fa..c7acad7166 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 a0f033ea67..88e29e0785 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 a8522729db..ea41f01128 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 418febe51f..c9d0c21ce2 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 d358bd6219..4bcd572c74 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 426f91b7e8..0b26c5aa99 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 8e0133a90f..0213fce72c 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 4bdc1bae57..f9ee10e43c 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 3b395dd213..1cb9bbd67d 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 14b9cb0ffa..20bfa780af 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 79bc91cdd4..012900f483 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 a89e10f9ed..cfd77d4de2 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 73aa4e7bc1..8560383e8d 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 293abad2a7..3d13960bcd 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 1c4156b31f..7ac30a57d5 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 294c7de628..fd65de0822 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 d0882e50fc..de59ee12fe 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 20f46ea570..4a406740b9 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 b1ffd8fbce..aee4445f0c 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 72488741a6..bcfde205cc 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 fb49188fb6..0e9d64cd5d 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 0ef318aa58..05c88ec484 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 2d02a4922f..75af98d1a4 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 f458f53cd9..9323e7c98c 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 176b9d9a38..b7c340f29b 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 371a874d2c..65e095e6df 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 95b2e0606a..9b0a76e1b2 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 1e2790afea..7c8878a00b 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 7cccf9b0e3..09d20b7e93 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 81136e6437..9fcbcd47e2 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 670d115af7..3326b236fa 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 fd375066c8..66ccd0b39c 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 d5806a1f6d..226e31a263 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 3f6ee8bfa5..be0ff5fd26 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 ea1cb0cff7..3622609ec3 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 7c459d2d70..c0d172ee8d 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 19a786cc71..760c59838e 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 dd7967dc94..d4bf47baf3 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 1af7c58b7c..f40fda9c38 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 d51ee967d9..1a7473ceee 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 f75e192200..513dbf45f0 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 af7cb9a6ac..5591e5117c 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 cc85d27053..590926515c 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 d51fcc616c..eda5a1f68a 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 0a36bd3372..1024fe8b89 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 6bc31f9be1..0572eeaf54 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 b06557f25c..377dd24058 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 84da7dda6c..486f8d2387 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 0943abf6f4..40d5d47228 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 b181224938..f7c58e2334 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 7bcbfdc390..fa50887fd8 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 7dbccf69fc..92f21657d6 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 70d64ea0d7..0d17a9ace3 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 7d9020cbe4..1e9c2848e3 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 a6813b48a1..28db1dbb98 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 c14d20cf99..b676c752f5 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 873525b4be..01f1093bf0 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 91e229e233..42924c5903 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 a77ac5f33b..0d271b2c3a 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 fa9f1580c3..bac0e9c6ab 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 1e1d22554b..17ebe8ad21 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 5563363e89..cfadeae5e0 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 1275e9e3e6..d8a25181be 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 39e082539c..f132875368 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 8fbc5b174c..a38d414c9d 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 3e212ac60d..ddf076e027 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 a925e1a1e5..58d8617d98 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 3c5945910d..d24dc4a544 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 610578b669..8183364fcd 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 874e595b78..a5a4ae7ae3 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 43d55b9802..f85bfb8d51 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 fe2c4770fb..dcb08526e5 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 b16c531956..7622f29a97 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 818038d9f0..b8a217ced6 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 cda6f99963..cdf1113db1 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 fa83e1de0d..e903e821bd 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 50d81cb7ab..425490efaf 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 88b3c43b77..5c291e7586 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 4a3cd09084..6b8823df12 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 b175195cba..77369f88cd 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 733a70ca9f..278395fdc3 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 6a2c904c9b..aeed44a168 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 b0fa669161..c93a09f301 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 f12db8b2eb..4e4adad9eb 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 1e8d280baf..a33e62e10e 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 2f32092100..59c5429a12 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 9668c54c7c..df3186679c 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 5c931b6fa6..deb5ac5b38 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 0fdb3f2620..08f1305a31 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 2915323e41..4b25a2914a 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 4d129b3be5..6d6584a4aa 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 cd271a79ed..0f50cffb03 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 59abfb002c..3340e74f40 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 0c28f36535..17c9f99929 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 e9559c6c6e..b7e5603fb0 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 297a178bec..535bd776d0 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 1ba0094146..e80859b760 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 5aaf0568cd..53d7e66c95 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 cd3f383cd1..8b5416eb98 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 ca218b84a4..8896186ad0 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 1a8a83b4fd..ed4af26c25 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 f6e4cf196e..60d5c58a4f 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 2e5322150d..9b3b163309 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 c00a24bbc1..32f629f32d 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 2fc93ee684..cdbba2fa27 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