| Branch: | Revision:

ffmpeg / tests @ 0ba84856

# Date Author Comment
0ba84856 04/16/2011 11:19 PM Baptiste Coudurier

In mov muxer, compute avg bitrate in esds

c55780dc 04/14/2011 01:21 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (32 commits)
    libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptions
    libopencore-amr, libvo-amrwbenc: Only check the bitrate when changed
    libopencore-amr, libvo-amrwbenc: Find the closest matching bitrate...
96573c0d 04/12/2011 11:06 PM Vitor Sessak

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

c88caa52 04/08/2011 12:50 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    proto: include os_support.h in network.h
    matroskaenc: don't write an empty Cues element.
    lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
    avio: move extern url_interrupt_cb declaration from avio.h to url.h...
91819763 04/07/2011 04:11 PM Anton Khirnov

matroskaenc: don't write an empty Cues element.

c0e51ec9 04/07/2011 01:32 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    Fix parser: mark av_parser_parse() for removal on next major bump
    swscale: postpone sws_getContext removal until next major bump.
    fate: add AAC LATM test
    mmst: get rid of deprecated AVERRORs
    lxfdec: use AVERROR instead of deprecated AVERROR_NOMEM....
0ba83223 04/06/2011 06:55 PM Janne Grunau

fate: add AAC LATM test

434f2487 04/05/2011 12:31 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (22 commits)
    ac3enc: move extract_exponents inner loop to ac3dsp
    avio: deprecate url_get_filename().
    avio: deprecate url_max_packet_size().
    avio: make url_get_file_handle() internal.
    avio: make url_filesize() internal....
e05a3ac7 04/04/2011 12:59 AM Justin Ruggles

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.

2cae9809 04/04/2011 12:15 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    fate: fix partial run when no samples path is specified
    ARM: NEON fixed-point forward MDCT
    ARM: NEON fixed-point FFT
    lavf: bump minor version and add an APIChanges entry for avio changes
    avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()...
79997def 04/03/2011 06:01 PM Mans Rullgard

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

116758a3 04/03/2011 02:40 PM Michael Niedermayer

Fix yuvj420p scaling artefact, issue1108.

Signed-off-by: Michael Niedermayer <>

78431098 04/03/2011 01:18 AM Anssi Hannula

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

4defa68f 04/01/2011 11:54 PM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    ac3enc: ARM optimised ac3_compute_matissa_size
    ac3: armv6 optimised bit_alloc_calc_bap
    fate: simplify fft test rules
    avio: document avio_alloc_context.
    lavf: make compute_chapters_end less picky....
5085a1a0 04/01/2011 07:53 PM Mans Rullgard

fate: simplify fft test rules

Signed-off-by: Mans Rullgard <>

b41a1089 04/01/2011 02:16 PM Mans Rullgard

fate: add fixed-point fft/mdct tests

Signed-off-by: Mans Rullgard <>

93dfda88 03/30/2011 09:09 PM Baptiste Coudurier

In ipod/mov/mp4 muxer, always write esds descriptor length using 4 bytes,
ipod shuffle doesn't support anything else.

efdad9fb 03/30/2011 03:48 PM Baptiste Coudurier

In mov muxer, fix yuv range in avid atoms used by dnxhd.

3c849307 03/27/2011 12:40 AM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

  • newdev/master:
    dsputil: allow to skip drawing of top/bottom edges.
    Split fate-psx-str-v3 into a video-only and audio-only test.


c56e618b 03/26/2011 08:39 PM Ronald S. Bultje

Split fate-psx-str-v3 into a video-only and audio-only test.

f5607c83 03/26/2011 02:24 AM Peter Ross

Make the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

af555733 03/26/2011 02:24 AM Peter Ross

Make the crop filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

3e2523db 03/26/2011 02:24 AM Peter Ross

libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

2fd41c90 03/24/2011 01:16 AM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

  • newdev/master:
    avio: make udp_set_remote_url/get_local_port internal.
    asfdec: also subtract preroll when reading simple index object
    matroskaenc: remove a variable that's unused after bc17bd9.
    avio: cosmetics - nicer vertical alignment....
4fa0e247 03/23/2011 01:42 AM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

  • newdev/master: (33 commits)
    Fix an infinite loop when RoQ encoded generated a frame with a size greater than the maximum valid size.
    Add kbdwin.o to AC3 decoder
    Detect byte-swapped AC-3 and support decoding it directly....
e6e98234 03/23/2011 01:08 AM Justin Ruggles

Add apply_window_int16() to DSPContext with x86-optimized versions and use it
in the ac3_fixed encoder.

a96c176a 03/23/2011 12:17 AM Luca Barbato

fate: simplify

Factor ffmpeg calls using run_ffmpeg()

7851eb68 03/23/2011 12:17 AM Luca Barbato

fate: add support for multithread testing

Add a THREADS variable to fate calls.

2a569799 03/22/2011 11:07 AM Mans Rullgard

fate: update wmv8-drm reference

This updates the wmv8-drm reference after c47d383.

Signed-off-by: Mans Rullgard <>

c47d3835 03/22/2011 01:28 AM Ronald S. Bultje

vc1: make P-frame deblock filter bit-exact.

8ea36711 03/19/2011 07:05 PM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

Merged-by: Michael Niedermayer <>

Not Pulled:
commit 42cfb3835b5dad327b7dc22740e8b6e482ecfcd2
Author: Mans Rullgard <>
Date: Mon Feb 28 18:06:58 2011 +0000

Remove Sonic experimental audio codec...
5a15602a 03/19/2011 01:35 PM Mans Rullgard

fate: remove stale script

This script was used to import Mike's old fate database and
is no longer needed.

Signed-off-by: Mans Rullgard <>

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

faa6f1c3 03/18/2011 08:57 PM Janne Grunau

get rid of the last svn mentions

487fef2d 03/17/2011 07:51 PM Mans Rullgard

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

323e6fea 03/14/2011 12:45 PM Justin

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

e211e255 02/25/2011 08:24 PM Peter Ross

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

Signed-off-by: Ronald S. Bultje <>

1108f899 02/24/2011 02:52 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 <>

9b73f786 02/24/2011 02:04 AM Justin Ruggles

vmdaudio: output audio samples for standalone silent blocks.

Signed-off-by: Ronald S. Bultje <>

5b54d4b3 02/16/2011 11:39 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 <>

50d71404 02/15/2011 09:40 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 <>

646739a0 02/11/2011 11:47 PM Baptiste Coudurier

Fix qtrle regression test, actually test qtrle.

Signed-off-by: Mans Rullgard <>

c3beafa0 02/02/2011 08:00 PM 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....

79dca23d 01/28/2011 05:02 PM Mans Rullgard

Update mpegts test reference

The output was changed by a7827a17c6b3388322350456d445c94b3a82cd25.

Signed-off-by: Mans Rullgard <>

535638b5 01/26/2011 12:02 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 <>

e63dd5fb 01/24/2011 10:26 PM Mans Rullgard

fate: add h264 test for extreme cases in planar prediction

Signed-off-by: Mans Rullgard <>

76edf2c1 01/22/2011 03:08 AM Mans Rullgard

fate: add lossless h264 test

Signed-off-by: Mans Rullgard <>

f4b1e21a 01/22/2011 12:30 AM 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.

a4f5af13 01/19/2011 12:51 PM Justin Ruggles

Add regression test for stereo s16le in voc.

Signed-off-by: Mans Rullgard <>

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