Mans Rullgard
f919cc7df6
fate: fix acodec/vsynth tests for make 3.81
...
GNU make 3.81 applies pattern rules in declaration order rather than
by stem length as in 3.82. This moves the more generic patterns above
the more specific ones such that they work with either make version.
Some of the vsynth patterns are also simplified a little.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
7263cd5544
fate: convert codec-regression.sh to makefile rules
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
47b5996bb0
fate: allow tests to specify unit size for psnr comparison
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
7e5880e0cb
fate: teach videogen/rotozoom to output a single raw video stream
...
This makes videogen/rotozoom output a raw video stream on stdout
if no output directory is specified.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Carl Eugen Hoyos
77cea13f05
Mark avui encoder experimental.
...
Some decoders require the AVID atom that we currently
do not write when encoding avui.
13 years ago
Michael Niedermayer
fcd08262fd
tests and tools: cleanup ffmpeg reference
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alexis Ballier
0bf90ceb84
Fix tests without fate samples.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
36f714f825
tests/lavfi: use do_lavfi_pixfmts for the pixdesctest test
...
Simplify, and as a side effect extend the number of supported formats, in
particular add a test for pal8.
13 years ago
Stefano Sabatini
52b23cbf1c
tests/lavfi: rework lavfi-regression.sh, avoid use of ffmpeg -pix_fmts
...
Use lavfi-showfiltfmts for checking the format supported by the scale
filter instead. The advantage is that the scale filter may support
formats which are not supported by libswscale (namely: the pal8 format).
The new implementation is also a bit cleaner, because it doesn't depend
on the ffmpeg output.
13 years ago
Stefano Sabatini
ad12e9e8c0
lavfi/hflip: copy palette data in start_frame()
...
Fix trac ticket #1116 .
13 years ago
Michael Niedermayer
2f6c5894f4
fate: update checksum after pal8 changes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
50858a64bf
Add Avid Meridien Uncompressed (AVUI) encoder.
13 years ago
Michael Niedermayer
a1bb0823a9
libavcodec: correct consumed bytes for decoders
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8258697c49
ivi_common: skip null frames for all indeo variants
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
6374ee72df
ffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1
...
The special-case behavior may complicate parsing when the
-show_format_entry option is used programmatically in a script.
The option default=nk=1 achieves the same purpose, if the objective is to
skip printing the single field key.
13 years ago
Mans Rullgard
4852cb37ce
fate: fix dependencies for non-SAMPLES avconv tests
...
The encode/decode tests should all depend on avconv. Since
avconv requires libavfilter, there is no need to enable those
tests selectively.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
68aef0b481
lavf: change some (de)muxer names to lowercase
...
This is consistent with other format names.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
63dcd16d56
fate: fix dependencies on SAMPLES being set
...
This allows fate to run without errors with or without SAMPLES
being set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
8ccc1c5975
fate: remove unnecessary libavfilter dependency
...
avconv now requires libavfilter so this dependency is redundant.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Clément Bœsch
fa29ca5f55
ffmpeg: resurrect -map_channel.
13 years ago
Michael Niedermayer
6ba692f8a7
af_aresample: fix rounding that led to sample accumulation in the buffers.
...
This fixes a regression that apparently was missed when switching to the
in af resampler
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
74b961db77
avconv: replace -vsync cfr code with the fps filter.
...
Invented timestamps for the h264 tests return to something resembling
sanity.
In the idroq-video-encode test when converting 25 fps -> 30 fps the
fifth frame gets duplicated instead of the sixth.
13 years ago
Anton Khirnov
755cd4197d
mov: enable parsing for VC-1.
...
This makes lavf discard broken timestamps for non-B frames in
samples/isom/vc1-wmapro.ism.
13 years ago
Diego Biurrun
1afc278994
fate: Set FUZZ factor of vorbis-13 test to 2.
...
This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.
13 years ago
Diego Biurrun
4cc8e15371
fate: Set FUZZ factor of (e)ac3-encode test to 3.
...
This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.
13 years ago
Nicolas George
c0c2424f73
fate: ffprobe tests require SAMPLES.
13 years ago
Mans Rullgard
ab5c38ec45
fate: remove unused code from regressions-funcs.sh
...
The only uses of the do_avconv_nomd5() function were removed in
85cf49f
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
847943bc51
aresample: add code to flush the internal swr buffer.
...
Inspired-by code from af_resample.c written by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
7d7b40f48a
pcmenc: set correct bitrate value
...
This fixes a bogus bitrate value in the header of WAV files with
alaw/ulaw audio.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
fc49f22c3b
ffmpeg: add support for audio filters.
...
Some of the FATE changes are due to off-by-one different rounding being used
(lrintf vs av_rescale_q).
Some fate changes are due to 1 audio frame less being encoded (the new variant seems
matching what qatar does and according to ffprobe its closer to the requested duration)
the mapchan feature sadly is lost in this commit because it depends on resampling
being done in ffmpeg.c which is now moved completely into the av filter layer
-async is broken after this commit, this will be fixed in subsequent commits
the new filter reconfiguration system is flawed and will drop a frame on each
parameter change which is why the nelly moser checksums need updating.
Conflicts:
ffmpeg.c
tests/ref/fate/smjpeg
13 years ago
Anton Khirnov
d894752387
avprobe: don't print format entry name when only one was requested
...
This is easier to parse with automated tools.
13 years ago
Martin Storsjö
6ce51a9b39
fate: Work around non-standard wc implementations at more places
...
This applies the same fix as in ed7409fe9d
for lavf-regressions.sh.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
ed7409fe9d
fate: work around non-standard wc implementations
...
On some systems, the wc command prints spaces before the first
number causing mismatches with the test references. Using the
output of wc as arguments to echo removes any extra whitespace.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
11e33402ca
fate: use standard diff options
...
diff -w is not a standard option. This fixes the reference files
to match what the tests actually output and switches to using the
standard diff -b which is sufficient to handle different line ending
styles.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
6d042f7989
fate: rename psx-str-v3-mdec to mdec-v3
...
This name better reflects that it is v3 of mdec that is tested.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
c68adc7b2f
fate: convert psx-str to a demuxer test
...
While these codecs are covered elsewhere, the container is different
from the other psx-str file.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0ff0af731c
fate: use diff -b in oneline comparison
...
This is simpler and should take care of any problems with mixed
line ending styles.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
b9777797be
mtv: make output endian independant
...
should fix fate-mtv test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
7abf789975
fate: make smjpeg a demux test
...
These codecs are covered elsewhere so make this a pure demux test.
Also rename it accordingly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
b1c1d7dae7
fate: separate sierra-vmd audio and video tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0b1c868508
fate: separate smacker audio and video tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
369cb092ec
avconv: add support for audio filters.
...
The FATE changes are all off-by-one due to different rounding being used
(lrintf vs av_rescale_q).
13 years ago
Mans Rullgard
7c6d240665
mtv: do not byteswap raw video in demuxer
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
09a35f251a
fate: westwood-aud: disable decoding
...
The codec (adpcm-ima-ws) is tested elsewhere. Using framecrc output
provides more information than a single md5 if something goes wrong.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
f70d91e268
fate: caf: disable decoding
...
This is intended as a demuxer test and the file contains pcm_s16be
audio which is tested elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
b809991a31
fate: film-cvid: drop pcm audio and rename test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0bbb330ee3
fate: d-cinema-demux: drop unnecessary flags
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
cd7b82c5d1
fate: split off dpcm-interplay from interplay-mve tests
...
These two files use the same audio codec so only one test for
this is needed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
838521e110
fate: rename funcom-iss to adpcm-ima-iss
...
This matches the name of the codec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
9656b7f2ae
fate: rename cryo-apc to adpcm-ima-apc
...
This matches the name of the tested codec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago