2012-12-01 18:31:25 +00:00
|
|
|
FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv
|
2012-01-03 12:56:42 +00:00
|
|
|
|
2012-12-01 18:31:25 +00:00
|
|
|
FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
|
2012-12-01 17:54:30 +00:00
|
|
|
|
2012-12-01 18:31:25 +00:00
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
|
2012-11-28 10:27:59 +00:00
|
|
|
fate-vp3: $(FATE_VP3-yes)
|
2012-01-11 12:42:17 +00:00
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
|
2011-12-14 21:22:33 +00:00
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp60
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6
|
2012-05-09 02:02:01 +00:00
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp61
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
|
2012-05-09 02:02:01 +00:00
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
|
2011-12-14 21:22:33 +00:00
|
|
|
|
2013-08-08 18:27:24 +00:00
|
|
|
FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a-skip_alpha
|
|
|
|
fate-vp6a-skip_alpha: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
|
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP6-$(call DEMDEC, FLV, VP6F) += fate-vp6f
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp6f: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/clip1024.flv
|
2011-12-14 21:22:33 +00:00
|
|
|
|
2013-02-13 21:51:48 +00:00
|
|
|
FATE_VP8-$(call DEMDEC, FLV, VP8) += fate-vp8-alpha
|
2013-05-29 02:17:29 +00:00
|
|
|
fate-vp8-alpha: CMD = framecrc -i $(TARGET_SAMPLES)/vp8_alpha/vp8_video_with_alpha.webm -vcodec copy
|
2013-02-13 21:51:48 +00:00
|
|
|
|
2014-08-29 10:27:10 +00:00
|
|
|
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest
|
2014-08-25 22:03:45 +00:00
|
|
|
fate-webm-dash-manifest: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video2.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio2.webm -c copy -map 0 -map 1 -map 2 -map 3 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1 id=1,streams=2,3" -
|
|
|
|
|
2014-08-29 10:27:10 +00:00
|
|
|
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-unaligned-video-streams
|
2014-08-25 22:03:45 +00:00
|
|
|
fate-webm-dash-manifest-unaligned-video-streams: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video3.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
|
|
|
|
|
2014-08-29 10:27:10 +00:00
|
|
|
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-unaligned-audio-streams
|
2014-08-25 22:03:45 +00:00
|
|
|
fate-webm-dash-manifest-unaligned-audio-streams: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio3.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
|
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_VP6-yes)
|
|
|
|
fate-vp6: $(FATE_VP6-yes)
|
2012-05-09 02:02:01 +00:00
|
|
|
|
2014-03-09 07:59:40 +00:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP7) += fate-vp7
|
|
|
|
fate-vp7: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -an
|
|
|
|
|
2010-08-04 18:47:20 +00:00
|
|
|
VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
|
|
|
|
|
|
|
|
define FATE_VP8_SUITE
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-test-vector$(2)-$(1)
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
|
2011-06-06 21:38:38 +00:00
|
|
|
fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1)
|
2010-08-04 18:47:20 +00:00
|
|
|
endef
|
|
|
|
|
2011-01-16 12:27:37 +00:00
|
|
|
define FATE_VP8_FULL
|
|
|
|
$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
|
2010-08-04 18:47:20 +00:00
|
|
|
|
rawenc: switch to encode2().
This changes a number of FATE results, since before this commit, the
timestamps in all tests using rawenc were made up by lavf.
In most cases, the previous timestamps were completely bogus.
In some other cases -- raw formats, mostly h264 -- the new timestamps
are bogus as well. The only difference is that timestamps invented by
the muxer are replaced by timestamps invented by the demuxer.
cscd -- avconv sets output codec timebase from r_frame_rate
and r_frame_rate is in this case some guessed number 31.42 (377/12),
which is not accurate enough to represent all timestamps. This results
in some frames having duplicate pts. Therefore, vsync 0 needs to be
changed to vsync 2 and avconv drops two frames. A proper fix in the
future would be to set output timebase to something saner in avconv.
nuv -- previous timestamps for video were wrong AND the cscd
comment applies, one frame is dropped.
vp8-signbias -- the file contains two frames with identical timestamps,
so -vsync 0 needs to be removed/changed to -vsync 2 and avconv drops one
frame.
vc1-ism -- apparrently either the demuxer lies about timestamps or the
file is broken, since dts == pts on all packets, but reordering clearly
takes place.
2012-02-01 14:33:51 +00:00
|
|
|
# FIXME this file contains two frames with identical timestamps,
|
2012-05-27 13:34:47 +00:00
|
|
|
# so ffmpeg drops one of them
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-sign-bias$(1)
|
2013-05-19 22:55:32 +00:00
|
|
|
fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(TARGET_SAMPLES)/vp8/sintel-signbias.ivf
|
2011-06-06 21:38:38 +00:00
|
|
|
fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
|
2012-03-26 18:53:10 +00:00
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_VP8-$(CONFIG_MATROSKA_DEMUXER) += fate-vp8-size-change$(1)
|
2013-05-29 02:17:29 +00:00
|
|
|
fate-vp8-size-change$(1): CMD = framemd5 $(2) -flags +bitexact -i $(TARGET_SAMPLES)/vp8/frame_size_change.webm -frames:v 30 -sws_flags bitexact+bilinear
|
2012-03-26 18:53:10 +00:00
|
|
|
fate-vp8-size-change$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change
|
2010-12-29 17:48:57 +00:00
|
|
|
endef
|
|
|
|
|
2011-01-16 12:27:37 +00:00
|
|
|
$(eval $(call FATE_VP8_FULL))
|
2013-10-16 14:42:24 +00:00
|
|
|
|
2012-11-28 10:27:59 +00:00
|
|
|
FATE_SAMPLES_AVCONV-$(CONFIG_VP8_DECODER) += $(FATE_VP8-yes)
|
|
|
|
fate-vp8: $(FATE_VP8-yes)
|
2013-10-01 03:03:30 +00:00
|
|
|
|
|
|
|
define FATE_VP9_SUITE
|
|
|
|
FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9$(2)-$(1)
|
|
|
|
fate-vp9$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-$(1).webm
|
|
|
|
fate-vp9$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9-$(1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
VP9_Q = 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
|
|
|
|
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \
|
|
|
|
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
|
|
|
|
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
|
|
|
VP9_SHARP = 1 2 3 4 5 6 7
|
|
|
|
VP9_SIZE_A = 08 10 16 18 32 34 64 66
|
|
|
|
VP9_SIZE_B = 196 198 200 202 208 210 224 226
|
|
|
|
|
|
|
|
define FATE_VP9_FULL
|
|
|
|
$(foreach Q,$(VP9_Q),$(eval $(call FATE_VP9_SUITE,00-quantizer-$(Q),$(1),$(2))))
|
|
|
|
$(foreach SHARP,$(VP9_SHARP),$(eval $(call FATE_VP9_SUITE,01-sharpness-$(SHARP),$(1),$(2))))
|
|
|
|
$(foreach W,$(VP9_SIZE_A),$(eval $(foreach H,$(VP9_SIZE_A),$(eval $(call FATE_VP9_SUITE,02-size-$(W)x$(H),$(1),$(2))))))
|
|
|
|
$(foreach W,$(VP9_SIZE_B),$(eval $(foreach H,$(VP9_SIZE_B),$(eval $(call FATE_VP9_SUITE,03-size-$(W)x$(H),$(1),$(2))))))
|
|
|
|
$(eval $(call FATE_VP9_SUITE,03-deltaq,$(1),$(2)))
|
|
|
|
$(eval $(call FATE_VP9_SUITE,2pass-akiyo,$(1),$(2)))
|
2014-02-06 22:52:17 +00:00
|
|
|
$(eval $(call FATE_VP9_SUITE,parallelmode-akiyo,$(1),$(2)))
|
2013-11-29 23:51:27 +00:00
|
|
|
$(eval $(call FATE_VP9_SUITE,segmentation-aq-akiyo,$(1),$(2)))
|
2014-02-06 22:52:18 +00:00
|
|
|
$(eval $(call FATE_VP9_SUITE,segmentation-sf-akiyo,$(1),$(2)))
|
2013-10-01 03:03:30 +00:00
|
|
|
$(eval $(call FATE_VP9_SUITE,tiling-pedestrian,$(1),$(2)))
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call FATE_VP9_FULL))
|
2013-10-01 03:03:30 +00:00
|
|
|
|
2013-10-01 03:03:30 +00:00
|
|
|
FATE_SAMPLES_AVCONV-$(CONFIG_VP9_DECODER) += $(FATE_VP9-yes)
|
|
|
|
fate-vp9: $(FATE_VP9-yes)
|