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
path: root/tests
AgeCommit message (Collapse)Author
2022-04-08fate: update reference files after the recent dash manifest muxer changesJames Almer
Missed in 487b49d8f2e1e81dce86230fc957ca2ee9de00ee. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit aa0829d834232b13e513fb88b2b9a2b74918e05c)
2020-05-19tests/fate/lavf-video.mak: fix fate-lavf-gif dependenciesMichael Niedermayer
The gif test should depend on gif not fits Regression since: ac4b5d86222006fa71ffe5922e1a34f1422507d8 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 24a5e873b3dce4eaa19159183bc3a029b9dd953d) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-31avcodec/fitsdec: Use lrint()Michael Niedermayer
Fixes: fate-fitsdec-bitpix-64 Possibly Fixes: -nan is outside the range of representable values of type 'unsigned short' Possibly Fixes: 17769/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5678314672357376 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 37f31f4e509fe4ccc56a64edaa6fa3d95ee20466) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-31avcodec/vp56rac: delay signaling an error on truncated inputMichael Niedermayer
A threshold of 1 is sufficient for simple_dump_cut.webm, 10 is used just to be sure the next truncated file doesnt cause the same issue Obvious alternative fixes are to simply accept that the file is broken or to write some advanced error concealment or to simply accept that the decoder wont stop at the end of input. Fixes: Ticket 8069 (artifacts not the differing md5 which was there before 1afd246960202917e244c844c534e9c1e3c323f5) Fixes: simple_dump_cut.webm Fixes: regression of 1afd246960202917e244c844c534e9c1e3c323f5 fate-vp5 changes because the last frame is truncated and now handled differently. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b6b9ac5698c8f911841b469af77199153278c55c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-31tests: Fix bash errors in lavf_container tests.Andrey Semashev
Because the lavf_container is sometimes called with only 2 arguments, fate tests produce bash errors like this: tests/fate-run.sh: 299: test: =: unexpected operator This commit fixes this. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 6d9d053edbedbb0d9fc0a97141b7524d8658be58) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-08-05compat/cuda: Change inclusion guardsAndreas Rheinhardt
cuda_runtime.h as well as dynlink_loader.h used nonstandard inclusion guards with an AV_ prefix, although these files are not in an libav*/ path. So change the inclusion guards and adapt the ref file of the source fate test accordingly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2019-07-15fate: add hls fmp4 segment type test caseSteven Liu
Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-07-12avformat/movenc: use unspecified language by defaultMarton Balint
English was used before. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-07-11fate: add hls_list_size fate test caseSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-07-11fate: add hls_init_time option fateSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-07-07lavc/h265_profile_level: Add unit testMark Thompson
Operates in the same way as the h264-levels test.
2019-06-12fate: add VP4 testPeter Ross
2019-06-12tests/ref/fate/nuv-rtjpeg: Preserve the original timestampsMichael Niedermayer
The tests previously rounded the timestamps. Its better in a fate test to preserve the data from the demuxer and decoder. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-06-12checkasm/vf_gblur: add test for horiz_slice simdRuiling Song
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
2019-06-10fate: add dst decoder testPeter Ross
2019-05-14avutil: Add missing reference files for pixdesc fate testAndreas Rheinhardt
Commit cd48318035 added support for NV24 and NV42, including several fate tests for these formats, but did not include the reference files for the tests filter-pixdesc-nv24 and filter-pixdesc-nv42. As a result, these two tests were broken. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-05-12swscale: Add test for isSemiPlanarYUV to pixdesc_queryPhilip Langdale
Lauri had asked me what the semi planar formats were and that reminded me that we could add it to pixdesc_query so we know exactly what the list is.
2019-05-12swscale: Add support for NV24 and NV42Philip Langdale
The implementation is pretty straight-forward. Most of the existing NV12 codepaths work regardless of subsampling and are re-used as is. Where necessary I wrote the slightly different NV24 versions. Finally, the one thing that confused me for a long time was the asm specific x86 path that did an explicit exclusion check for NV12. I replaced that with a semi-planar check and also updated the equivalent PPC code, which Lauri kindly checked.
2019-05-12avutil: Add NV24 and NV42 pixel formatsPhilip Langdale
These are the 4:4:4 variants of the semi-planar NV12/NV21 formats. These formats are not used much, so we've never had a reason to add them until now. VDPAU recently added support HEVC 4:4:4 content and when you use the OpenGL interop, the returned surfaces are in NV24 format, so we need the pixel format for media players, even if there's no direct use within ffmpeg. Separately, there are apparently webcams that use NV24, but I've never seen one.
2019-05-08avformat/matroskaenc: Don't waste bytes writing level 1 elementsAndreas Rheinhardt
Up until now, the length field of most level 1 elements has been written using eight bytes, although it is known in advance how much space the content of said elements will take up so that it would be possible to determine the minimal amount of bytes for the length field. This commit changes this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2019-05-08avformat/matroskaenc: Write CRC-32 in non-seekable modeAndreas Rheinhardt
Given that in both the seekable as well as the non-seekable mode dynamic buffers are used to write level 1 elements and that now no seeks are used in the seekable case any more, the two modes can be combined; as a consequence, the non-seekable mode automatically inherits the ability to write CRC-32 elements. There are no differences in case the output is seekable; when it is not and writing CRC-32 elements is disabled, there can still be minor differences because before this commit, the EBML ID and length field were counted towards the cluster size limit; now they no longer are. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2019-05-08avformat/matroskaenc: Don't waste bytes in EBML HeaderAndreas Rheinhardt
Up until now the EBML Header length field has been written with eight bytes, although the EBML Header is always so small that only one byte is needed for it. This patch saves seven bytes for every Matroska/Webm file. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2019-05-03fate/checkasm: add missing v210dec testJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2019-05-02checkasm: add test for v210decJames Darnley
2019-04-24tests/fate-run: New variable hostexecsuf for local fate tools.Carl Eugen Hoyos
Allows running fate in-tree on wsl with msvc.
2019-04-22lavf/oggparsevorbis: Fix change the case of metadata keys issueJun Zhao
The spec in https://xiph.org/vorbis/doc/v-comment.html states that the metadata keys are case-insensitive, so don't change the case and update the fate test case. Fix #7784 Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-04-19tests: don't include TARGET_PATH in the sample path needlesslyHendrik Leppkes
The transcode() helper function will already prepend the TARGET_PATH to the sample path, if its a relative path. This avoids an issue on Windows, where the relative path check could fail.
2019-04-19tests: Add EXESUF to program calls.Carl Eugen Hoyos
Fixes fate in Windows subsystem for Linux.
2019-04-19rename hls_segment_filename in fate-hls-segment-size for fateSteven Liu
2019-04-19add tests/ref/fate/hls-segment-size for the fate testSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-04-17tests/fate: add fate-hls-segment-size for hls_segment_size testSteven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-04-14avformat/mxfdec: use operational_pattern_ul instead of operational_pattern ↵Marton Balint
for metadata This makes it more consistent with other metadata keys. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-04-11avformat/mxfdec: export operational pattern UL as file metadataMarton Balint
Can be useful for API users as ffmpeg/libavformat can't properly support some operational patterns. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-04-05FATE: Add test for HEVC files that claim to have two first slicesDerek Buitenhuis
This makes sure we don't regress on 70c8c8a818f39bc262565ec29fae2baffb3e1660. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2019-04-03lavf/movenc: fix tmcd writing for non-MP4/MOV modesGyan Doshi
write_tmcd allows tmcd track to be created with any mode but in mov_write_header, index for first tmcd track is only set for modes MP4 or MOV, causing a crash if tmcd creation is attempted with other modes.
2019-04-03fate: unbreak fate with custom binary namesGyan Doshi
2019-03-19tests/fate-run: fix regression in encoding optionsJames Almer
Set threads back to 1. Fixes fate when run in multi threaded mode. Regression since d0c43e32427ec1efac364be0987a6aafa695527f. Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-15tests/fate/ffmpeg: Check for apng codec for fate-copy-apng.Carl Eugen Hoyos
The file has to be created first, fixes fate without zlib.
2019-03-14fate/lavf-image: fix passed arguments for some high bit depth testsJames Almer
Should fix fate failures on big endian targets. Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc'James Almer
* commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc': checkasm/h264: test 4:2:2 chroma loop filter functions Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'James Almer
* commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
2019-03-14tests: Convert lavf container tests with samples to non-legacy test scriptsJames Almer
2019-03-14Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'James Almer
* commit '618d02c1fa9e74d490cace64a7d15762656b521c': tests: Convert lavf container tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'James Almer
* commit '896fe15dbb7b78de495c4a7dd75e7faec66778da': tests: Convert lavf pixfmt conversion tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'James Almer
* commit 'a957e9379d11f2982d615f92c30580a57ea8bb40': tests: Convert lavf image tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c'James Almer
* commit 'eb8a8115994434b548523cf0bca6a4a74784e79c': tests: Convert audio-only lavf tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-14Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363'James Almer
* commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363': tests: Convert image2pipe tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
2019-03-13fate/mxf: add mxf user comments testsMark Reid
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-11Merge commit '5846b496f0a1dd5be4ef714622940674305ec00f'James Almer
* commit '5846b496f0a1dd5be4ef714622940674305ec00f': tests: Use a predefined function for lavf-rm test Merged-by: James Almer <jamrial@gmail.com>
2019-03-11Merge commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01'James Almer
* commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01': tests: Enable CRC test for yuv4mpeg Merged-by: James Almer <jamrial@gmail.com>