diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-01 18:33:51 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-09 00:51:24 +0400 |
commit | cd1ad18a6539bd7fc2dc4c1740fbcbd498c0c0a2 (patch) | |
tree | eb85df8829ca31607cf4a6b7093121043c493110 /tests/fate/screen.mak | |
parent | 38d553322891c8e47182f05199d19888422167dc (diff) |
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.
Diffstat (limited to 'tests/fate/screen.mak')
-rw-r--r-- | tests/fate/screen.mak | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak index b6d053b5f5..e6762ab6f9 100644 --- a/tests/fate/screen.mak +++ b/tests/fate/screen.mak @@ -1,5 +1,6 @@ +# FIXME dropped frames in this test because of coarse timebase FATE_TESTS += fate-cscd -fate-cscd: CMD = framecrc -i $(SAMPLES)/CSCD/sample_video.avi -an -vsync 0 -pix_fmt rgb24 +fate-cscd: CMD = framecrc -i $(SAMPLES)/CSCD/sample_video.avi -an -pix_fmt rgb24 FATE_TESTS += fate-dxtory fate-dxtory: CMD = framecrc -i $(SAMPLES)/dxtory/dxtory_mic.avi |