summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4'James Almer2017-10-033-6/+6
|\ | | | | | | | | | | | | * commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4': fate: Rename WMV8_DRM decoder tests to WMV3_DRM Merged-by: James Almer <jamrial@gmail.com>
| * fate: Rename WMV8_DRM decoder tests to WMV3_DRMDiego Biurrun2017-02-283-6/+6
| | | | | | | | The codec used in those files is WMV3/WMV9, not WMV2/WMV8.
* | Merge commit '698ac8f9cabd053f2c19346a77b92f8eae4218fc'James Almer2017-10-036-33/+20
|\ \ | |/ | | | | | | | | | | * commit '698ac8f9cabd053f2c19346a77b92f8eae4218fc': fate: Make null comparison method more useful Merged-by: James Almer <jamrial@gmail.com>
| * fate: Make null comparison method more usefulDiego Biurrun2017-02-273-11/+8
| | | | | | | | This allows dropping /dev/null as reference value when no output is generated.
* | Merge commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7'James Almer2017-10-0316-73/+73
|\ \ | |/ | | | | | | | | | | * commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7': Use modern avconv syntax for codec selection in documentation and tests Merged-by: James Almer <jamrial@gmail.com>
| * Use modern avconv syntax for codec selection in documentation and testsDiego Biurrun2017-02-2710-48/+48
| |
| * fate: Use bitexact optimizations in the svq3-2 testDiego Biurrun2017-02-272-10/+10
| | | | | | | | | | This fixes the test with mmxext disabled because the current reference frame hashes correspond to the non-bitexact mmxext optimizations.
* | libavcodec/blockdsp : add AVX versionMartin Vignali2017-10-031-2/+2
| | | | | | | | | | | | | | Also modify the required alignment, to 32 instead of 16 for several codecs Signed-off-by: James Almer <jamrial@gmail.com>
* | fate: Add a test for latm-in-dvb auto-detection, ticket #6657.Carl Eugen Hoyos2017-10-033-0/+29
| |
* | avformat/mxfenc: Fix labels for IEC PAL DV 420Michael Niedermayer2017-10-031-1/+1
| |
* | fate: disable fate-svq3-2James Almer2017-10-021-1/+2
| | | | | | | | | | | | | | | | The first frame changes depending on --enable-memory-poisoning being used to configure ffmpeg or not, even if requesting bitexact decoding. Disable the test until this is fixed. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '8e4d4efc67e154fdffd65964a7cfeef740320827'James Almer2017-10-023-2/+34
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '8e4d4efc67e154fdffd65964a7cfeef740320827': fate: Add another SVQ3 test to increase coverage Also included a fix from da8093f712d625db7ce4a2526fb52994e01921ec. The demuxer option "-ignore_editlist 1 " is temporarily added to the test as well, to workaround a regression in the edit list mov parsing code. Merged-by: James Almer <jamrial@gmail.com>
| * fate: Add another SVQ3 test to increase coverageDiego Biurrun2017-02-243-2/+28
| |
| * mkv: Update the seek test to match 5d3953a5dcLuca Barbato2017-02-221-13/+13
| |
| * fate: Update fate-lavf-mkv after commit 5d3953a5dcJohn Stebbins2017-02-211-2/+2
| |
| * fate: Add webp alpha testMark Thompson2017-02-213-2/+11
| |
* | libavcodec/exr : add x86 SIMD for predictorMartin Vignali2017-10-011-0/+23
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/hevc_sei: Support HEVC paired fields.Brian Matherly2017-09-302-1/+21
| | | | | | | | | | | | | | Correctly set the interlaced_frame and top_field_first fields when pic_struct indicates paired fields. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: increase fuzz for refcmp filter testsTobias Rapp2017-09-291-4/+4
| | | | | | | | | | | | Should fix failing tests on GNU/kFreeBSD x86_32. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | movenc-test: Add tests for negative cts offsetsMartin Storsjö2017-09-281-0/+11
| | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add tests for psnr and ssim filterTobias Rapp2017-09-277-0/+237
| | | | | | | | | | | | | | | | Metadata filter output is passed through an Awk script comparing floats against reference values with specified "fuzz" tolerance to account for architectural differences (e.g. x86-32 vs. x86-64). Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate/fits: add missing png & gif dependenciesParas Chadha2017-09-242-4/+4
| | | | | | | | | | Signed-off-by: Paras Chadha <paraschadha18@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/interlace: add support for 10 and 12 bitThomas Mundt2017-09-234-0/+44
| | | | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | fate: add mxf_dv25/dvcpro50 regression testsTobias Rapp2017-09-187-0/+126
| | | | | | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate: add tinterlace lowpass filtering testsThomas Mundt2017-09-173-0/+34
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add an exrdsp testJames Almer2017-09-175-0/+74
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/interlace: prevent over-sharpening with the complex low-pass filterThomas Mundt2017-09-151-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The complex vertical low-pass filter slightly over-sharpens the picture. This becomes visible when several transcodings are cascaded and the error potentises, e.g. some generations of HD->SD SD->HD. To prevent this behaviour the destination pixel must not exceed the source pixel when the average of the pixels above and below is less than the source pixel. And the other way around. Tested and approved in a visual transcoding cascade test by video professionals. SSIM/PSNR test with the first generation of an HD->SD file as a reference against the 6th generation(3 x SD->HD HD->SD): Results without the patch: SSIM Y:0.956508 (13.615881) U:0.991601 (20.757750) V:0.993004 (21.551382) All:0.974405 (15.918463) PSNR y:31.838009 u:48.424280 v:48.962711 average:34.759466 min:31.699297 max:40.857847 Results with the patch: SSIM Y:0.970051 (15.236232) U:0.991883 (20.905857) V:0.993174 (21.658049) All:0.981290 (17.279202) PSNR y:34.412108 u:48.504454 v:48.969496 average:37.264644 min:34.310637 max:42.373392 Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vf_fps: when reading EOF, using current_pts to duplicate the last frame if ↵Thierry Foucu2017-09-154-2/+10
| | | | | | | | | | | | | | | | | | needed. Fix ticket #2674 Tested with examples from ticket 2674. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mxfenc: Correct the Sample rate for PCM outside D10Michael Niedermayer2017-09-122-4/+4
| | | | | | | | | | | | Based on mail from IRT Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm: use perf API on Linux ARM*Clément Bœsch2017-09-082-25/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ARM platforms, accessing the PMU registers requires special user access permissions. Since there is no other way to get accurate timers, the current implementation of timers in FFmpeg rely on these registers. Unfortunately, enabling user access to these registers on Linux is not trivial, and generally involve compiling a random and unreliable github kernel module, or patching somehow your kernel. Such module is very unlikely to reach the upstream anytime soon. Quoting Robin Murphin from ARM: > Say you do give userspace direct access to the PMU; now run two or more > programs at once that believe they can use the counters for their own > "minimal-overhead" profiling. Have fun interpreting those results... > > And that's not even getting into the implications of scheduling across > different CPUs, CPUidle, etc. where the PMU state is completely beyond > userspace's control. In general, the plan to provide userspace with > something which might happen to just about work in a few corner cases, > but is meaningless, misleading or downright broken in all others, is to > never do so. As a result, the alternative is to use the Performance Monitoring Linux API which makes use of these registers internally (assuming the PMU of your ARM board is supported in the kernel, which is definitely not a given...). While the Linux API is obviously cross platform, it does have a significant overhead which needs to be taken into account. As a result, that mode is only weakly enabled on ARM platforms exclusively. Note on the non flexibility of the implementation: the timers (native FFmpeg vs Linux API) are selected at compilation time to prevent the need of function calls, which would result in a negative impact on the cycle counters.
* | fate: add test for asetnsamples filter with padding disabledTobias Rapp2017-09-083-4/+532
| | | | | | | | | | | | | | | | | | Adds another test for asetnsamples filter where padding of the last frame is switched off. Renames the existing test to make the difference obvious. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | ffprobe: use consistent string for unspecified color_range valueTobias Rapp2017-09-077-12/+12
| | | | | | | | | | | | | | Makes the handling of unspecified/unknown color_range values on stream level consistent to the value used on frame level. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate: fix fate-lavf-fits dependenciesJames Almer2017-09-061-1/+1
| | | | | | | | We need the fits muxer/demuxer.
* | fate: add tests for some video source filtersTobias Rapp2017-08-319-0/+169
| | | | | | | | | | | | | | | | | | | | Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc, smptebars, smptehdbars and yuvtestsrc filters. Also adds a test for testsrc2 filter with rgb+alpha. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate/flvenc: set bitexact output format flag explicitlyJames Almer2017-08-301-1/+1
| | | | | | | | | | | | Using the encoder flags to set the muxer in bitexact mode is deprecated. Signed-off-by: James Almer <jamrial@gmail.com>
* | fate/pixlet : add test for rgbMartin Vignali2017-08-313-0/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: stop using deprecated filter syntax in hls testsJames Almer2017-08-301-3/+3
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | fate: remove usage of deprecated AVCodecContext.me_method in vsynth snow testsJames Almer2017-08-301-2/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | FATE: Add FITS testsParas Chadha2017-08-3022-0/+220
| | | | | | | | Signed-off-by: Paras Chadha <paraschadha18@gmail.com>
* | ffmpeg options: Enable trailing ? for map_channelpkviet2017-08-253-0/+10
| | | | | | | | | | | | | | | | | | | | | | The -map option allows for a trailing ? so that an error is not thrown if the input stream does not exist. This capability is extended to the map_channel option. This allows a ffmpeg command not to break if an input channel does not exist, which can be of use (for instance, scripts processing audio channels with sources having unset number of audio channels). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm/vf_blend: rename addition128 and difference128 to grainmerge and ↵James Almer2017-08-241-2/+2
| | | | | | | | | | | | | | grainextract This was missing from f8d0689d3f. Fixes checkasm.
* | fate: add test vector aac-al04sf_48Alex Converse2017-08-241-0/+4
| |
* | avformat/mov: Fix trampling of ctts during seeks when sidx support is enabled.Dale Curtis2017-08-242-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When sidx box support is enabled, the code will skip reading all trun boxes (each containing ctts entries for samples inthat box). If seeks are attempted before all ctts values are known, the old code would dump ctts entries into the wrong location. These are then used to compute pts values which leads to out of order and incorrectly timestamped packets. This patch fixes ctts processing by always using the index returned by av_add_index_entry() as the ctts_data index. When the index gains new entries old values are reshuffled as appropriate. This approach makes sense since the mov demuxer is already relying on the mapping of AVIndex entries to samples for correct demuxing. As a result of this all ctts entries are now 1-count. A followup change will be submitted to remove support for > 1 count entries which will simplify seeking. Notes for future improvement: Probably there are other boxes (stts, stsc, etc) that are impacted by this issue... this patch only attempts to fix ctts since it completely breaks packet timestamping. This patch continues using an array for the ctts data, which is not the most ideal given the rearrangement that needs to happen (via memmove as new entries are read in). Ideally AVIndex and the ctts data would be set-type structures so addition is always worst case O(lg(n)) instead of the O(n^2) that exists now; this slowdown is noticeable during seeks. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add overlay filter tests with alphaMarton Balint2017-08-1611-0/+79
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/vf_weave: fix top vs bottom field orderPaul B Mahol2017-08-161-1/+1
| | | | | | | | Fixes #6590.
* | Add single precision planar RGB pixel formatsVittorio Giovara2017-08-151-0/+20
| | | | | | | | | | | | Add a pixel format flag to identify this family. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | lavf/movenc.c: Set sgpd and sbgp atoms to represent decoder delay for AAC.Sasi Inguva2017-08-103-10/+10
| | | | | | | | | | | | | | | | According to https://developer.apple.com/library/content/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html and ISO-IEC-14496-12 Section 10.1.1.1 and 10.1.1.3 Signed-off-by: Sasi Inguva <isasi@google.com> Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvenc: Change quantizer dead zone default to 7Michael Niedermayer2017-08-0810-32/+32
| | | | | | | | | | | | This improves the quality and reduces the "blocking" in flat areas Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: update ref files for gray pixel formats changesJames Almer2017-08-082-3/+8
| |
* | avfilter: add support for GRAY9 and GBRAP10Paul B Mahol2017-08-071-0/+1
| |
OpenPOWER on IntegriCloud