Reimar Döffinger
277f20c3c8
lavf: always call avio_flush in av_write_trailer.
...
Otherwise for muxers like e.g. latmenc that never call
avio_flush (and do not have a write_trailer function)
a part of the data will always be missing.
Also update references for the voc muxer, which was also
buggy before and did not write out all data.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Justin Ruggles
d3c59d5003
avconv: use default channel layouts when they are unknown
...
If either input or output layout is known and the channel counts match,
use the known layout for both. Otherwise choose the default layout based on
av_get_default_channel_layout().
Changed some FATE references due to some WAVE files now having a non-zero
channel mask.
13 years ago
Reimar Döffinger
7f66912f1a
Fix gif regression test on big-endian.
...
Decode output must be converted to rgb24 to avoid CRC difference
due to palette being stored in machine endianness.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
cabc0ac72f
Add gif and xbm regression tests.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
6458a08700
vf_scale: ensure the palette is set for output.
...
Since those are pseudo-palette formats, swscale does not write
into data[1], swscale must initialize the palette properly itself.
This lead to frames that actually decoded as all-gray before.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
ed68fd45d3
Add v408 codec regression test.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
c311afca0a
Add roqaudio regression test.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
a7b1420ca2
Update reference for disabled fate-wmv8-x8intra test to new format.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
58c25724b7
Add nellymoser "fuzzy" FATE test.
...
Since we cannot specify decode parameters (and also because
it is better in principle) the 1-channel reference file
needs to be enabled, too.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
e80ce4adea
Do not decode the mp3 data in lavf test since that is not bit-exact.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
82ca1f8004
Test mp3 container muxing (and thus ID3 writing).
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
cb25a186eb
Fix DCA regression test to work across architectures.
...
Only the decoding step is not bit-exact, so avoid checksum for that.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
10e3dd15a5
Remove AAC and nellymoser tests that do not work.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
796097c696
Add tests for audio encoders: aac, dca, ra144 and nellymoser.
...
The PSNR values are of varying usefulness, though at least
the DTS and AAC ones are useful with the right shift value.
Note: due to usage of floats some of these may fail on other
architectures.
In that case they should be converted into a CMD = stddev
FATE test, but it seems useful to try this way first.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
e3b7079ddf
adpcmenc: fix encoded s_0 value.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
50361e5144
Add regression test for mov rtp hinting.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
099a1875f0
dpxenc: also test 10 and 16 bit formats.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
9e91a7d45b
fix fate tests after 76c79aa28f
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
bfd30fa8a3
lavfi/colormatrix: add forgotten tests.
13 years ago
Ramiro Polla
bd603494f9
asfenc: properly write index information
...
The index must take into account the pre-roll time and must seek backwards,
not forwards.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ramiro Polla
ae315a6a38
asfenc: start at object 1 instead of 0
...
This is how it is done in the official muxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
6cecb8915a
Add forgotten avio-direct reference file.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Ronald S. Bultje
7756859a31
fate: add BMP tests.
13 years ago
Derek Buitenhuis
0aaa45ef69
FATE: Add RALF decoding test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
maxlazarov
7a3df014b9
The lt and lte functions were swapped.
13 years ago
Derek Buitenhuis
6bd9744582
FATE: Add RALF decoding test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d2a6074359
fate: update regression checksum due to 95ce0ddcfe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1dab5efa01
fate/vp8-size-change: set bitexact flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
e2e165c00f
FATE: add a test for vp8 with changing frame size.
13 years ago
Ronald S. Bultje
e74d6daa29
fate: add kgv1 fate test.
...
Tested to be bit-exact across x86-64, x86-32 and ppc.
13 years ago
Paul B Mahol
40821980ae
vf_hflip: accept PIX_FMT_RGB444 and PIX_FMT_BGR444 pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
added fate checksum update
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
7beec7e29d
fate: add wmalossless test.
13 years ago
Derek Buitenhuis
e9c0b12c2e
FATE: Add ZeroCodec test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Vidar Madsen
17431f4a4e
Fix type and codetype fields in the MMF header for some phones.
13 years ago
Nicolas George
53b7a3fe08
vf_pad: port to new drawutils API.
13 years ago
Justin Ruggles
b0f75ba272
mpegaudioenc: use AVCodec.encode2()
...
Update FATE references due to encoder delay.
13 years ago
Justin Ruggles
bb03b6f7b1
g722enc: use AVCodec.encode2()
...
FATE reference updated due timestamp rounding because of resampling from
44100 Hz to 16000 Hz in avconv.
13 years ago
Justin Ruggles
aa872af5e3
ac3enc: update to AVCodec.encode2()
...
Update FATE references due to encoder delay.
13 years ago
Michael Niedermayer
745a33a443
fate/zerocodec: fix permissions
...
Reported-by: Deamon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
9b9fc9ba32
avconv: pass input stream timestamps to audio encoders
...
5 FATE test references updated due to using demuxer-generated timestamps that
are either not sample-accurate or are slightly off in the input file.
13 years ago
Justin Ruggles
cd2ffb67ad
xa: fix timestamp calculation
...
The packet duration is always 28 samples.
13 years ago
Derek Buitenhuis
41bd3519b0
FATE: Add ZeroCodec test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
791d6df4ae
FATE: change fate-maxis-xa to a normal demuxing test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Paul B Mahol
b36872bdb6
FATE: add test for adpcm-ea-maxis-xa
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Ronald S. Bultje
c346f6304c
adpcm: fix nb_samples rounding for adpcm_ima_dk3, and update reference.
13 years ago
Justin Ruggles
85cf49fab7
FATE: remove WMA acodec tests
13 years ago
Wolfram Gloger
f8353d5fda
mpegvideo: don't pretend the first frame is always a key frame
...
Signed-off-by: Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
Modify the parser initialization so that parsers can
set pict_type themselves. Use this in the mpegvideo parser
so that initial frames are not unconditionally I frames.
I have had this in my tree for several years.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
92a02d935b
Add ffvhuff encoding and decoding regression test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Paul B Mahol
05e0061ef6
fate: add pam image regression test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Paul B Mahol
5a877d9530
FATE: add test for cdxl demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago