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 15:33:51 +01:00
|
|
|
# FIXME dropped frames in this test because of coarse timebase
|
2012-10-18 17:48:14 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, CSCD) += fate-cscd
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-cscd: CMD = framecrc -i $(TARGET_SAMPLES)/CSCD/sample_video.avi -an -pix_fmt rgb24
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-10-18 17:48:14 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, DXTORY) += fate-dxtory
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-dxtory: CMD = framecrc -i $(TARGET_SAMPLES)/dxtory/dxtory_mic.avi
|
2012-01-01 19:55:21 +01:00
|
|
|
|
2014-04-23 18:15:13 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, FIC) += fate-fic-avi
|
|
|
|
fate-fic-avi: CMD = framecrc -i $(TARGET_SAMPLES)/fic/fic-partial-2MB.avi -an
|
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_FRAPS += fate-fraps-v0
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-fraps-v0: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/Griffin_Ragdoll01-partial.avi
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_FRAPS += fate-fraps-v1
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-fraps-v1: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/sample-v1.avi -an
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_FRAPS += fate-fraps-v2
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-fraps-v2: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/test3-nosound-partial.avi
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_FRAPS += fate-fraps-v3
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-fraps-v3: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/psclient-partial.avi -pix_fmt rgb24
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_FRAPS += fate-fraps-v4
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-fraps-v4: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/WoW_2006-11-03_14-58-17-19-nosound-partial.avi
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_FRAPS += fate-fraps-v5
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-fraps-v5: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-10-18 17:48:14 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, FRAPS) += $(FATE_FRAPS)
|
2012-01-11 13:42:17 +01:00
|
|
|
fate-fraps: $(FATE_FRAPS)
|
|
|
|
|
2015-03-16 14:09:50 +01:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, TDSC) += fate-tdsc
|
|
|
|
fate-tdsc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/tdsc/tdsc.asf -an -pix_fmt bgr24
|
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_TSCC += fate-tscc-15bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-tscc-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/oneminute.avi -t 15 -pix_fmt rgb24
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_TSCC += fate-tscc-32bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-tscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/2004-12-17-uebung9-partial.avi -pix_fmt rgb24 -an
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-10-18 17:48:14 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TSCC) += $(FATE_TSCC)
|
2012-01-11 13:42:17 +01:00
|
|
|
fate-tscc: $(FATE_TSCC)
|
|
|
|
|
2015-03-18 01:48:18 +01:00
|
|
|
FATE_TSCC2-$(CONFIG_AVI_DEMUXER) += fate-tscc2-avi
|
|
|
|
fate-tscc2-avi: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
|
|
|
|
|
|
|
|
FATE_TSCC2-$(CONFIG_MOV_DEMUXER) += fate-tscc2-mov
|
|
|
|
fate-tscc2-mov: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/rec.trec
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV-$(CONFIG_TSCC2_DECODER) += $(FATE_TSCC2-yes)
|
|
|
|
fate-tscc2: $(FATE_TSCC2-yes)
|
2013-03-18 15:59:05 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_VMNC += fate-vmnc-16bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-vmnc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/test.avi -pix_fmt rgb24
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_VMNC += fate-vmnc-32bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-vmnc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/VS2k5DebugDemo-01-partial.avi -pix_fmt rgb24
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-10-18 17:48:14 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VMNC) += $(FATE_VMNC)
|
2012-01-11 13:42:17 +01:00
|
|
|
fate-vmnc: $(FATE_VMNC)
|
|
|
|
|
|
|
|
FATE_ZMBV += fate-zmbv-8bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-zmbv-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/wc2_001-partial.avi -an -pix_fmt rgb24
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_ZMBV += fate-zmbv-15bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-zmbv-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_15bit.avi -pix_fmt rgb24 -t 25
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_ZMBV += fate-zmbv-16bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-zmbv-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_16bit.avi -pix_fmt rgb24 -t 25
|
2011-12-14 14:59:47 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_ZMBV += fate-zmbv-32bit
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-zmbv-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_32bit.avi -pix_fmt rgb24 -t 25
|
2012-01-11 13:42:17 +01:00
|
|
|
|
2012-10-18 17:48:14 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, ZMBV) += $(FATE_ZMBV)
|
2012-01-11 13:42:17 +01:00
|
|
|
fate-zmbv: $(FATE_ZMBV)
|