| Branch: | Revision:

ffmpeg / tests @ 7e0a284b

# Date Author Comment
7e0a284b 03/08/2011 06:44 PM Justin Ruggles

ac3enc: shift coefficients to 24-bit following MDCT rather than using an exponent offset.

This makes channel coupling more accurate, increasing quality for stereo
content. It also simplifies exponent extraction and mantissa quantization
by no longer needing to apply an offset to the exponents....

c3afa4db 02/26/2011 02:16 AM Peter Ross

bink: prevent overflows within binkidct by using int-sized intermediate array

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit e211e255aa399d68239ffa42c9cc7a52eb3d55a9)

1e898e7d 02/26/2011 02:16 AM Justin Ruggles

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 <>
(cherry picked from commit 1108f8998c6536bb44d6ecbe5adfa18e0c1478e8)

c11c7922 02/26/2011 02:16 AM Justin Ruggles

vmdaudio: output audio samples for standalone silent blocks.

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit 9b73f786005f31429d7c88092edfeef6696a5f69)

6159bd0d 02/18/2011 06:52 PM Justin Ruggles

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 <>
(cherry picked from commit 5b54d4b376fbd2c291b8a6dba7d425e28f654bcf)

660ab0e6 02/16/2011 10:00 PM Justin Ruggles

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 <>
(cherry picked from commit 50d7140441b61809ad4ba4ea7b4ad8fe77bc6888)

31df5cb6 02/12/2011 11:54 PM Baptiste Coudurier

Fix qtrle regression test, actually test qtrle.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 646739a0a8368bd234ff077c093bbf01e9e7f44a)

10030226 02/04/2011 02:08 AM Justin Ruggles

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....

6aef89d5 01/30/2011 02:41 AM Mans Rullgard

Update mpegts test reference

The output was changed by a7827a17c6b3388322350456d445c94b3a82cd25.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 79dca23dc262742b312161a5dec707eb7b9c8d97)

4c9bfe3e 01/28/2011 02:15 AM Georgi Chorbadzhiyski

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 <>
(cherry picked from commit 535638b55f83ad47e4680883e87b97e69d0847e5)

c78c1820 01/26/2011 02:43 AM Mans Rullgard

fate: add h264 test for extreme cases in planar prediction

Signed-off-by: Mans Rullgard <>
(cherry picked from commit e63dd5fb04ab831ca8f17fa824cfd703e317c1a1)

73fd7c1f 01/23/2011 06:32 PM Mans Rullgard

fate: add lossless h264 test

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 76edf2c1377fdb35609f79a6702081de4d93e331)

05238927 01/23/2011 06:32 PM Mans Rullgard

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....

024f6370 01/21/2011 07:35 PM Justin Ruggles

Add regression test for stereo s16le in voc.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit a4f5af13fb00d7f55946470bb0f52e1dbf5f3c6a)

3240b371 01/18/2011 08:48 PM Mans Rullgard

fate: simplify vp8 rules

ee6184a8 01/18/2011 08:48 PM Mans Rullgard

regtest: add openssl to md5 alternatives

2c3589bf 01/18/2011 08:32 PM Janne Grunau

consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <>

348b8218 01/17/2011 02:50 PM Janne Grunau

convert svn:ignore properties to .gitignore files

Signed-off-by: Janne Grunau <>

90603f7c 01/14/2011 10:32 PM Baptiste Coudurier

Update smc fate ref due to r26310

Originally committed as revision 26342 to svn://

dc7e07ac 01/08/2011 11:21 PM Justin Ruggles

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://

87c1410d 01/05/2011 07:53 PM Vitor Sessak

Add a FATE test for Playstation STR version 3

Originally committed as revision 26231 to svn://

6fd96d1a 01/04/2011 11:53 AM Justin Ruggles

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://

815495f0 01/02/2011 12:42 PM Vitor Sessak

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://

ec44dd5f 12/29/2010 07:17 PM Justin Ruggles

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....

8d660f75 12/29/2010 05:48 PM Luca Barbato

Make fate vp8 test cover emu_edge cases

Originally committed as revision 26134 to svn://

2c77c906 12/28/2010 11:52 PM Aurelien Jacobs

add SubRip decoder

Originally committed as revision 26119 to svn://

b5670209 12/28/2010 01:01 AM Stefano Sabatini

Add copy filter, useful for testing the avfilter_draw_slice() copy

Originally committed as revision 26112 to svn://

295ab2af 12/21/2010 09:18 PM Justin Ruggles

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://

90ca26e1 12/20/2010 10:01 PM Vitor Sessak

Increase STDDEV tolerance for the fate-amrwb-14k25 test so it pass in
x86_64 boxes.

Originally committed as revision 26064 to svn://

9c32023f 12/20/2010 09:35 PM Vitor Sessak

Add AMR-WB FATE tests

