| Branch: | Revision:

ffmpeg / tests / ref @ e3114a9c

# Date Author Comment
e3114a9c 05/13/2011 03:10 AM Michael Niedermayer

Add checksums specific to BE machines after last swscale update.

Signed-off-by: Michael Niedermayer <>

72153419 05/13/2011 02:40 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (33 commits)
    rtpdec_qdm2: Don't try to parse data packet if no configuration is received
    ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand.
    ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()...
304e983d 05/12/2011 11:07 AM Baptiste Coudurier

movenc: fix yuv range in avid atoms used by dnxhd.

yuv range: full 1 / normal 2

Signed-off-by: Anton Khirnov <>

c8f487de 05/11/2011 11:15 PM Ronald S. Bultje

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

83630f79 05/11/2011 10:19 PM Michael Niedermayer

regtests: add grayscale qtrle

Signed-off-by: Michael Niedermayer <>

0f6bbc5a 05/11/2011 02:47 PM Michael Niedermayer

h264-fate: Fix 10bit H264 tests on big endian.

framecrc returns different values when one swiches endianness,
this apparently has been missed by "the fork" who added the 10bit fate
tests. Sorry for missing this during the merge.
Signed-off-by: Michael Niedermayer <>

59eb12fa 05/11/2011 03:47 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (30 commits)
    AVOptions: make default_val a union, as proposed in AVOption2.
    arm/h264pred: add missing argument type.
    h264dsp_mmx: place bracket outside #if/#endif block.
    lavf/utils: fix ff_interleave_compare_dts corner case....
3732c483 05/10/2011 10:57 PM Michael Niedermayer

error_concealment: Use previous pictures motion vectors when the current ones have been lost.

Looks better for some cases, worse for others, overall not much difference.
Its more correct though.
Signed-off-by: Michael Niedermayer <>

ecc29730 05/10/2011 11:53 AM Vitor Sessak

lavf/utils: fix ff_interleave_compare_dts corner case.

This should fix behavior introduced by commit
96573c0d7605672d69b42ae1dcf18764ce47c71a. 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...

23d10ce0 05/10/2011 11:24 AM Ronald S. Bultje

fate: add 10-bit H264 tests.

3dd779eb 05/08/2011 10:22 PM Michael Niedermayer

swscale: implement Nbit->non native endian 16bit. Fixes v210.
Signed-off-by: Michael Niedermayer <>

f2bfdc38 05/08/2011 09:59 PM Michael Niedermayer

fate: add 9/10 BE pixdesc checksums
Signed-off-by: Michael Niedermayer <>

807a058e 05/08/2011 05:53 PM Baptiste Coudurier

v210dec: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <>

b9e60849 05/08/2011 12:27 PM Baptiste Coudurier

swscale: 9,10 bits pixel format output support
Signed-off-by: Michael Niedermayer <>

35d3d44a 05/08/2011 11:15 AM Baptiste Coudurier

adpcmenc: fix QT IMA ADPCM encoder
Signed-off-by: Michael Niedermayer <>

b3d5a4b0 05/08/2011 11:13 AM Baptiste Coudurier

adpcmdec: Fix QT IMA ADPCM decoder
Signed-off-by: Michael Niedermayer <>

b000b86e 05/05/2011 01:30 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (23 commits)
    doc: Check standalone compilation before submitting new components.
    Fix standalone compilation of pipe protocol.
    Fix standalone compilation of ac3_fixed encoder.
    Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders....
7d2e03af 05/04/2011 11:40 AM Ronald S. Bultje

vc1: make overlap filter for I-frames bit-exact.

b5f20892 05/04/2011 12:22 AM Michael Niedermayer

msvideo1 regression test

Signed-off-by: Michael Niedermayer <>

148ffcd2 05/02/2011 04:38 PM Reimar Döffinger

Make DV (sub) demuxer set proper pkt->pos values.

This makes the avi demuxer create packets with proper pos values
with the file from ticket #140.

7c152a45 04/29/2011 08:46 PM 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...

500bf397 04/29/2011 07:53 PM Michael Niedermayer

flashsv2enc: regression test.
Signed-off-by: Michael Niedermayer <>

749d16ce 04/29/2011 03:00 AM Michael Niedermayer

Checksum update due to (should make fate green again)
ffmpeg | branch: master | Anton Khirnov <> | Tue Apr 26 09:59:07 2011 +0000| [f8fec0505294a4c05e5cfd9323e04258db465314] | committer: Anton Khirnov

mpegtsenc: make PMT PID really start on pmt_start_pid...
94da5425 04/28/2011 08:25 PM Michael Niedermayer

Try to fix big endian fate
Signed-off-by: Michael Niedermayer <>

f8fec050 04/28/2011 05:26 AM Anton Khirnov

mpegtsenc: make PMT PID really start on pmt_start_pid

c90626b2 04/28/2011 05:25 AM Peter Ross

hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

Signed-off-by: Anton Khirnov <>

a1f4d075 04/28/2011 05:25 AM Peter Ross

crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

Signed-off-by: Anton Khirnov <>

1afbae10 04/28/2011 05:25 AM Peter Ross

libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

Signed-off-by: Anton Khirnov <>

d7e5aeba 04/27/2011 01:51 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (23 commits)
    ac3enc: correct the flipped sign in the ac3_fixed encoder
    Eliminate pointless '#if 1' statements without matching '#else'.
    Add AVX FFT implementation.
    Increase alignment of av_malloc() as needed by AVX ASM....
79ee8977 04/26/2011 09:19 PM Justin Ruggles

ac3enc: correct the flipped sign in the ac3_fixed encoder

fbfcc8f1 04/24/2011 08:38 PM Michael Niedermayer

avi: try to synchronize the points in time of the starts of streams after seeking.
Signed-off-by: Michael Niedermayer <>

2d2b5a14 04/17/2011 09:59 PM Michael Niedermayer

10l, commit that should have been stashed into the merge.
Signed-off-by: Michael Niedermayer <>

c4079844 04/17/2011 09:43 PM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    ac3dec: fix processing of delta bit allocation information.
    vc1: fix fate-vc1 after previous commit.
    wmv3dec: fix playback of complex WMV3 files using simple_idct.
    make av_dup_packet() more cautious on allocation failures...
fd0c3403 04/17/2011 08:46 PM Diego Biurrun

Update regtest checksums after revision 6001dad.

The string "FFmpeg" was replaced by "Libav" in metadata that
got encoded in file headers.

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.

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

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

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.

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.

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

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

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

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

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

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

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

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