Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-12fate: use correct uint32 layerMark Reid
2020-09-12avcodec/exr: add support data windows larger or outside display windowMark Reid
2020-09-08fate: disable automatic conversions on many tests.Nicolas George
Explicitly insert the scale or aresample filter where it would have been inserted by the negotiation. Re-enable conversions if it cannot be done easily. If a conversion is needed in a test, we want to know about it. If the negotiation changes and makes new conversion necessary, we want to know about it even more.
2020-09-07fate: add wav chapters testPaul B Mahol
2020-08-22fate: add fate-sub-dvb testClément Bœsch
The dvbsubtest_filter.ts sample is a filtered version of the Videolan sample database (samples/sub/dvbsub/dvbsubtest.ts) using Project X. It originates from ticket #8844.
2020-08-18FATE: fix copy & paste for minterpolate testLimin Wang
Reported-by: Nicolas George <george@nsup.org> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-08-10FATE/dnn: add unit test for dnn avgpool layerTing Fu
'make fate-dnn-layer-avgpool' to run the test Signed-off-by: Ting Fu <ting.fu@intel.com> Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
2020-08-07fate: cosmeticsZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2020-08-07fate: add adpcm_argo testZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2020-08-03test: hlsenc: Use unique init/segment file names for the fmp4_ac3 testMartin Storsjö
Previously, the hls-fmp4 and hls-fmp4_ac3 tests used the same file names for init and segment files, which occasionally could cause corruption and failed tests, if the input files for both tests are generated in parallel, as they could overwrite each other. This happened to work some of the time, as the fmp4_ac3 test actually only checked the init segment file (which the fmp4 test case never wrote, due to using the incorrect hls_segment_type option) and the fmp4 test case always regenerated the input files due to mismatched target and file names. Signed-off-by: Martin Storsjö <martin@martin.st>
2020-08-03test: hlsenc: Make the hls_fmp4 sample file name match the targetMartin Storsjö
Previously, with the file name not matching the target, the files were regenerated every time fate is rerun - contrary to the other test targets in the same file. (While regenerating it every time might be desireable, as that's what the test is about, the file at least has a dependency on the ffmpeg executable, making them regenerated every time the executable is updated - and this change at least makes it consistent with the rest.) Signed-off-by: Martin Storsjö <martin@martin.st>
2020-08-03fate/aac: add missing bitexact flag to some encoder testsJames Almer
Will prevet FATE from breaking once LIBAVCODEC_VERSION_MINOR is bumped to 100. Reported-by: zane Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2020-07-21fate: add adpcm_ima_apm encoding testZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2020-07-07tests/fate/hlsenc: add testcase of ac3 surround sound input in hlsencSteven Liu
add probeaudiostream for get audio stream's codec_name,codec_time_base, sample_fmt,channels and channel_layout. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2020-06-19fate: add yuv420p10 and yuv422p10 tests for overlay filterLimin Wang
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-06-04fate/vcodec: use the encoder private option for frame skip compare functionJames Almer
Stop using the deprecated global option Signed-off-by: James Almer <jamrial@gmail.com>
2020-06-02fate: add adpcm_ima_ssi encoding testZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-28dnn-layer-mathunary-test: add unit test for absTing Fu
Signed-off-by: Ting Fu <ting.fu@intel.com> Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-05-25fate: add tests for h264 and vp9 video enc parameters exportAnton Khirnov
2020-05-23lavfi: add untile filter.Nicolas George
2020-05-20fate: add adpcm_ima_cunning testsZane van Iperen
single: Single-track track{0,1}: Dual-track trunc-t1: Truncated track 1 trunc-t2-track{0,1}: Fully-truncated track 2 trunc-t2a-track{0,1}: Partially-truncated track 2 trunc-h2: Truncated track 2 header Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-20avcodec/exr: output float pixels in float pixel formatMark Reid
changes since v1 - default behavior, no longer hidden behind decoder parameter - updated tests to reflect change Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-19avformat/matroskaenc: Don't ignore tags of chapters written lateAndreas Rheinhardt
The Matroska muxer writes the Chapters early when chapters were already available when writing the header; in this case any tags pertaining to these chapters get written, too. Yet if no chapters had been supplied before writing the header, Chapters can also be written when writing the trailer if any are supplied. Tags belonging to these chapters were up until now completely ignored. This commit changes this: Writing the tags belonging to chapters has been moved to mkv_write_chapters(). If mkv_write_tags() has not been called yet (i.e. when chapters are written when writing the header), the AVIOContext for writing the ordinary Tags element is used, but not output, as this is left to mkv_write_tags() in order to only write one Tags element. Yet if mkv_write_tags() has already been called, mkv_write_chapters() will output a Tags element of its own which only contains the tags for chapters. When chapters are available initially, the corresponding tags will now be the first tags in the Tags element; but the ordering of tags in Tags is irrelevant anyway. This commit also makes chapter_id_offset local to mkv_write_chapters() as it is used only there and not reused at all. Potentially writing a second Tags element means that the maximum number of SeekHead entries had to be incremented. All the changes to FATE result from the ensuing increase in the amount of space reserved for the SeekHead (21 bytes more). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-05-19avformat/matroskaenc: Don't reserve space for duration when unseekableAndreas Rheinhardt
We won't be able to seek back to write the actual duration anyway. FATE-tests using the md5pipe command had to be updated due to this change. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-05-15checkasm: add hscale testJosh de Kock
This tests the hscale 8bpp to 14/18bpp functions with different filter sizes. Signed-off-by: Josh de Kock <josh@itanimul.li>
2020-05-14FATE: add fate test for minterpolate filterLimin Wang
have tested on linux x86_32/64, mingw32/64 arm & mips qemu Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-05-14fate: add scdet metadata testLimin Wang
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-05-14FATE: add a test for colorbalanceLimin Wang
Tested on x86-32/64, mingw32/64, arm & mips qemu Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-05-12test: Add codecview testMichael Niedermayer
2020-05-12tests: Add pp7, spp tests based on pp testMichael Niedermayer
2020-05-10fate: add signalstats 8bit and 10bit testLimin Wang
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-05-06tests/fate/hlsenc: rename fate macro define from FATE_AFILTER to FATE_HLSENCSteven Liu
and add fate-hlsenc for test all of the testcase Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2020-04-26fate: hevc: Skip a few large testcases if large tests are disabledMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-04-26fate: Skip the dnxhd-uhd-hr-sq tests of large tests are disabledMartin Storsjö
These tests are also in the same size range as the previously skipped 2k and 4k tests. Signed-off-by: Martin Storsjö <martin@martin.st>
2020-04-21avformat/matroskaenc: Don't waste bytes on length fieldsAndreas Rheinhardt
Several EBML Master elements for which a good upper bound of the final length was available were nevertheless written without giving an upper bound of the final length to start_ebml_master(), so that their length fields were eight bytes long. This has been changed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-20fate/truehd: add a test for the truehd_core bitstream filterJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-04-20fate: move TrueHD tests to their own fileJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-04-19fate/matroska: Add test for chapters, Vorbis and WebM DASHAndreas Rheinhardt
Moreover, putting the Cues in front of the Clusters by reserving space in advance is also tested. The new capability of using ffprobe during a remux/transcode test are used here for information about the chapters. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-13avformat/matroskaenc: Make output more deterministicAndreas Rheinhardt
Using random values for TrackUID and FileUID (as happens when the AVFMT_FLAG_BITEXACT flag is not set) has the obvious downside of making the output indeterministic. This commit mitigates this by writing the potentially random values with a fixed size of eight byte, even if their actual values would fit into less than eight bytes. This ensures that even in non-bitexact mode, the differences between two files generated with the same settings are restricted to a few bytes in the header. (Namely the SegmentUID, the TrackUIDs (in Tracks as well as when referencing them via TagTrackUID), the FileUIDs (in Attachments as well as in TagAttachmentUID) as well as the CRC-32 checksums of the Info, Tracks, Attachments and Tags level-1-elements.) Without this patch, there might be an offset/a size difference between two such files. The FATE-tests had to be updated because the fixed-sized UIDs are also used in bitexact mode. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-07dnn-layer-mathbinary-test: add unit test for subtractionGuo, Yejun
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-04-03fate/matroska: Add test for updating CodecPrivate from packet sidedataAndreas Rheinhardt
containing updated extradata, in this case a new FLAC streaminfo. Furthermore, it also tests that the Matroska muxer is able to preserve uncommon channel layouts by adding Vorbis comments to the CodecPrivate. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-02avformat/wvdec: Export version as extradataAndreas Rheinhardt
It might be used by the Matroska muxer. This is also the reason why the FATE-tests for muxing WavPack into Matroska needed to be updated: They now write the correct version 4.07 and not 4.03 as before. Reviewed-by: David Bryant <david@wavpack.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-02avformat/matroskadec: Add a workaround for missing WavPack extradataAndreas Rheinhardt
mkvmerge versions 6.2 to 40.0 had a bug that made it not propagate the WavPack extradata (containing the WavPack version) during remuxing from a Matroska file; currently our demuxer would treat every WavPack block encountered as invalid data (unless the WavPack stream is to be discarded (i.e. the streams discard is >= AVDISCARD_ALL)) and try to resync to the next level 1 element. Luckily, the WavPack version is currently not really important; so we fix this problem by assuming a version. David Bryant, the creator of WavPack, recommended using version 0x410 (the most recent version) for this. And this is what this commit does. A FATE-test for this has been added. Reviewed-by: David Bryant <david@wavpack.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-03-26avformat/matroskaenc: Avoid allocations for SeekHeadAndreas Rheinhardt
Up until e7ddafd5, the Matroska muxer wrote two SeekHeads: One at the beginning referencing the main level 1 elements (i.e. not the Clusters) and one at the end, referencing the Clusters. This second SeekHead was useless and has therefore been removed. Yet the SeekHead-related functions and structures are still geared towards this usecase: They are built around an allocated array of variable size that gets reallocated every time an element is added to it although the maximum number of Seek entries is a small compile-time constant, so that one should rather include the array in the SeekHead structure itself; and said structure should be contained in the MatroskaMuxContext instead of being allocated separately. The earlier code reserved space for a SeekHead with 10 entries, although we currently write at most 6. Reducing said number implied that every Matroska/Webm file will be 84 bytes smaller and required to adapt several FATE tests; furthermore, the reserved amount overestimated the amount needed for for the SeekHead's length field and how many bytes need to be reserved to write a EBML Void element, bringing the total reduction to 89 bytes. This also fixes a potential segfault: If !mkv->is_live and if the AVIOContext is initially unseekable when writing the header, the SeekHead is already written when writing the header and this used to free the SeekHead-related structures that have been allocated. But if the AVIOContext happens to be seekable when writing the trailer, it will be attempted to write the SeekHead again which will lead to segfaults because the corresponding structures have already been freed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-03-26avformat/webmdashenc: Don't use custom option for bitexactnessAndreas Rheinhardt
The WebM DASH Manifest muxer can write manifests for live streams and these contain an entry that depends on the time the manifest is written; an AVOption to make the output reproducible has been added for tests. But this is unnecessary, as there already is a method for reproducible output: The AVFMT_FLAG_BITEXACT-flag of the AVFormatContext. Therefore this commit removes the custom option. Given that the description of said option contained "private option - users should never set this" and that it was not documented in muxers.texi, no deprecation period for this option seemed necessary. The commands of the FATE-tests for this muxer have been changed to no longer use this option. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-03-16fate/ffmpeg: add test for time limited sub2video instanceJan Ekström
Utilizes a subpicture sample with one decodable subpicture for the test. Based on a failing test case in reported by Michael in https://ffmpeg.org/pipermail/ffmpeg-devel/2019-February/240398.html which at the time had no test case for it. Additionally, this is the first test case for the presentation graphics format.
2020-03-16fate/ffmpeg: add a second, simple sub2video testJan Ekström
2020-03-10fate/adpcm: add adpcm_ima_alp testsZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-22fate/adpcm: add adpcm_ima_apm testsZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-08fate/adpcm: add adpcm_ima_ssi testsZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>