Originally committed as revision 26063 to svn://

eb066a4c 12/18/2010 11:11 PM Reimar Döffinger

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://

853395b9 12/18/2010 04:06 PM Reimar Döffinger

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://

bf09a019 12/18/2010 01:18 PM Reimar Döffinger

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://

8c634b70 12/14/2010 04:14 PM Justin Ruggles

Update the test references for lavf-rm and seek-ac3_rm.
The references changed due to r25956.

Originally committed as revision 26004 to svn://

918cd225 12/14/2010 02:51 PM Justin Ruggles

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://

475ae04a 12/07/2010 02:50 PM Michael Chinen

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://

ad556add 11/29/2010 10:35 AM Carl Eugen Hoyos

Fix h264-conformance-frext-frext_mmco4_sony_b conformance test.

This includes a revert of r25840

Originally committed as revision 25842 to svn://

79561f0e 11/28/2010 11:09 PM Baptiste Coudurier

Update fate h264 test due to r25824, this file has 2 frames delay

Originally committed as revision 25840 to svn://

9d9c3e1a 11/16/2010 01:00 AM Baptiste Coudurier

Make DNxHD encoder produce files that are strictly VC-3 compatible

Originally committed as revision 25756 to svn://

bad1117b 11/14/2010 09:35 AM Vitor Sessak

Add AMR-NB FATE tests

Originally committed as revision 25750 to svn://

4aa826e9 11/14/2010 09:34 AM Vitor Sessak

Add Musepack7 FATE test

Originally committed as revision 25749 to svn://

bbf07bf9 11/12/2010 08:15 PM Vitor Sessak

Remove now unused file (should have been part of commit r25735)

Originally committed as revision 25736 to svn://

c51722bf 11/12/2010 08:04 PM Vitor Sessak

Test 4XM decoding (and not only demuxing) in FATE tests

Originally committed as revision 25735 to svn://

e61bb085 11/04/2010 09:48 PM Reimar Döffinger

Add test for cropping of interlaced H.264.

Originally committed as revision 25677 to svn://

9fc2b708 11/03/2010 06:13 PM Reimar Döffinger

Update 24 bpp TM1 reference for decoder fixes.

Originally committed as revision 25664 to svn://

94bdb1f8 10/16/2010 09:31 PM Michael Niedermayer

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://

e4dccc0d 10/10/2010 02:20 AM Alexander Strange

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 for details....

a7ba165a 10/07/2010 07:37 PM Baptiste Coudurier

Update gxf regression tests because of r25399

Originally committed as revision 25400 to svn://

ad4c3c68 10/07/2010 07:15 PM Reuben Martin

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://

9b272e32 10/07/2010 12:32 AM Michael Niedermayer

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://

f71abdbb 10/02/2010 10:00 AM Reimar Döffinger

Remove pointless -vn option, the file has no video stream.

Originally committed as revision 25314 to svn://

01e4b675 10/02/2010 09:56 AM Reimar Döffinger

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://

8c067b5d 09/26/2010 09:02 AM Måns Rullgård

Update rv20 seek test reference

Originally committed as revision 25204 to svn://

53eb458a 09/26/2010 01:56 AM Michael Niedermayer

Fix rv20 encoding so the binary decoder can decode it.

Originally committed as revision 25203 to svn://

75b67a8a 09/25/2010 01:18 AM Stefano Sabatini

Make the crop filters accept parametric expressions.

Originally committed as revision 25185 to svn://

2bc05d35 09/24/2010 11:14 PM Stefano Sabatini

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://

c4795e80 09/23/2010 09:55 AM Måns Rullgård

fate: print commands being executed with V=1

Originally committed as revision 25161 to svn://

6c834328 09/15/2010 09:36 PM Justin Ruggles

Allow audiogen to take commandline parameters for sample rate and number of

Originally committed as revision 25127 to svn://

c7d89948 09/11/2010 07:52 PM Justin Ruggles

Set a constant frame size for encoding G.726 audio.

Originally committed as revision 25107 to svn://

fe5f761a 09/11/2010 10:23 AM Martin Storsjö

Add a FATE test for the G.722 decoder

Originally committed as revision 25104 to svn://

69a9c80b 09/02/2010 03:39 PM Måns Rullgård

fate: delete log files ahead of each run

Originally committed as revision 25025 to svn://

82c76cee 09/01/2010 12:38 PM Vitor Sessak

QTRLE regtest

Originally committed as revision 25017 to svn://

4b7539f1 08/31/2010 08:07 PM Vitor Sessak

SHA fate test

Originally committed as revision 25013 to svn://

6b85316b 08/31/2010 05:55 PM Vitor Sessak

Test decoding in fate-lavf-gif

Originally committed as revision 25012 to svn://

f5d4fc43 08/31/2010 05:53 PM Vitor Sessak

PNG image regression testing

Originally committed as revision 25011 to svn://

d81db9c7 08/31/2010 11:15 AM Vitor Sessak

Add RealVideo 3 FATE test

Originally committed as revision 25008 to svn://

61f89303 08/31/2010 11:14 AM Vitor Sessak

10l, add flags forgotten in last commit

Originally committed as revision 25007 to svn://

3e41fc62 08/31/2010 11:13 AM Vitor Sessak

Add Apple MJPEG-B decoder FATE test

Originally committed as revision 25006 to svn://

506c47a4 08/31/2010 11:11 AM Vitor Sessak

Add FATE test for ScummVM DXA flavor

Originally committed as revision 25005 to svn://

2d0cdf3c 08/28/2010 02:51 PM Vitor Sessak

Add fate test for Westwood SND1 codec

Originally committed as revision 24957 to svn://

0a24503d 08/28/2010 02:45 PM Vitor Sessak

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://

3b619cab 08/28/2010 11:46 AM Vitor Sessak

CCITT Fax Group compression fate tests

Originally committed as revision 24954 to svn://

74c847e0 08/25/2010 06:37 PM Måns Rullgård

fate: build with --enable-gpl

Originally committed as revision 24930 to svn://

4574b815 08/25/2010 05:23 PM Vitor Sessak

VP3 fate test

Originally committed as revision 24928 to svn://

d21caa95 08/24/2010 08:48 PM Vitor Sessak

Renderware TeXture Dictionary FATE test

Originally committed as revision 24911 to svn://

078ae66b 08/23/2010 05:34 PM Måns Rullgård

fate: set LC_ALL=C to avoid locale interference

Originally committed as revision 24889 to svn://

1ee39ebd 08/23/2010 04:41 PM Vitor Sessak

BinkAudio FATE tests

Originally committed as revision 24888 to svn://

c4ab519e 08/23/2010 02:46 PM Vitor Sessak

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)....

1c109780 08/23/2010 12:27 PM Vitor Sessak

fix fate breakage, 10l to me (too much copy and pasting)

Originally committed as revision 24881 to svn://

680aefa2 08/23/2010 12:17 PM Vitor Sessak

MP3 float decoder FATE tests

Originally committed as revision 24880 to svn://

07862680 08/23/2010 11:46 AM Vitor Sessak

Add FATE test for WMV8 DRM

Originally committed as revision 24874 to svn://

620918e4 08/23/2010 04:45 AM Reimar Döffinger

Add truemotion1 tests.

Originally committed as revision 24872 to svn://

b56a9c8e 08/22/2010 03:20 PM Måns Rullgård

fate: remove unused variable in

Originally committed as revision 24870 to svn://

715e9be2 08/22/2010 02:24 PM Måns Rullgård

fate: remove pointless fate/fate2 separation

Originally committed as revision 24868 to svn://

8226e977 08/22/2010 11:53 AM Måns Rullgård

fate: allow specifying relative path to config file in

Originally committed as revision 24866 to svn://

3d6bd1c7 08/21/2010 08:57 PM Vitor Sessak

Add FATE test for ANSI/ASCII animation and TTY demuxer

Originally committed as revision 24865 to svn://

b42c483f 08/19/2010 04:51 PM Måns Rullgård

fate-run: use 'run' function in 'ffmpeg' function

Originally committed as revision 24837 to svn://

91de2c0a 08/19/2010 04:51 PM Måns Rullgård

fate: add -v 0 to ffmpeg flags

Originally committed as revision 24836 to svn://

32a15a24 08/17/2010 08:36 PM Måns Rullgård

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://

a1e171df 08/17/2010 02:59 PM Stefano Sabatini

Add hflip filter.

Originally committed as revision 24806 to svn://

4c3fbd4f 08/04/2010 06:47 PM Måns Rullgård

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://

49d63851 08/04/2010 06:57 AM Måns Rullgård

fate: add fft tests

Originally committed as revision 24695 to svn://

dff1fc51 08/04/2010 06:56 AM Måns Rullgård

fate-run: add helper to run things on target

Originally committed as revision 24694 to svn://

42907c6a 08/02/2010 07:44 PM Måns Rullgård

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://

546017fc 08/02/2010 11:56 AM Stefano Sabatini

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://

9c87c037 08/01/2010 11:34 PM Måns Rullgård

lavfi-regression: use different temp file names for each pixfmt test

Originally committed as revision 24658 to svn://

213a4cbb 08/01/2010 11:20 PM Stefano Sabatini

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....

04307697 08/01/2010 11:04 PM Stefano Sabatini


Originally committed as revision 24655 to svn://

73177b6c 08/01/2010 11:04 PM Stefano Sabatini

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://

61a187b0 08/01/2010 03:28 PM Måns Rullgård

fate: fix non-standard use of bc

Originally committed as revision 24651 to svn://