Commit Graph

1518 Commits

Author SHA1 Message Date
Kostya Shishkov
7c1f6df4b5 rmdec: correct DTS calculation in RealMedia container.
First, container stores only DTS and not PTS as it was believed.
Second, multiple frames in a packet store timestamp instead of position
after the frame length.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-17 15:00:42 +02:00
Anton Khirnov
6cd9d0f77d Revert "avconv: use stream copy by default when possible."
This reverts commit 4f4f33844a.

This commit has some ugly corner cases and needs to be discussed
further.
2011-08-16 20:59:14 +02:00
Anton Khirnov
4f4f33844a avconv: use stream copy by default when possible. 2011-08-16 20:24:20 +02:00
Anton Khirnov
64db1a82d6 lavc: add audio flag to the 'b' option, deprecate 'ab'.
Its only reason for its existence was ffmpeg's inability to properly assign
AVOptions to streams. Now this is not a problem anymore, so 'ab' should
go.
2011-08-16 06:20:43 +02:00
Anton Khirnov
f4ad238c6c avconv: rename sameq to same_quant
It's often mistakenly used as 'same quality', emphasize that it's not
true in the manual.
2011-08-16 06:19:08 +02:00
Ronald S. Bultje
28c1115a91 swscale: use 15-bit intermediates for 9/10-bit scaling. 2011-08-12 11:54:25 -07:00
Anton Khirnov
6291d7e416 Make a copy of ffmpeg under a new name -- avconv.
It will be further developed with a few incompatible changes.

ffmpeg.c will stay as is for some time, so any scripts using it won't be
broken.
2011-08-12 13:27:30 +02:00
Kostya Shishkov
b86ab38137 Add weighted motion compensation for RV40 B-frames
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-08-11 16:07:58 -07:00
Ronald S. Bultje
62ee0e6a97 Revert "swscale: use 15-bit intermediates for 9/10-bit scaling."
This reverts commit ac0fb59348. It
causes valgrind errors which I'll want to investigate before
resubmitting this.
2011-08-02 12:27:43 -07:00
Ronald S. Bultje
ac0fb59348 swscale: use 15-bit intermediates for 9/10-bit scaling. 2011-08-02 10:34:02 -07:00
Kostya Shishkov
6f7fe4723b Correct chroma vector calculation for RealVideo 3.
Old version divided it wrong, which resulted in chroma drift (visible on FATE
sample too as dirty trails left by clouds).

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-08-02 08:23:47 -07:00
Anton Khirnov
b4ea1c5a77 Remove the ffserver test.
It doesn't work and is therefore useless.
2011-08-01 11:36:16 +02:00
Mans Rullgard
4555874af1 dnxhd: add regression test for 10-bit
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-21 18:44:46 +01:00
Joseph Artsimovich
eedb1f2034 swscale: mark YUV422P10(LE,BE) as supported for output
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-21 02:10:31 +01:00
Mans Rullgard
b13c6e336c fate: make vsynth tests depend on only the relevant vref
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-18 18:46:57 +01:00
Mans Rullgard
0218808d49 fate: separate lavf-mxf_d10 test from lavf-mxf
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-17 16:30:49 +01:00
Jindrich Makovicka
575c38d76c mpegtsenc: set Random Access indicator on keyframe start packets
Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-13 20:49:26 +02:00
Diego Biurrun
191c5f8ff3 build: move tests/seek_test.c to libavformat and reuse generic build rules 2011-07-13 13:27:15 +02:00
Mans Rullgard
ca9036155d build: remove unnecessary FFLDFLAGS variable
This variable is set to the same value for all directories.
Adding the -L flags directly to LDFLAGS is simpler and achieves
the same thing.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-11 11:39:04 +01:00
Mans Rullgard
28e1c97916 build: rework rules for things in the tools dir
Declaring tools associated with each library in their respective
makefiles allows these tools to easily depend on the correct
prerequisites and link against the libs they need.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-10 21:13:38 +01:00
Anton Khirnov
18c007ba37 lavc: remove a half-working attempt at different defaults for audio/video codecs.
It should be replaced with proper per-codec defaults.
2011-07-10 17:08:58 +02:00
Ronald S. Bultje
7d7bacf0f1 swscale: fix overflow in 16-bit vertical scaling.
We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.
2011-07-08 15:15:30 -07:00
Ronald S. Bultje
f44d50a94c swscale: fix 16-bit horizontal scaling underflow.
When using e.g. lanczos scaling, values can drop below 0, so they
should never be unsigned.
2011-07-08 15:15:30 -07:00
Ronald S. Bultje
42d622fab3 swscale: fix 16-bit scaling when output is 8-bits.
We would use the second half of the U plane buffer, rather than the
V plane buffer, to output the V plane pixels.
2011-07-08 15:15:30 -07:00
Anton Khirnov
f5302e5dcf ffmpeg: deprecate loop_input and loop_output options
They were replaced by (de)muxer private options.
2011-07-08 19:58:19 +02:00
Diego Biurrun
bb83478d2c build: remove unused copy regression test script
The copy regression test script is unused, bash-specific and did
not even work properly when it was originally committed.
2011-07-07 22:47:24 +02:00
Anton Khirnov
5e8d2e337e lavf: deprecate AVStream.quality.
AVStream is no place for it and it's unused outside of ffmpeg anyway.
2011-07-06 20:10:41 +02:00
Ronald S. Bultje
dfd8116986 eval: add missing comma to tests. 2011-07-05 18:18:11 -07:00
Mans Rullgard
240c5d6f3b fate: test more FFT etc sizes
This tests sizes from 16 to 4096, not only the default 512.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-04 18:33:04 +01:00
Mans Rullgard
75a24bef4a iirfilter: add fate test
Change the test program to output text instead of binary files so
it can be compared easily in FATE.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-04 16:26:26 +01:00
Mans Rullgard
94350ab986 eval: clear Parser instances before using
This prevents random values from the stack being used as
"variables" in expressions.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-04 12:31:47 +01:00
Mans Rullgard
27e7144350 fate: add idct8x8 test
This tests the IDCT implementations available in the build.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-04 10:38:17 +01:00
Mans Rullgard
883fd9e393 eval: add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-04 10:26:24 +01:00
Mans Rullgard
84757de0f5 fate: add 'null' comparison method
Setting CMP=null uses stdout from the test as the diff record in
the report without further inspection.  This can be useful when
the exit status of the test itself determines success while the
output is informative.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-04 09:54:16 +01:00
Mans Rullgard
0ebcdf5cda Do not include mathematics.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 21:42:06 +01:00
Mans Rullgard
8b53755ebd md5: add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 18:19:18 +01:00
Mans Rullgard
14376a53b2 crc: add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 17:17:54 +01:00
Mans Rullgard
03256d96e4 fate: move libavutil test rules to a separate file
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 17:17:16 +01:00
Mans Rullgard
904b5d302d fate: add DES test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 13:41:31 +01:00
Alex Converse
29651e1d44 fate-aac: Expand coverage.
Add al05_44, al06_44, al17_44.
2011-07-01 10:14:14 -07:00
Ronald S. Bultje
8a8d0ce208 swscale: for >8bit scaling, read in native bit-depth.
For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain.
2011-07-01 09:08:26 -07:00
Diego Biurrun
bd9a9a2f18 build: Eliminate obsolete test targets.
The targets are now part of FATE and can be run as individual FATE targets.
2011-06-30 13:06:27 +02:00
Mans Rullgard
71f029146c base64: add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-30 09:47:32 +01:00
Mans Rullgard
744765a9c5 aes: improve test program and add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-30 09:47:32 +01:00
Mans Rullgard
f6252b4845 adler32: make test program more useful and add fate test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-30 09:47:32 +01:00
Mans Rullgard
0291ce840c fate: move amr[nw]b test rules into separate files
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-29 19:22:58 +01:00
Ronald S. Bultje
ef1ee362b3 swscale: implement >8bit scaling support.
This means that precision is retained when scaling between sample
formats with >8 bits per component (48bit RGB, 16bit grayscale,
9/10/16bit YUV).
2011-06-29 09:45:52 -07:00
Mans Rullgard
b0da4903dd fate: enable lavfi-pixmt tests on big endian systems
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28 23:35:00 +01:00
Mans Rullgard
842f463c77 fate: merge identical pixdesc_be/le tests
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28 21:31:42 +01:00
Ronald S. Bultje
618230c7f4 swscale: update big endian reference values after dff5a835. 2011-06-28 08:58:21 -07:00
Mans Rullgard
deb3ed01b5 build: replace some addprefix/addsuffix with substitution refs
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28 15:59:27 +01:00
Ronald S. Bultje
dff5a83532 swscale: re-add support for non-native endianness.
This works through some non-obvious hacks in utils.c.
2011-06-27 18:10:41 -07:00
Mans Rullgard
f038cf3c74 build: remove SRC_PATH_BARE variable
Setting SRC_PATH to "." when building in-tree removes the need
for a quoted version of the source path since out-of-tree builds
are not possible if the pathname contains spaces.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-23 12:17:25 +01:00
Mans Rullgard
698a183e30 build: move test rules to tests/Makefile
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-22 22:53:07 +01:00
Mans Rullgard
ea57502c82 fate: remove output redirections from old regtest scripts
All tests are run through the fate-run.sh script which already
sets up redirections.  Using the outputs set there simplifies
things somewhat.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-21 12:37:58 +01:00
Ronald Bultje
d42aaa802e error_resilience: actually add counter when adding a MV predictor.
Without, the predictor isn't actually used.
2011-06-20 22:18:23 +02:00
Anton Khirnov
8035f42968 ffmpeg: use new avformat_open_* API. 2011-06-16 20:24:57 +02:00
Anton Khirnov
7cbc2e60af codec-regression: remove pointless -r options for dnxhd 2011-06-16 10:56:45 +02:00
Anton Khirnov
d7ee44024c ffmpeg: don't abuse a global for passing samplerate from input to output
It's broken with multiple files or audio streams.

This removes the default samplerate of 44100 for raw input, hence all
the FATE changes.
2011-06-15 21:57:52 +02:00
Michael Niedermayer
0af8a71d66 swscale: fix JPEG-range YUV scaling artifacts.
YUV planes were marked as uint16_t, but they contained signed data.
Fixes issue 1108 and 675.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-06-14 09:46:49 -04:00
Alexander Strange
6a9c859444 H264/MPEG frame-level multi-threading.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-06-02 10:16:20 -07:00
Ronald S. Bultje
b51021da7b fate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs.
The sample on rsync was corrupt, this one is now bitexact w.r.t. JM.
2011-05-23 08:44:31 -04:00
Ronald S. Bultje
845807494b fate: update 9/10bit refs. 2011-05-23 08:21:50 -04:00
Mans Rullgard
6da57043ea fate: disable threading for encoding
This explicitly disables threading for encoding as slices are otherwise
automatically activated.  This should be dropped once option resetting
between files is fully implemented.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-20 13:50:52 +01:00
Mans Rullgard
5ffccc0056 fate: add comment field
This adds a comment field to the report header, suitable for
extra information not covered by the automatic fields.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-20 13:50:52 +01:00
Mans Rullgard
eb8da636af fate: allow overriding default build and install dirs
This is useful e.g. for building in a different filesystem than
where the source is kept.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-20 13:50:52 +01:00
Mans Rullgard
1a14a27603 fate: remove do_ffmpeg_nocheck function
This function is essentially an alias for run_ffmpeg and is only
used in one place.  This patch removes the function and replaces
the call with the equivalent (simpler) run_ffmpeg call.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-18 15:38:26 +01:00
Mans Rullgard
d4a7df423c fate: do not collect -benchmark output
The old regtest scripts pass -benchmark and collect the utime values.
As these values are never used, this machinery can be removed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-18 15:38:25 +01:00
Mans Rullgard
70378ea190 fate: run aref and vref as regular tests
These tests create reference files used for psnr calculation in
the other codec tests.  Treating them as (mostly) regular tests
simplifies the makefile and makes them visible in the fate reports.
The latter makes errors in these runs easier to identify.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-18 14:45:46 +01:00
Justin Ruggles
08e434b015 Add an aac sample which uses LTP to fate-aac. 2011-05-14 12:41:11 -04:00
Ronald S. Bultje
76f8a96e00 [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.
Also remove code that overwrites the C versions of functions in
sws_init_swScale_altivec(), so that it uses the C functions of files
if no altivec-optimized version exists.
2011-05-14 06:37:39 -04:00
Baptiste Coudurier
7e19a6e868 movenc: always write esds descriptor length using 4 bytes.
ipod shuffle doesn't support anything else.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-13 07:38:54 +02:00
Baptiste Coudurier
304e983dc7 movenc: fix yuv range in avid atoms used by dnxhd.
yuv range: full 1 / normal 2

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12 13:07:21 +02:00
Ronald S. Bultje
c8f487deae swscale: fix YUV420P 9/10bit support.
Fix handling of input if not in native endianness, and add support for
9/10-bit output. This allows us to force endianness of YUV420P 9/10bit
in the H264/10bit fate tests, which should fix them on big-endian
systems.
2011-05-11 19:15:14 -04:00
Diego Biurrun
e1e0ca70eb rotozoom: Eliminate French variable name. 2011-05-11 11:54:58 +02:00
Diego Biurrun
cbb0930f0e rotozoom: Check return value of fread().
This fixes the warnings:
tests/rotozoom.c:252: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
tests/rotozoom.c:254: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
2011-05-11 11:54:57 +02:00
Diego Biurrun
771339ca20 rotozoom: Return an error value instead of calling exit(). 2011-05-11 11:54:57 +02:00
Diego Biurrun
2131e8590c rotozoom: Make init_demo() return int and check for errors on invocation. 2011-05-11 11:54:57 +02:00
Diego Biurrun
5a37c12c82 rotozoom: Drop silly UINT8 typedef. 2011-05-11 11:54:57 +02:00
Diego Biurrun
e9c10459a3 rotozoom: Drop some unnecessary parentheses. 2011-05-11 11:54:57 +02:00
Diego Biurrun
f628559d9a rotozoom: K&R coding style cosmetics 2011-05-11 11:54:56 +02:00
Vitor Sessak
ecc297308f lavf/utils: fix ff_interleave_compare_dts corner case.
This should fix behavior introduced by commit
96573c0d76. Av_rescale_rnd() is not
lossless so if two timestamps are equal after being rescaled they are
not always actually identical. This patch use av_compare_ts() to get
always a correct result.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-10 07:53:19 -04:00
Ronald S. Bultje
23d10ce015 fate: add 10-bit H264 tests. 2011-05-10 07:24:41 -04:00
Mans Rullgard
ecfc5e0b72 regtest: fix wma tests
This adds $DEC_OPTS to the wma decode commands, making tests pass
on systems where the bitexact flag is needed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-09 12:48:18 +01:00
Mans Rullgard
eeadaa6bc0 regtest: separate flags for encoding and decoding
This separates encoding and decoding flags, and passes them together
with the related file argument instead of all at the start of the
command line.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-09 10:12:39 +01:00
Mans Rullgard
fc7314b31c regtest: remove redundant flags in jpg test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-08 10:58:51 +01:00
Mans Rullgard
765f72f8c4 regtest: use run_ffmpeg in do_image_formats
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-08 10:58:46 +01:00
Mans Rullgard
2728fd9053 regtest: simplify encoding functions
The video encoding options were needlessly split in two parameters
which are merged.  The do_audio_encoding function did not use its
second argument, so this can be removed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-08 10:58:32 +01:00
Ronald S. Bultje
7d2e03afc8 vc1: make overlap filter for I-frames bit-exact. 2011-05-04 07:40:53 -04:00
Anssi Hannula
7c152a458d lavf: inspect more frames for fps when container time base is coarse
As per issue2629, most 23.976fps matroska H.264 files are incorrectly
detected as 24fps, as the matroska timestamps usually have only
millisecond precision.

Fix that by doubling the amount of timestamps inspected for frame rate
for streams that have coarse time base. This also fixes 29.970 detection
in matroska.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 78431098f9)

Tested with mplayer based on this report
http://thread.gmane.org/gmane.comp.video.mplayer.user/66043/focus=66063

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-04-29 22:46:13 +02:00
Diego Biurrun
03acaa4a43 tests: Remove disabled code. 2011-04-29 18:08:46 +02:00
Anton Khirnov
f8fec05052 mpegtsenc: make PMT PID really start on pmt_start_pid 2011-04-28 07:26:40 +02:00
Peter Ross
c90626b2ea hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-28 07:25:27 +02:00
Peter Ross
a1f4d07563 crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-28 07:25:27 +02:00
Peter Ross
1afbae100b libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-28 07:25:27 +02:00
Justin Ruggles
79ee8977c2 ac3enc: correct the flipped sign in the ac3_fixed encoder 2011-04-26 17:19:37 -04:00
Ronald S. Bultje
3283f274fd FATE: allow forcing thread-type when doing threaded fate runs.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-21 19:36:45 -04:00
Diego Biurrun
d11818eff4 Remove now obsolete references to _g-suffixed binaries.
Automatic stripping of binaries was removed in commit e0be794
and the _g binaries disappeared along with it.
2011-04-18 23:55:11 +02:00
Diego Biurrun
fd0c3403f6 Update regtest checksums after revision 6001dad.
The string "FFmpeg" was replaced by "Libav" in metadata that
got encoded in file headers.
2011-04-17 22:46:42 +02:00
Vitor Sessak
96573c0d76 lavf/utils.c: Order packets with identical PTS by stream index.
This allows for more reproducible results when using multi-threading.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-12 19:06:26 -04:00
Anton Khirnov
9181976348 matroskaenc: don't write an empty Cues element. 2011-04-07 18:11:24 +02:00
Janne Grunau
0ba832231d fate: add AAC LATM test 2011-04-06 20:55:58 +02:00
Justin Ruggles
e05a3ac713 ac3enc: select bandwidth based on bit rate, sample rate, and number of
full-bandwidth channels.

