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 17:33:51 +03:00
|
|
|
# FIXME dropped frames in this test because of coarse timebase
|
2012-10-19 14:58:14 +03:00
|
|
|
FATE_SCREEN-$(call DEMDEC, AVI, CSCD) += fate-cscd
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-cscd: CMD = framecrc -i $(TARGET_SAMPLES)/CSCD/sample_video.avi -an -pix_fmt rgb24
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-10-19 14:58:14 +03:00
|
|
|
FATE_SCREEN-$(call DEMDEC, AVI, DXTORY) += fate-dxtory
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-dxtory: CMD = framecrc -i $(TARGET_SAMPLES)/dxtory/dxtory_mic.avi
|
2012-01-01 21:55:21 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_FRAPS += fate-fraps-v0
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-fraps-v0: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/Griffin_Ragdoll01-partial.avi
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_FRAPS += fate-fraps-v1
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-fraps-v1: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/sample-v1.avi -an
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_FRAPS += fate-fraps-v2
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-fraps-v2: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/test3-nosound-partial.avi
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_FRAPS += fate-fraps-v3
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-fraps-v3: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/psclient-partial.avi -pix_fmt rgb24
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_FRAPS += fate-fraps-v4
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-fraps-v4: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/WoW_2006-11-03_14-58-17-19-nosound-partial.avi
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_FRAPS += fate-fraps-v5
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-fraps-v5: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-10-19 14:58:14 +03:00
|
|
|
FATE_SCREEN-$(call DEMDEC, AVI, FRAPS) += $(FATE_FRAPS)
|
2012-01-11 15:42:17 +03:00
|
|
|
fate-fraps: $(FATE_FRAPS)
|
|
|
|
|
|
|
|
FATE_TSCC += fate-tscc-15bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-tscc-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/oneminute.avi -t 15 -pix_fmt rgb24
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_TSCC += fate-tscc-32bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-tscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/2004-12-17-uebung9-partial.avi -pix_fmt rgb24 -an
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-10-19 14:58:14 +03:00
|
|
|
FATE_SCREEN-$(call DEMDEC, AVI, TSCC) += $(FATE_TSCC)
|
2012-01-11 15:42:17 +03:00
|
|
|
fate-tscc: $(FATE_TSCC)
|
|
|
|
|
2013-03-18 17:59:05 +03:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TSCC2) += fate-tscc2
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-tscc2: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
|
2013-03-18 17:59:05 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_VMNC += fate-vmnc-16bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-vmnc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/test.avi -pix_fmt rgb24
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_VMNC += fate-vmnc-32bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-vmnc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/VS2k5DebugDemo-01-partial.avi -pix_fmt rgb24
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-10-19 14:58:14 +03:00
|
|
|
FATE_SCREEN-$(call DEMDEC, AVI, VMNC) += $(FATE_VMNC)
|
2012-01-11 15:42:17 +03:00
|
|
|
fate-vmnc: $(FATE_VMNC)
|
|
|
|
|
|
|
|
FATE_ZMBV += fate-zmbv-8bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-zmbv-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/wc2_001-partial.avi -an -pix_fmt rgb24
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_ZMBV += fate-zmbv-15bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-zmbv-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_15bit.avi -pix_fmt rgb24 -t 25
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_ZMBV += fate-zmbv-16bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-zmbv-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_16bit.avi -pix_fmt rgb24 -t 25
|
2011-12-14 16:59:47 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_ZMBV += fate-zmbv-32bit
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-zmbv-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_32bit.avi -pix_fmt rgb24 -t 25
|
2011-12-22 18:13:03 +03:00
|
|
|
|
2012-10-19 14:58:14 +03:00
|
|
|
FATE_SCREEN-$(call DEMDEC, AVI, ZMBV) += $(FATE_ZMBV)
|
2012-01-11 15:42:17 +03:00
|
|
|
fate-zmbv: $(FATE_ZMBV)
|
2012-01-20 04:14:54 +03:00
|
|
|
|
2012-09-29 06:41:32 +03:00
|
|
|
FATE_SCREEN += $(FATE_SCREEN-yes)
|
|
|
|
|
2012-05-20 01:25:36 +03:00
|
|
|
FATE_SAMPLES_FFMPEG += $(FATE_SCREEN)
|
2011-12-22 18:13:03 +03:00
|
|
|
fate-screen: $(FATE_SCREEN)
|