This reduces high-frequency artifacts and improves the quality of the lower
frequency audio at low bit rates.
2011-04-03 20:59:14 -04:00
Mans Rullgard
79997def65 ac3enc: use generic fixed-point mdct
This makes the AC3 encoder use the shared fixed-point MDCT rather
than its own implementation.  The checksum changes are due to
different rounding in the MDCT.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-04-03 19:01:53 +01:00
Mans Rullgard
5085a1a068 fate: simplify fft test rules
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-04-01 20:53:19 +01:00
Mans Rullgard
b41a108914 fate: add fixed-point fft/mdct tests
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-04-01 15:16:06 +01:00
Ronald S. Bultje
c56e618b4b Split fate-psx-str-v3 into a video-only and audio-only test. 2011-03-26 16:39:22 -04:00
Justin Ruggles
e6e9823488 Add apply_window_int16() to DSPContext with x86-optimized versions and use it
in the ac3_fixed encoder.
2011-03-22 21:08:30 -04:00
Luca Barbato
a96c176aed fate: simplify regression-funcs.sh
Factor ffmpeg calls using run_ffmpeg()
2011-03-23 01:17:20 +01:00
Luca Barbato
7851eb68c6 fate: add support for multithread testing
Add a THREADS variable to fate calls.
2011-03-23 01:17:20 +01:00
Mans Rullgard
2a569799a9 fate: update wmv8-drm reference
This updates the wmv8-drm reference after c47d383.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-22 11:07:46 +00:00
Ronald S. Bultje
c47d383502 vc1: make P-frame deblock filter bit-exact. 2011-03-21 21:28:17 -04:00
Mans Rullgard
5a15602a4e fate: remove stale fate-update.sh script
This script was used to import Mike's old fate database and
is no longer needed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:35:52 +00:00
Mans Rullgard
2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Janne Grunau
faa6f1c306 get rid of the last svn mentions 2011-03-18 21:57:38 +01:00
Mans Rullgard
487fef2dcc asf: update seek test reference
This updates the seek test reference to match de11ee9.  Before this
change, most of the seeks requested positions before the supposed
start of the file (the preroll time), resulting in the first packet
being returned.  With the preroll subtracted, some of these seeks
will land within the file and some beyond the end, thus returning
a different set of packets.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-17 19:51:28 +00:00
Justin
323e6fead0 ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.
This increases the accuracy of coefficients, leading to improved quality.
Rescaling of the coefficients to full 25-bit accuracy is done rather than
offsetting the exponent values. This requires coefficient scaling to be done
before determining the rematrixing strategy. Also, the rematrixing strategy
calculation must use 64-bit math to prevent overflow due to the higher
precision coefficients.
2011-03-14 08:45:26 -04:00
Peter Ross
e211e255aa bink: prevent overflows within binkidct by using int-sized intermediate array
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-25 15:24:35 -05:00
Justin Ruggles
1108f8998c vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.
There is no need to expand to 16-bits. Just use memcpy() to copy the raw data.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-23 21:52:51 -05:00
Justin Ruggles
9b73f78600 vmdaudio: output audio samples for standalone silent blocks.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-23 21:04:51 -05:00
Justin Ruggles
5b54d4b376 ac3enc: fix bug in stereo rematrixing decision.
The rematrixing strategy reuse flags are not reset between frames, so they
need to be initialized for all blocks, not just block 0.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-16 23:39:57 +00:00
Justin Ruggles
50d7140441 ac3enc: change default floor code to 7.
This is to match the value in every (E-)AC-3 file from commercial sources.
It has a negligible effect on audio quality.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15 21:40:42 +00:00
Baptiste Coudurier
646739a0a8 Fix qtrle regression test, actually test qtrle.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-11 23:47:09 +00:00
Justin Ruggles
c3beafa0f1 ac3enc: Change EXP_DIFF_THRESHOLD to 500.
This patch changes the exponent difference threshold in the exponent
strategy decision function of the AC-3 encoder.  I tested lowering in
increments of 100.  From 1000 down to 500 generally increased in quality
with each step, but 400 was generally much worse.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-02 20:00:43 +00:00
Mans Rullgard
79dca23dc2 Update mpegts test reference
The output was changed by a7827a17c6.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-28 17:02:54 +00:00
Georgi Chorbadzhiyski
535638b55f mpegtsenc: set reserved bits to 1 in PCR field
The reserved bits between PCR base and extension fields must be
set to 1.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-26 00:02:42 +00:00
Mans Rullgard
e63dd5fb04 fate: add h264 test for extreme cases in planar prediction
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-24 22:26:13 +00:00
Mans Rullgard
76edf2c137 fate: add lossless h264 test
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-22 03:08:21 +00:00
Mans Rullgard
f4b1e21a63 fate: make lavfi tests output only md5
Instead of saving huge raw files, use the md5: output pseudo-protocol
to calculate the checksum of the file directly.  This is especially
useful when testing on remote targets as it avoids transferring 3.6GB
over the network.
2011-01-22 00:30:12 +00:00
Justin Ruggles
a4f5af13fb Add regression test for stereo s16le in voc.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-19 12:51:42 +00:00
Mans Rullgard
3240b371f8 fate: simplify vp8 rules 2011-01-18 20:48:24 +00:00
Mans Rullgard
ee6184a8d9 regtest: add openssl to md5 alternatives 2011-01-18 20:48:24 +00:00
Janne Grunau
2c3589bfda consolidate .gitignore patters into a single file
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-18 21:32:05 +01:00
Janne Grunau
348b8218f7 convert svn:ignore properties to .gitignore files
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-17 15:50:14 +01:00
Baptiste Coudurier
90603f7c93 Update smc fate ref due to r26310
Originally committed as revision 26342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-14 22:32:26 +00:00
Justin Ruggles
dc7e07ac1f Add stereo rematrixing support to the AC-3 encoders.
This improves the audio quality significantly for stereo source with both the
fixed-point and floating-point AC-3 encoders.
Update acodec-ac3_fixed and seek-ac3_rm test references.

Originally committed as revision 26271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-08 23:21:17 +00:00
Vitor Sessak
87c1410d11 Add a FATE test for Playstation STR version 3
Originally committed as revision 26231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 19:53:16 +00:00
Justin Ruggles
6fd96d1a85 Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-04 11:53:44 +00:00
Vitor Sessak
815495f040 Remove the "-idct simple" command line option from the fate-psx-str test,
it should not be necessary anymore.

Originally committed as revision 26198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 12:42:49 +00:00
Justin Ruggles
ec44dd5fc2 Change the default dB-per-bit code from 2 to 3.
This gives slightly better quality in PEAQ tests.
Code 3 gives a dBpb value of 2816 = -132dB (128 psd units = -6dB), which
corresponds to 22 bits. Since the exponents have an offset applied, the
16-bit source looks like 24-bit source to the bit allocation routine.
So using dBpb code=3 is a closer match to the exponent range.

Regression test refs updated for acodec-ac3, lavf-rm, and seek-ac3_rm.

Originally committed as revision 26144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 19:17:22 +00:00
Luca Barbato
8d660f7527 Make fate vp8 test cover emu_edge cases
Originally committed as revision 26134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 17:48:57 +00:00
Aurelien Jacobs
2c77c90684 add SubRip decoder
Originally committed as revision 26119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-28 23:52:53 +00:00
Stefano Sabatini
b567020943 Add copy filter, useful for testing the avfilter_draw_slice() copy
code.

Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-28 01:01:09 +00:00
Justin Ruggles
295ab2af6e Change FIX15() back to clipping to -32767..32767.
This avoids a 16-bit overflow in mdct512() due to a -32768 value in costab.
References updated for acodec-ac3, lavf-rm, and seek-ac3_rm tests.
Thanks to Måns Rullgård for finding the bug.

Originally committed as revision 26071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-21 21:18:58 +00:00
Vitor Sessak
90ca26e121 Increase STDDEV tolerance for the fate-amrwb-14k25 test so it pass in
x86_64 boxes.

Originally committed as revision 26064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-20 22:01:48 +00:00
Vitor Sessak
9c32023f5b Add AMR-WB FATE tests
Originally committed as revision 26063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-20 21:35:18 +00:00
Reimar Döffinger
eb066a4ce9 Discard partial packet of last frame for fate-wmv8-drm to avoid test fails
due to VC-1 decoder overreads resulting in different output.

Originally committed as revision 26055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-18 23:11:31 +00:00
Reimar Döffinger
853395b913 Add test for ASF -cryptokey that tests only demuxing, but both audio and video
to complement the existing video-only decode test.

Originally committed as revision 26054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-18 16:06:56 +00:00
Reimar Döffinger
bf09a01981 Change ASF demuxer to return incomplete last packets.
Whether the behaviour for streams using scrambling makes sense
is unclear.

Originally committed as revision 26053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-18 13:18:52 +00:00
Justin Ruggles
8c634b707b Update the test references for lavf-rm and seek-ac3_rm.
The references changed due to r25956.

Originally committed as revision 26004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-14 16:14:52 +00:00
Justin Ruggles
918cd2255c Simplify fix15().
Turn it into 2 macros, and use av_clip_int16() and lrintf().
This matches the int16 to float sample conversion in audioconvert.c.
The regression test output is different due to lrintf() rounding.

Originally committed as revision 25956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-14 14:51:02 +00:00
Michael Chinen
475ae04a27 Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

Originally committed as revision 25914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 14:50:50 +00:00
Carl Eugen Hoyos
ad556addfd Fix h264-conformance-frext-frext_mmco4_sony_b conformance test.
This includes a revert of r25840

Originally committed as revision 25842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-29 10:35:57 +00:00
Baptiste Coudurier
79561f0ed4 Update fate h264 test due to r25824, this file has 2 frames delay
Originally committed as revision 25840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-28 23:09:30 +00:00
Baptiste Coudurier
9d9c3e1a70 Make DNxHD encoder produce files that are strictly VC-3 compatible
Originally committed as revision 25756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-16 01:00:55 +00:00
Vitor Sessak
bad1117b8c Add AMR-NB FATE tests
Originally committed as revision 25750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-14 09:35:51 +00:00
Vitor Sessak
4aa826e994 Add Musepack7 FATE test
Originally committed as revision 25749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-14 09:34:55 +00:00
Vitor Sessak
bbf07bf9b8 Remove now unused file (should have been part of commit r25735)
Originally committed as revision 25736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-12 20:15:36 +00:00
Vitor Sessak
c51722bf97 Test 4XM decoding (and not only demuxing) in FATE tests
Originally committed as revision 25735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-12 20:04:41 +00:00
Reimar Döffinger
e61bb0852f Add test for cropping of interlaced H.264.
Originally committed as revision 25677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-04 21:48:54 +00:00
Reimar Döffinger
9fc2b70826 Update 24 bpp TM1 reference for decoder fixes.
Originally committed as revision 25664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-03 18:13:09 +00:00
Michael Niedermayer
94bdb1f80c Avoid negative SCR in mpeg ps muxer.
Fixes a scr issue reported with dvdauthor ([FFmpeg-user] FFMPEG encoded MPEG-2 video causes error in DVDAuthor)

Originally committed as revision 25512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-16 21:31:31 +00:00
Alexander Strange
e4dccc0d59 Update rv30 FATE reference after last commit
The rm demuxer has timestamp bugs, so this test is sensitive to changes in
timestamp correction. The previous commit did not make output any better or worse
on this test, just different.

See https://roundup.ffmpeg.org/issue2288 for details.

Originally committed as revision 25432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 02:20:02 +00:00
Baptiste Coudurier
a7ba165a0c Update gxf regression tests because of r25399
Originally committed as revision 25400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:37:37 +00:00
Reuben Martin
ad4c3c6840 In gxf muxer, fix flt entry offset, patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:15:35 +00:00
Michael Niedermayer
9b272e3274 Init SCR in mpeg muxer based on first DTS.
This fixes issues if the first DTS is far away from 0.

Originally committed as revision 25383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 00:32:22 +00:00
Reimar Döffinger
f71abdbbd7 Remove pointless -vn option, the file has no video stream.
Originally committed as revision 25314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-02 10:00:48 +00:00
Reimar Döffinger
01e4b67598 Rename fate-gsm test to the more accurate fate-gsm-ms
and add a test for regular GSM as fate-gsm.

Fixes a 8kHz sample from issue 113.

Originally committed as revision 25313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-02 09:56:21 +00:00
Måns Rullgård
8c067b5dfd Update rv20 seek test reference
Originally committed as revision 25204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 09:02:51 +00:00
Michael Niedermayer
53eb458a72 Fix rv20 encoding so the binary decoder can decode it.
Originally committed as revision 25203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 01:56:48 +00:00
Stefano Sabatini
75b67a8a99 Make the crop filters accept parametric expressions.
Originally committed as revision 25185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 01:18:43 +00:00
Stefano Sabatini
2bc05d3547 Change the syntax of the crop filter from x:y:w:h to w:h:x:y.
Slightly more intuitive and required by a pending changes for making
the filter parametric.

Originally committed as revision 25184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 23:14:01 +00:00
Måns Rullgård
c4795e8069 fate: print commands being executed with V=1
Originally committed as revision 25161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-23 09:55:31 +00:00
Justin Ruggles
6c834328b9 Allow audiogen to take commandline parameters for sample rate and number of
channels.

Originally committed as revision 25127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-15 21:36:04 +00:00
Justin Ruggles
c7d89948a3 Set a constant frame size for encoding G.726 audio.
Originally committed as revision 25107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-11 19:52:09 +00:00
Martin Storsjö
fe5f761ab6 Add a FATE test for the G.722 decoder
Originally committed as revision 25104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-11 10:23:02 +00:00
Måns Rullgård
69a9c80bed fate: delete log files ahead of each run
Originally committed as revision 25025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-02 15:39:44 +00:00
Vitor Sessak
82c76ceee7 QTRLE regtest
Originally committed as revision 25017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-01 12:38:36 +00:00
Vitor Sessak
4b7539f1cd SHA fate test
Originally committed as revision 25013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 20:07:38 +00:00
Vitor Sessak
6b85316bd2 Test decoding in fate-lavf-gif
Originally committed as revision 25012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 17:55:31 +00:00
Vitor Sessak
f5d4fc43bb PNG image regression testing
Originally committed as revision 25011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 17:53:48 +00:00
Vitor Sessak
d81db9c7d1 Add RealVideo 3 FATE test
Originally committed as revision 25008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:15:04 +00:00
Vitor Sessak
61f89303c0 10l, add flags forgotten in last commit
Originally committed as revision 25007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:14:15 +00:00
Vitor Sessak
3e41fc623c Add Apple MJPEG-B decoder FATE test
Originally committed as revision 25006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:13:14 +00:00
Vitor Sessak
506c47a48e Add FATE test for ScummVM DXA flavor
Originally committed as revision 25005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:11:25 +00:00
Vitor Sessak
2d0cdf3cc0 Add fate test for Westwood SND1 codec
Originally committed as revision 24957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 14:51:51 +00:00
Vitor Sessak
0a24503d04 Remove CCITT fax G4 tests (partial revert of r24954). This test is
corrupting memory somehow and segfaulting in the BSDs.

Originally committed as revision 24956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 14:45:51 +00:00
Vitor Sessak
3b619cab31 CCITT Fax Group compression fate tests
Originally committed as revision 24954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 11:46:03 +00:00
Måns Rullgård
74c847e098 fate: build with --enable-gpl
Originally committed as revision 24930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25 18:37:38 +00:00
Vitor Sessak
4574b815cc VP3 fate test
Originally committed as revision 24928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25 17:23:38 +00:00
Vitor Sessak
d21caa952c Renderware TeXture Dictionary FATE test
Originally committed as revision 24911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 20:48:58 +00:00
Måns Rullgård
078ae66b4b fate: set LC_ALL=C to avoid locale interference
Originally committed as revision 24889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 17:34:08 +00:00
Vitor Sessak
1ee39ebde2 BinkAudio FATE tests
Originally committed as revision 24888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 16:41:25 +00:00
Vitor Sessak
c4ab519e00 Make "-fs ss" mean "make output file of size equals or less than ss"
instead of current "make output file of size less than ss".

Also use it to make MP3 tests more readable (using -fs xxx where xxx is
the requested output size, not something slightly lower).

Originally committed as revision 24884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 14:46:59 +00:00
Vitor Sessak
1c10978086 fix fate breakage, 10l to me (too much copy and pasting)
Originally committed as revision 24881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 12:27:27 +00:00
Vitor Sessak
680aefa2fe MP3 float decoder FATE tests
Originally committed as revision 24880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 12:17:03 +00:00
Vitor Sessak
07862680b5 Add FATE test for WMV8 DRM
Originally committed as revision 24874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 11:46:55 +00:00
Reimar Döffinger
620918e4bf Add truemotion1 tests.
Originally committed as revision 24872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 04:45:36 +00:00
Måns Rullgård
b56a9c8eef fate: remove unused variable in fate.sh
Originally committed as revision 24870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 15:20:07 +00:00
Måns Rullgård
715e9be267 fate: remove pointless fate/fate2 separation
Originally committed as revision 24868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 14:24:58 +00:00
Måns Rullgård
8226e9779d fate: allow specifying relative path to config file in fate.sh
Originally committed as revision 24866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 11:53:02 +00:00
Vitor Sessak
3d6bd1c797 Add FATE test for ANSI/ASCII animation and TTY demuxer
Originally committed as revision 24865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-21 20:57:24 +00:00
Måns Rullgård
b42c483f07 fate-run: use 'run' function in 'ffmpeg' function
Originally committed as revision 24837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 16:51:24 +00:00
Måns Rullgård
91de2c0a73 fate: add -v 0 to ffmpeg flags
Originally committed as revision 24836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 16:51:21 +00:00
Måns Rullgård
32a15a2441 fate: store last version in per-slot file
This allows the same workdir to be used by multiple slots.

Originally committed as revision 24819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 20:36:22 +00:00
Stefano Sabatini
a1e171dfee Add hflip filter.
Originally committed as revision 24806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 14:59:12 +00:00
Måns Rullgård
4c3fbd4f93 fate: move some groups of related tests to their own files
This moves some groups of tests for single codecs to separate files,
and adds shorthands for running all tests in a group.

Originally committed as revision 24697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 18:47:20 +00:00
Måns Rullgård
49d63851cb fate: add fft tests
Originally committed as revision 24695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 06:57:02 +00:00
Måns Rullgård
dff1fc51b2 fate-run: add helper to run things on target
Originally committed as revision 24694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 06:56:59 +00:00
Måns Rullgård
42907c6ab5 lavfi-regression: trim \r line ends from showfiltfmts output
This is required when cross-testing on dos-like targets.

Originally committed as revision 24667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 19:44:58 +00:00
Stefano Sabatini
546017fc79 Sort lavfi pixdesc tests.
Increase readability and robustness, as the test result is not going
to differ if the order of the pixfmts codes changes.

Originally committed as revision 24665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 11:56:51 +00:00
Måns Rullgård
9c87c03779 lavfi-regression: use different temp file names for each pixfmt test
Originally committed as revision 24658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:34:48 +00:00
Stefano Sabatini
213a4cbb39 Add lavfi-pixfmts LE tests.
The corresponding lavfi-pixfmts BE tests are not yet added, as there
are some bugs in the scaler (scaling rgba, argb, bgra, abgr, yuva420p)
which result in differences with the LE reference, and I cannot
visually check the generated files on BE.

Originally committed as revision 24657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:20:46 +00:00
Stefano Sabatini
043076975f Reindent.
Originally committed as revision 24655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:04:16 +00:00
Stefano Sabatini
73177b6c79 Split lavfi pixfmts test.
Introduce the function do_lavfi_pixfmts(), and use it for generating a
pixfmts test for each different filter.

Originally committed as revision 24654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:04:13 +00:00
Måns Rullgård
61a187b081 fate: fix non-standard use of bc
Originally committed as revision 24651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 15:28:42 +00:00
Måns Rullgård
5b60c29339 fate: fix signal name translation
Originally committed as revision 24650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 12:29:03 +00:00
Måns Rullgård
8b0816cbc3 fate: make tar command configurable
The 'tar' variable should be set to a command writing a tar archive
of the named files to stdout, typically "tar c" or "tar cf -"

Originally committed as revision 24649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 12:29:00 +00:00
Måns Rullgård
7e7fc4e9ee Simplify lavfi-pixfmts test script
Originally committed as revision 24648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 11:34:59 +00:00
Måns Rullgård
79ec38d154 Remove temporary files in lavfi-pixfmts test
Originally committed as revision 24646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 10:47:41 +00:00
Stefano Sabatini
43d2c6a511 Fix fate-lavfi-pixfmts test cross-compilation.
Add the lavfi-showfiltfmts dependency in the Makefile, and correctly
use the $target_exec and $target_path variables for invoking the
lavfi-showfiltfmts tool.

Originally committed as revision 24645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 10:27:04 +00:00
Stefano Sabatini
2b346e042e Use the ffmpeg specified in $ffmpeg in the pixfmts lavfi test,
otherwise the test will be running whatever ffmpeg is installed on the
host system.

Originally committed as revision 24644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 10:27:00 +00:00
Stefano Sabatini
0a87d541b7 Put the filter name before the pixel format name in the lavfi pixfmts
test output files, and add a prefix with the name of the test.
Make per-filter grouping of the generated output files easier, which
is more useful than per-pixel-format grouping.

Originally committed as revision 24643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:11 +00:00
Stefano Sabatini
65e17eae3c Introduce and use a variable $output in the lavfi pixfmts test code.
Consistent with the lavfi pixdesc test code, and slightly improve
readability.

Originally committed as revision 24642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:08 +00:00
Stefano Sabatini
fc25373b1b Split the lavfi pixfmts tests in _le and _be, this is required as the
test results and references depend on machine endianess.

Originally committed as revision 24641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:06 +00:00
Stefano Sabatini
42bc7c8a60 Rename the not yet enabled test lavfi_pix_fmts to pixfmts, which is
simpler and consistent with the names of the other lavfi tests.

Originally committed as revision 24640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:03 +00:00
Måns Rullgård
4e705a6806 fate: translate exit status to signal name
Originally committed as revision 24623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-31 16:53:09 +00:00
Måns Rullgård
51124db8ea fate: clean up also after failed runs
Originally committed as revision 24542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 11:57:51 +00:00
Vitor Sessak
cf0194a3f5 Increase error tolerance for RA288 and one vorbis test. Should fix some
failures in PPC and ARM.

Originally committed as revision 24541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 11:53:14 +00:00
Måns Rullgård
673fe599b3 fate: delete build and install dirs after session
Originally committed as revision 24531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 01:08:44 +00:00
Måns Rullgård
a9dc611145 fate: add fate session script
Originally committed as revision 24530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:09 +00:00
Måns Rullgård
b82be63688 fate: create report files
Originally committed as revision 24529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:06 +00:00
Måns Rullgård
ce3a841da1 Add a simple base64 encoder for use in tests
Originally committed as revision 24526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:43:56 +00:00
Måns Rullgård
e6e3069b54 Simplify lavfi test script a little
Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24 17:13:35 +00:00
Måns Rullgård
8fae6e7c11 Unbreak parallel lavfi testing
Originally committed as revision 24485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24 17:13:32 +00:00
Vitor Sessak
a58ed9a2e7 Add VP8 sign bias code regtest. Not tested by the official conformance suite.
Originally committed as revision 24457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-23 10:09:46 +00:00
Vitor Sessak
0662bf22ec Add WMAPro regtests
Originally committed as revision 24404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 22:33:06 +00:00
Måns Rullgård
a4e6fa86ce regtest: simplify cleanup after each test
Originally committed as revision 24396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 20:49:41 +00:00
Måns Rullgård
157c924176 fate: delete useless artifacts after running each test
Originally committed as revision 24395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 20:49:36 +00:00
Måns Rullgård
bcb0a1546d fate: keep stderr from failing tests
Originally committed as revision 24394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 20:49:34 +00:00
Thierry Foucu
591db22dff gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
Patch by Thierry Foucu, tfoucu at gmail

Originally committed as revision 24379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 07:46:02 +00:00
Vitor Sessak
91c4d85f7b WMAVoice regtests
Originally committed as revision 24374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 20:47:47 +00:00
Rafaël Carré
e8723e242d Lego Mindstorms RSO muxer and demuxer.
Patch by Rafaël Carré, rafael d carre a gmail

Originally committed as revision 24355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 14:13:24 +00:00
Måns Rullgård
ffe72624e7 fate: run diff even if command fails
The diff may provide useful information even if the command was
unsuccessful.  The test is still treated as failed in this case.

Originally committed as revision 24353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 12:54:43 +00:00
Måns Rullgård
c963e961ac Remove unused seek-regression.sh script
Originally committed as revision 24349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:19:35 +00:00
Måns Rullgård
9a3f31efcb fate: allow running regtests through fate frontend
Originally committed as revision 24347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:19:28 +00:00
Måns Rullgård
f729c4aea8 regtest: rename seektest ref files using alphanumeric chars only
Originally committed as revision 24345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:09:54 +00:00
Carl Eugen Hoyos
2d91366cc2 Make MP43 the default fourcc for msmpeg4v3:
DIV3 is not supported on default XP and Vista installations (MP43 is).

Originally committed as revision 24343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 09:44:21 +00:00
Måns Rullgård
7c1bb9143e Fix lavfi pixdesc test
This test verifies the pixdesc code by comparing the output with and
without a filter which should have no effect on the image.  Since the
available pixel formats depend on the byte order of the machine, a
simple reference checksum is not possible.

The test originally tried to solve this by generating a reference file
on the fly.  The problem with this is that the test framework expects
the reference file in the source tree, and writing to the source tree
is not allowed.

To avoid complicating the test framework, we instead provide two
reference files and select which to use based on the byte order.

Originally committed as revision 24330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 17:17:49 +00:00
Måns Rullgård
77cce79aa7 fate: ensure all imported rules are handled by helpers
Originally committed as revision 24318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:50:03 +00:00
Måns Rullgård
cdaf4b79bb fate: simplify test runner slightly
All tests use the provided helper functions so prepending $target_exec
and using eval is no longer required.

Originally committed as revision 24317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:46:44 +00:00
Måns Rullgård
f366a6de31 fate: use helper functions in test rules
Originally committed as revision 24316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:46:42 +00:00
Måns Rullgård
2b18c451bd fate: add some helper functions to simplify test rules
Originally committed as revision 24314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:30 +00:00
Måns Rullgård
f0388cf716 fate: apply TARGET_EXEC only to commands starting with absolute path
Originally committed as revision 24313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:25 +00:00
Måns Rullgård
d2f33c8021 fate: use our variable names in test rules imported from Mike's db
Originally committed as revision 24312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:21 +00:00
Måns Rullgård
122a9af76b fate-run: rename some variables consistently with other files
Originally committed as revision 24311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:16 +00:00
Måns Rullgård
ed62c6b624 fate: do not delete ref files when updating tests from db
Originally committed as revision 24310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:12 +00:00
Måns Rullgård
e153cfa867 fate: add stddev comparator
This allows CMP=stddev in test rules.  The test passes if the reported
stddev is <= the FUZZ value (default 1).

Originally committed as revision 24289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 15:02:34 +00:00
Måns Rullgård
26e87a2261 fate: whitespace cosmetics
Originally committed as revision 24288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 15:02:32 +00:00
Vitor Sessak
7c06faf894 Undo my revert at r24260.
This is the only way by now to test this codec.

Originally committed as revision 24286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 10:50:25 +00:00
Måns Rullgård
6441d39d58 fate: update vc1 reference
Originally committed as revision 24263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 12:37:09 +00:00
Vitor Sessak
1c435a0d4e Vorbis regtests
Originally committed as revision 24262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 12:32:14 +00:00
Vitor Sessak
605014ca33 Revert r24258:
Log:
Add msmpeg4v1 regtest

Added:
   trunk/tests/ref/fate/msmpeg4v1
Modified:
   trunk/tests/fate2.mak

According to Mans, "make test" tests already msmpeg4v1.

Originally committed as revision 24260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:19:21 +00:00
Vitor Sessak
58c9c95c75 Add msmpeg4v1 regtest
Originally committed as revision 24258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:06:33 +00:00
Vitor Sessak
abc152d78e Add MS-GSM regtest
Originally committed as revision 24257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:58:17 +00:00
Vitor Sessak
41511ae6cf ATRAC3 regtests
Originally committed as revision 24256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:41:53 +00:00
Vitor Sessak
6944215a2f Add ATRAC1 regtest
Originally committed as revision 24255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:35:26 +00:00
Vitor Sessak
044dadeff3 Add EAC3 regtests
Originally committed as revision 24254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:24:09 +00:00
Vitor Sessak
cf39355978 Add AC3 regtests
Originally committed as revision 24253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:09:53 +00:00
Vitor Sessak
0dc5ca2e12 Add TrueSpeech regtest
Originally committed as revision 24221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:02:52 +00:00
Måns Rullgård
5ee08c8531 fate: add vp8 bilinear tests
Mike added these some time ago, and I forgot to update here.

Originally committed as revision 24220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 20:24:23 +00:00
Vitor Sessak
e9e40c875e NellyMoser regtest
Originally committed as revision 24195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:13:23 +00:00
Vitor Sessak
d4d5b66140 DTS Coherent Acoustics regtest
Originally committed as revision 24194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:05:38 +00:00
Vitor Sessak
bb1e597736 Add Pictor/PC Paint PIC regtest
Originally committed as revision 24193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 12:44:32 +00:00
Vitor Sessak
e798dbdd34 Psygnosis YOP demuxer and decoder test
Originally committed as revision 24181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 00:07:31 +00:00
Vitor Sessak
e747ff1c63 Add Intel Music Coder regtest
Originally committed as revision 24180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 23:50:17 +00:00
Vitor Sessak
369b49630d Add QDM2 test
Originally committed as revision 24178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 23:41:26 +00:00
Vitor Sessak
827396688c Add QCELP regtest
Originally committed as revision 24176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 23:15:45 +00:00
Vitor Sessak
1d9a8c347a Add MPEG2 field encoding fate2 regtest
Originally committed as revision 24175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 22:57:19 +00:00
Vitor Sessak
6b7917ba3b Add RealAudio COOK fate2 test
Originally committed as revision 24168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 18:46:10 +00:00
Vitor Sessak
65c58b168b Add fate2 test for RA288
Originally committed as revision 24167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 18:43:01 +00:00
Måns Rullgård
06970a4ca3 fate: some AAC tests need FUZZ=2 on ARM
Originally committed as revision 24166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 18:01:16 +00:00
Måns Rullgård
83b203dc94 fate: ensure file sizes match in oneoff tests
Originally committed as revision 24164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 16:58:00 +00:00
Alex Converse
6a59b98445 AAC fate2 tests.
Originally committed as revision 24163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 16:51:04 +00:00
Måns Rullgård
150ef830f5 fate: fail with a sensible error message if reference file is missing
Originally committed as revision 24152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:55:16 +00:00
Måns Rullgård
7d610af6f2 fate: delete output files from successful tests
Originally committed as revision 24150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:36:04 +00:00
Måns Rullgård
3ec8d24ac9 tiny_psnr: change error exit code from -1 to 1
Originally committed as revision 24149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:39 +00:00
Måns Rullgård
cd3cb048d9 tiny_psnr: check fread() return values
Originally committed as revision 24148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:36 +00:00
Måns Rullgård
58d2b15447 fate: exit with error immediately if test command fails
Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:33 +00:00
Måns Rullgård
f6dddd3374 tiny_psnr: use abs()
Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 19:27:07 +00:00
Vitor Sessak
5f0278f51c SIPR tests for "make fate2"
Originally committed as revision 24145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 17:19:18 +00:00
Måns Rullgård
c43d77c163 tiny_psnr: skip wav headers on input files
The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.

Reference files updated to reflect new output.  Some stddev/psnr values
have changed slightly due to headers no longer being compared.

Originally committed as revision 24143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 16:06:05 +00:00
Måns Rullgård
7e264ca136 fate: add oneoff test for twinvq
Originally committed as revision 24135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:55 +00:00
Måns Rullgård
aab3ea5f7d fate: add oneoff comparison method
This adds the 'oneoff' comparison method.  It compares two s16le pcm
files with a max difference <= the fuzz factor treated as success.
Default fuzz is 1.  On failure, the full tiny_psnr output is printed.

Originally committed as revision 24134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:51 +00:00
Måns Rullgård
3ade7d32c1 fate: pass additional variables to test script
This passes the following additional variables to the test script:

- CMP  method to use comparing output with reference, default 'diff'
- REF  reference file, default 'tests/ref/fate/${test}'
- FUZZ maximum fuzz factor in comparison, meaning depends on CMP

Originally committed as revision 24133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:45 +00:00
Vitor Sessak
cb0067ec25 tiny_psnr: print max absolute difference between files
Regression test reference updates are due to the extra output
from tiny_psnr.

Patch by Vitor Sessak

Originally committed as revision 24132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:37 +00:00
Måns Rullgård
f955d45226 Change names of regtest output files to closer match the reference files
Originally committed as revision 24127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:10:14 +00:00
Måns Rullgård
a9ef1aef79 regtest: put rgb and yuv reference files in correct place
Originally committed as revision 24118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:00 +00:00
Måns Rullgård
42cb38632e regtest: put rgb and yuv reference files in correct place
SVN design flaw requires deleting dirs in separate step

Originally committed as revision 24117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:43:56 +00:00
Stefano Sabatini
ce2e4ae35a Add pixdesctest filter and corresponding test.
Originally committed as revision 24092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 18:24:55 +00:00
Stefano Sabatini
c014631461 Update lavfitest reference after commit:
Author: bcoudurier
   Date:   Sat Jul 3 03:11:04 2010 +0000

       Set graph swscale opts before parsing it, that way opts are available
       when auto-adding scalers.

It changed the swscale flags used by the auto-added scalers, and so
the output video.

Originally committed as revision 24065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 22:32:56 +00:00
Baptiste Coudurier
29054fdd0a In mxf muxer, fix last b frame temporal offset
Originally committed as revision 23967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 08:35:47 +00:00
Måns Rullgård
27d8806986 fate: add vp8 tests
Originally committed as revision 23763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 22:13:52 +00:00
Stefano Sabatini
c1b81d2fd3 Remove the "b" from "Mb" in -b values for the dnxhd tests.
They are just ignored, and tend to confuse both machines and humans.

Originally committed as revision 23628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-16 18:27:52 +00:00
Måns Rullgård
2661d65a5f FATE: update vc1 reference output
Originally committed as revision 23609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-15 10:14:19 +00:00
Stefano Sabatini
e59cfd7850 Do not exclude anymore the pixel formats rgb444, bgr444, rgb4_byte,
and bgr4_byte from the lavfi-pix_fmts test.

The formats are now supported by NUT.

Originally committed as revision 23510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 18:50:27 +00:00
Måns Rullgård
48ede394d5 regtest: add seektest reference files for rgb/yuv in avi
Originally committed as revision 23506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 16:50:18 +00:00
Michael Niedermayer
59b847d3a9 Add simple rgb/yuv in avi regression test.
Originally committed as revision 23501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 00:05:12 +00:00
David Conrad
e7ddafd515 matroskaenc: Don't write a second seekhead for the clusters; mkvalidate agrees
with me that it's unnecessary.

Originally committed as revision 23478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:41:11 +00:00
James Zern
ac9baa716b matroskaenc: Mux clusters better
Start them on keyframes when reasonable, and delay writing audio packets
to help ensure that there's audio samples available for the first frame in
clusters.

Patch by James Zern <jzern at google>

Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:50 +00:00
Stefano Sabatini
bb756b2fbc Fix typo.
Originally committed as revision 23459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 22:20:07 +00:00
Stefano Sabatini
8456d947a5 Exclude from the lavfi_pix_fmts regression test the output pixel
formats which are not currently supported by NUT and which cannot be
played by ffplay.

Originally committed as revision 23458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 22:17:06 +00:00
Stefano Sabatini
d04c13f74b Remove useless variables in get_common_elements().
Originally committed as revision 23429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 18:56:19 +00:00
Stefano Sabatini
e34d5db595 Add libavfilter 1-input - 1-output regression test, corresponding to the
target regtest-lavfi_pix_fmts.

The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.

Originally committed as revision 23297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 20:38:50 +00:00
David Conrad
7bb83d8ddf matroskaenc: Write codec time base as default duration for video tracks.
This isn't exactly semantically equivalent, but the field has already been
long abused to mean this, and writing it helps in determining a decent cfr
time base when transcoding from a mkv where the video codec stores none (VP8).

Originally committed as revision 23284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 08:58:19 +00:00
David Conrad
85e86b6810 Update regression tests after removing track timecode scale from mkvenc
Originally committed as revision 23248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 02:13:01 +00:00
Baptiste Coudurier
95ca3b1e20 In ogg muxer, pack multiple frames into one page, much lower overhead
Originally committed as revision 23231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 21:38:54 +00:00
Vitor Sessak
e904c51fa1 Replace "-vfilters" by "-vf" in regtests. Should fix regtest breakage.
Originally committed as revision 23109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 12:30:46 +00:00
Måns Rullgård
458638e3db FATE: change -vfilters to -vf
Originally committed as revision 23108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 11:32:13 +00:00
Måns Rullgård
17be16a336 FATE: update idroq-video-encode command
Originally committed as revision 23064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 17:05:35 +00:00
Michael Niedermayer
cccc039f71 Enable libavfilter by default and fix pading for mxf-d10
Originally committed as revision 23048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:52:05 +00:00
Måns Rullgård
55a95e2d42 FATE: update nsv-demux checksums
Originally committed as revision 22908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 11:51:40 +00:00
Måns Rullgård
8b9ec992a7 FATE: update vqf-demux checksum
Originally committed as revision 22873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 14:29:13 +00:00
Michael Niedermayer
008593be52 Change default for bidir_refine to 1.
Originally committed as revision 22778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 14:08:51 +00:00
Baptiste Coudurier
ab379c671f 10l, update ref value for ffm since default flags changed and are stored in the file
Originally committed as revision 22673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-25 20:45:26 +00:00
James Darnley
66061a1220 Add VorbisComment writing to FLAC files.
Patch by James Darnley <james darnley at gmail>.

Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-20 13:36:43 +00:00
Stefano Sabatini
1400bd5a39 Make ad-hoc lavfi tests use random values for the slice height used
per each frame, useful for testing slicification.

Originally committed as revision 22587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 23:23:48 +00:00
Stefano Sabatini
cec96e8de3 Add some ad-hoc tests for libavfilter.
A patched version of ffmpeg supporting video filters is required for
getting this working; thus make lavfitest is supposed to work only in
the libavfilter repository for now.

Originally committed as revision 22586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 23:23:44 +00:00
Måns Rullgård
2fad097788 Add FATE tests
This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".

The location of the FATE test samples must be specified with the
--samples=PATH option to configure.

The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database.  These are checked in since
generating them requires non-standard tools.

Originally committed as revision 22552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 19:23:24 +00:00
Michael Niedermayer
bd57cae86f use mpeg2 quantization bias for mjpeg.
this seems to improve RD performance.

Originally committed as revision 22550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 16:37:02 +00:00
Michael Niedermayer
686c781766 Make sure all mvs of a mb are set in the error concealment code.
Originally committed as revision 22520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 01:52:31 +00:00
David Conrad
873d117e4b oggdec: Determine pts and filepos on a packet basis in read_timestamp
This takes into account whether the granule defines the start or end times
of packets, and sets the correct file offset of the associated page.

Originally committed as revision 22462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:56 +00:00
David Conrad
50a9d32310 oggdec: Set data_offset to the right value
Otherwise it gets set automatically to a page midstream and prevents seeking
to the first page.

Originally committed as revision 22454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:29 +00:00
David Conrad
73823cb941 oggdec: Save offset of the page needed to reconstruct the current packet
Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:24 +00:00
Baptiste Coudurier
7082ea56c8 mpegts vbr muxing, activated when muxing rate is not supplied by the
user.

Originally committed as revision 22352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 23:46:19 +00:00
Baptiste Coudurier
677a1144b0 Start continuity counter at 0 for pmt as well
Originally committed as revision 22350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 22:44:03 +00:00
Baptiste Coudurier
d73a458f27 Start continuity counter at 0 for streams
Originally committed as revision 22344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 20:59:00 +00:00
Baptiste Coudurier
9169174fd6 10l typo, fix ts total bit rate computation
Originally committed as revision 22343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 20:57:42 +00:00
Måns Rullgård
21f7ab7afc Make ffserver regression test run (still fails)
Originally committed as revision 22305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 00:27:00 +00:00
Måns Rullgård
fc8cb3988f regtest: move md5sum wrappers into separate file
ffserver-regression.sh doesn't need anything else from
regression-funcs.sh, and sourcing the entire file there
breaks things.

Originally committed as revision 22304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 00:26:58 +00:00
Måns Rullgård
ecefc5ddbd regtest: run seektest on image sequences
Seeking on image sequences doesn't actually work, so this
test isn't very useful until that capability is added.

Originally committed as revision 22286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 19:50:56 +00:00
Måns Rullgård
d1be963568 regtest: run seektest on lavftest output files
Somehow this got lost in the recent overhaul.

Originally committed as revision 22283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 19:26:02 +00:00
Måns Rullgård
d211b29e05 regtest: place image sequence outputs in separate directories
Originally committed as revision 22282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 19:25:58 +00:00
David Conrad
30f06a58a0 Simplify starting and ending clusters
Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04 08:53:08 +00:00
Måns Rullgård
1233698bed Make seektest messages similar to other tests
Originally committed as revision 22159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:27 +00:00
Måns Rullgård
d7096d6fdd Run seektest on all generated files
Originally committed as revision 22158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:16 +00:00
Måns Rullgård
1dd9ff871a Place regtest-pixfmt output files in separate dir
This test generates many output files, and keeping them separate
is convenient.

Originally committed as revision 22157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:02 +00:00
Måns Rullgård
801b571e33 Remove unused argument to test scripts
Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:42:03 +00:00
Måns Rullgård
cc3e2472f3 Place regression test output files in subdirs per family
Originally committed as revision 22155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:41:52 +00:00
Måns Rullgård
cbc4670c37 Revert "Remove the self reference in the seektest that prevented it from"
This reverts r22151.  It prevents the seektest from running at all and
is thus of no use whatsoever.

Originally committed as revision 22152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 17:50:24 +00:00
Michael Niedermayer
dd785e25d8 Remove the self reference in the seektest that prevented it from
testing new formats since 2 years namely r11831.
This likely will uncover bugs that gone unnoticed in the last 2 years
due to lack of testing.

Originally committed as revision 22151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 17:29:04 +00:00
Michael Niedermayer
af3390cb85 Make sure we dont double test files and sort the list.
Originally committed as revision 22150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 17:16:25 +00:00
Michael Niedermayer
88b83cac24 Codec copy test.
Originally committed as revision 22148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 16:57:20 +00:00
Reimar Döffinger
f2e033ac84 Free packets read in seek_test.
Originally committed as revision 22110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-28 11:18:04 +00:00
Reimar Döffinger
c7ff04e2f3 Fix some memory leaks in seek_test test program:
- do not allocate context twice
- close the input file before exiting

Originally committed as revision 22108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-28 10:58:27 +00:00
Yann Coupin
8d819221db Correctly increment continuity_counter in PCR packets.
Patch by Yann Coupin, yann.coupin+ffmpeg gmail

Originally committed as revision 22020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 10:56:13 +00:00
Måns Rullgård
43cfefafbf Use stripped executable in regression tests
Originally committed as revision 21870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 21:37:35 +00:00
Michael Niedermayer
f575f08ccb Correct opts calulation in ffmpeg.c.
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.

Originally committed as revision 21626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 15:09:04 +00:00
Michael Niedermayer
c45ebd5461 Set AVPacket.pos in MPEG-PS demuxer.
Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-02 16:47:51 +00:00
Michael Niedermayer
f8ccf72005 Check pkt.pts against the recording time.
This fixes at least ogg encoding with -t where the file was slightly too long.

Originally committed as revision 21598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 22:08:45 +00:00
Måns Rullgård
c676895fd9 Separate audio-only tests so they are only run once
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 21:47:13 +00:00
David Conrad
ac1e18cb78 Update regression tests after r21372
Originally committed as revision 21374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-21 23:35:26 +00:00
Måns Rullgård
4b294c1872 regtest: split wma test into wmav1 and wmav2
Originally committed as revision 21255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:22 +00:00
Måns Rullgård
eca478c317 regtest: split reference files allowing tests to run individually
With this change, the output is checked immediately after each test
has run.  This means commands like "make regtest-mpeg2" can now be
used to run a single test and get meaningful results.

By default, make will abort if any test fails.  To run all tests
regardless, use make -k.

Originally committed as revision 21254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:13 +00:00
Måns Rullgård
16cd99bbed regtest: suppress console output from tests
This disables all console output from the *-regression.sh scripts by
default.  If the V environment variable is set to 1, ffmpeg commands
are printed before being run.  If V is greater than 1, ffmpeg output
goes to the console, otherwise stderr is redirected to a file.

Originally committed as revision 21253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:17:55 +00:00
Baptiste Coudurier
01d6bd525a Do not split audio frames accross pes packets.
This was not supported by some equipment and cisco analyzer.

Originally committed as revision 21203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 22:21:45 +00:00
Mike Scheutzow
4df3bbbc68 Insert null packets to keep pcr values correct, patch by Mike Scheutzow,
scheutzow at alcatel-lucent dot com and Niobos, niobos at dest-unreach dot be.

Originally committed as revision 21199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 20:44:56 +00:00
Vitor Sessak
cd44b2e307 10l, my last commit (r21001) broke regression tests.
FATE tests might need updating too.

Originally committed as revision 21002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-02 12:29:00 +00:00
Diego Biurrun
66d23c968c Use common regression test functions in ffserver regression test script.
This makes the ffserver regression test more portable.

Originally committed as revision 20925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-26 11:33:23 +00:00
Diego Biurrun
3d1470649c Replace syntax by $( ) in regression test shell scripts.
The latter syntax variant is more readable and easier to nest.

Originally committed as revision 20924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-26 11:24:04 +00:00
Michael Niedermayer
2c2a167ca7 It appears that waveformatextensible is mandatory for more cases than
just channels>2. The 16bit case is from MSDN, the 48khz is from less a reliable
www page (sorry i cant find the URL anymore).

Originally committed as revision 20892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-18 06:03:12 +00:00
Jai Menon
18eb23db7d Update ffm reference checksums as a result of r20869.
Originally committed as revision 20882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-16 14:55:01 +00:00
Reimar Döffinger
ae5e8caa3d Add ROQ format regression test.
Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 17:34:24 +00:00
Stefano Sabatini
dae658d764 Reduce the number of encoded frames for the dnxhd tests to 5.
Significantly reduce codectest execution time.

Originally committed as revision 20804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 13:52:19 +00:00
Jai Menon
384af83725 Update seek.regression.ref. This is due to r20758.
Originally committed as revision 20759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-07 16:01:35 +00:00
Baptiste Coudurier
73e8c83d7b update seek regression ref due to r20674, packet size changed
Originally committed as revision 20688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-01 20:13:03 +00:00
Jai Menon
8683f94f40 Update libavformat regression reference checksum for ffm. This change is
due to r20601.

Originally committed as revision 20621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-26 18:49:34 +00:00
Baptiste Coudurier
fedbfd5d44 update seek regression ref due to r20579, mp3 timestamps are adjusted
Originally committed as revision 20597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-24 07:29:54 +00:00
Justin Ruggles
b00803e0ae fix a rounding error in the PSNR calculation and update the many regression
test references that this change affects.

Originally committed as revision 20492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 23:09:47 +00:00
Stefano Sabatini
77f66963b0 Split codec-regression.sh again and create a lavfi-regression.sh for
running the libavfilter tests.

Originally committed as revision 20384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 19:34:48 +00:00
Stefano Sabatini
8f1e4d4ffc Split codec-regression.sh, and create the lavf-regression.sh script.
Originally committed as revision 20365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 17:01:47 +00:00
Måns Rullgård
2189dbc4a6 Fix codectest
Originally committed as revision 20360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 12:39:38 +00:00
Stefano Sabatini
f94e56cf82 Split codec-regression.sh, put all the code which can be shared by
other regression test scripts in the regression-funcs.sh file.

Originally committed as revision 20359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-23 22:49:05 +00:00
Daniel Verkamp
b74d42ee33 Build extradata in adpcm_ms encoder.
This fixes issue #1244.

Originally committed as revision 20349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 20:43:55 +00:00
Reimar Döffinger
2bc70a7681 Print "NOPTS" when AV_NOPTS_VALUE is encountered during seek regression tests.
This makes the output nicely aligned even in for those cases, and might
also avoid some issues with printf implementations that can not handle well
very large float values (e.g. msvcrt without MinGW wrapper IIRC).

Originally committed as revision 20334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-20 15:37:50 +00:00
Stefano Sabatini
3a408eff35 Move up the $test variable definition, together with the other
definitions of variables defined using the positional arguments of the
script.

Should ease the split of the file.

Originally committed as revision 20322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 21:59:17 +00:00
Stefano Sabatini
dd65909a78 Give symbolic names to the positional parameters of the
codec-regression.sh script.

Originally committed as revision 20321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 21:54:37 +00:00
Reimar Döffinger
933018e249 Align the seek regression test output for better readability.
Originally committed as revision 20309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 12:40:00 +00:00
Reimar Döffinger
a828d48cfc Replace seek test error return numbers by the corresponding E* strings.
Hopefully this fixes regression tests on DOS.
It breaks alignment of the output a bit more, but this should be easy to
fix with a second patch.

Originally committed as revision 20282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 16:33:14 +00:00
Reimar Döffinger
a9b0204374 Do the dnxhd_720p_rd test with -threads 4 in order to also test the threading code.
Originally committed as revision 20205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 11:50:12 +00:00
Justin Ruggles
9797ce58b7 Add ALAC encoding and decoding regression tests.
Originally committed as revision 20188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 22:47:33 +00:00
Reimar Döffinger
3fcb5113c6 wav demuxer: return AVERROR_EOF instead of AVERROR(EIO) when the end of
the file is reached normally, without any error.

Originally committed as revision 20143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 07:27:08 +00:00
Reimar Döffinger
4bd7cb8be2 Fix seek regression test: several AVERROR(EIO) correctly changed to AVERROR_EOF.
Originally committed as revision 20141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 07:19:21 +00:00
Reimar Döffinger
593b50cedf Make seek regression tests fit after previous get_buffer change.
The au and aiff demuxers would always return an empty packet before
detecting EOF, this is now fixed with av_get_packet etc. returning EOF.

Originally committed as revision 20136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 06:38:56 +00:00
Lasse Reinhold
391dbb54a6 Use floating point mathematics when encoding mpeg audio.
Fixes issue 975: high db peak levels when encoding mp2

Original patch by Lasse Reinhold, lassemikkelreinhold hotmail

Originally committed as revision 20100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 15:13:09 +00:00
Stefano Sabatini
e935fa9e17 Prefer -vcodec rawvideo over -vcodec huffyuv for lavfi regression
tests, as the use of huffyuv may cause the auto-insertion of a scale
filter, thus masking the mis-behavior of some filter.

Originally committed as revision 20088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 21:53:36 +00:00
Michael Kostylev
0e829974f5 Fix md5 program invocation for BSD.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:49:04 +00:00
Reimar Döffinger
ebb651d5f2 Make sure that dv encoder initializes all encoded packet data.
The specification does not say which value to use for unused
parts, so fill all unused bytes with 0xff, which is consistent
with what DV usually uses for reserved or unused parts.

Originally committed as revision 20084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:17:18 +00:00
Stefano Sabatini
7f5c14210b Remove duplicated / stray code which slipped in with r20057.
Originally committed as revision 20060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 10:29:24 +00:00
Reimar Döffinger
06d7f30a9f Get rid of "function" "keywords" in lavfilter testing code, hopefully will
make regressions tests runnable again with all shells.

Originally committed as revision 20059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 10:06:35 +00:00
Stefano Sabatini
40e024091d Implement a lavfitest target for testing regressions in libavfilter.
The target is disabled.

See the thread: "[PATCH] libavfilter-soc: regression test for libavfilter".

Originally committed as revision 20057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 09:33:37 +00:00
Måns Rullgård
670bd2005a regtest: do not write to /tmp/ffmpeg$$
Nothing useful was ever written to this file.  It did, however,
often cause spurious failures when the file was left behind by
another user on the system.

Originally committed as revision 19938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 02:46:09 +00:00
Måns Rullgård
96fdb62428 Split dnxhd regression test so the parts can run in parallel
Originally committed as revision 19936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:12 +00:00
Reimar Döffinger
3fdd82768d Use default sws_flags for dnxhd regression tests and also test the "-mbd rd"
variant of the encoder.

Originally committed as revision 19923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:53:23 +00:00
Reimar Döffinger
d7c2e8e3fd Update regression reference for DNxHD test update
Originally committed as revision 19922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:21:22 +00:00
Reimar Döffinger
6082086688 Change DNxHD regression tests to test both 720p and 1080i instead of just 1080i
for better test coverage.

Originally committed as revision 19921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:20:47 +00:00
Reimar Döffinger
0ae2ccff56 Change dnxhd regression tests for r19912 which fixed uninitialized data in
encoded data.

Originally committed as revision 19916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 21:29:17 +00:00
Baptiste Coudurier
afcdf34236 update seek regression tests due to r19902
Originally committed as revision 19904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 21:35:48 +00:00
Reimar Döffinger
ef002fa32b Update dnxhd rotozoom regression test values with more sane ones that match
the results of most FATE machines.

Originally committed as revision 19903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 19:51:27 +00:00
Niobos
9deba199fd fix pes overhead computation, patch by Niobos, niobos at dest-unreach dot be
Originally committed as revision 19902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 19:07:09 +00:00
Reimar Döffinger
bb8cd7b3cf Update dnxhd regression test to match the majority of FATE machines (which
also have a much saner stddev).

Originally committed as revision 19901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 18:57:22 +00:00
Reimar Döffinger
a5083f66c7 Add dnxhd test to regression tests.
Originally committed as revision 19895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 18:06:03 +00:00
Ivan Schreter
af8aae3fa3 disable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)
Originally committed as revision 19788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-06 15:59:32 +00:00
Ivan Schreter
a8dd8dc6e9 Use generic multi-stream key frame finding routine to implement read_seek2 and map
read_seek to read_seek2.

Originally committed as revision 19681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-22 16:07:50 +00:00
Aurelien Jacobs
194d4b494b matroskadec: correctly parse flags for simpleblock frames
Originally committed as revision 19621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 18:06:14 +00:00
Diego Biurrun
966116b9f7 Remove some hunks of unused and disabled code cruft.
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-07 14:53:31 +00:00
Carl Eugen Hoyos
6c2a778d38 Remove unused global variable.
Originally committed as revision 19483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 08:28:58 +00:00
Carl Eugen Hoyos
9276b8f0cc Calculate gradient from parameter instead of using a global variable.
Originally committed as revision 19482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 08:26:17 +00:00
Carl Eugen Hoyos
07874f2298 Due to a typo in videogen.c, the regression test videos were not as
complex as originally planned.
Typo fixed (the background moves less linear now) and regression test
results updated.

Originally committed as revision 19478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-21 10:37:23 +00:00
Baptiste Coudurier
df1550f081 set index duration to 0 for cbr, specifying whole container coverage
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:56:58 +00:00
Baptiste Coudurier
76b092e207 use ber4 length for descriptors preferred by specs
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:52:28 +00:00
Baptiste Coudurier
6a43aab01b write profile and level local tag in mpeg descriptor
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:49:12 +00:00
Michael Niedermayer
0444a8c534 Update seek regression checksums due to:
r19300
  Rewrite mp3 parser. New code is much simpler and does not drop
  stuff at random.

Originally committed as revision 19306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 11:28:53 +00:00
Baptiste Coudurier
61f9e3c16a correctly compute frame flags with closed gop
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 07:41:40 +00:00
Yoshihisa Uchida
d8b2d83473 Fix yamaha adpcm stereo (issue 1117).
Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail

Originally committed as revision 19237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 13:07:21 +00:00
Yoshihisa Uchida
3f3f3ba799 Fix onMetaData property count in flv files (issue 1206).
Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail

Originally committed as revision 19236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 12:52:48 +00:00
Stefano Sabatini
97668ac7f3 Rename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
since that is the name of the corresponding test.

Originally committed as revision 19220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-18 23:44:05 +00:00
Måns Rullgård
a4ddf509fe regtest: print commands also for image format tests
Originally committed as revision 19195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 23:14:56 +00:00
Baptiste Coudurier
0c1375575a demux whole PES packets from TS
Originally committed as revision 18960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 00:44:00 +00:00
Wolfram Gloger
ed1dc74e18 Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.

Originally committed as revision 18959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 00:14:32 +00:00
Baptiste Coudurier
45e5feda68 Fix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching, pending,
current ref is technically more correct though.

Originally committed as revision 18912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 09:28:45 +00:00
Larbi Joubala
606d48cee1 fix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com
Originally committed as revision 18911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 07:17:17 +00:00
corp186
c69d224102 compute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 06:09:16 +00:00
Baptiste Coudurier
b10d7e4e3a pad last audio frame when encoding
Originally committed as revision 18907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 04:07:25 +00:00
David Conrad
325aef38da Update regression tests for y4m after r18796
The default changed from 420mpeg2 to 420jpeg

Originally committed as revision 18797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 08:45:20 +00:00
Baptiste Coudurier
e4358e70f8 write a single pes for video frames, some proprietary player needs it
Originally committed as revision 18792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 02:30:29 +00:00
Baptiste Coudurier
31df40a130 fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 01:02:18 +00:00
Michael Niedermayer
9a3eaeebad Correct x/ymin to avoid segfault due to out of picture reads.
Originally committed as revision 18771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 15:14:36 +00:00
Baptiste Coudurier
a3d23e15fb fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples
Originally committed as revision 18453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 00:25:37 +00:00
Carl Eugen Hoyos
f77dddfcc3 Fix comment: gcc 2.95.3 binaries decode ac3 fine if SSE is available and
not disabled.

Originally committed as revision 18424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 17:46:42 +00:00
Michael Niedermayer
300a3d0d00 Make sure the last bits of huffyuv frames are zeroed.
Fixes issue946

Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-05 13:02:47 +00:00
Diego Biurrun
1b4a516b94 Rename regression test result files from b-libav* to b-lavf* for consistency.
This requires updating the gxf regression checksum since the gxf muxer puts
the filename in files it creates.

Originally committed as revision 18253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 21:32:52 +00:00
Måns Rullgård
67c447a679 Fix running regression tests on remote targets
Originally committed as revision 18251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 20:57:01 +00:00
Diego Biurrun
7a8d0e9700 Skip creation of tests/data directory in individual regression test scripts.
It is already being taken care of by the Makefile.

Originally committed as revision 18248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 13:29:10 +00:00
Diego Biurrun
d7167f0555 Move generated file aynth1.sw to the data subdirectory. Thus it does not have
to be removed separately and there is less clutter in the tests directory.

Originally committed as revision 18246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 12:27:03 +00:00
Diego Biurrun
6117ffbe90 Rename regression.sh --> codec-regression.sh. Now all regression test scripts
carry the regression test they run as prefix in their name.

Originally committed as revision 18245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 12:00:16 +00:00
Diego Biurrun
767e14c380 Rename server-regression.sh --> ffserver-regression.sh for consistency.
Originally committed as revision 18243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 10:05:00 +00:00
Diego Biurrun
0bb5f0fa22 cosmetics: Rename 'do_libav' function to 'do_lavf'.
Originally committed as revision 18241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 05:22:22 +00:00
Diego Biurrun
209b9d565a Rename libav.regression.ref --> lavf.regression.ref.
This matches the new name of the test target.

Originally committed as revision 18229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 21:29:46 +00:00
Diego Biurrun
688a477367 Rename test.conf --> ffserver.conf, the new name is more meaningful.
Originally committed as revision 18226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 20:17:23 +00:00