summaryrefslogtreecommitdiff
path: root/tests/fate
Commit message (Collapse)AuthorAge
* avcodec/options_table: Treat (request_)channel_layout as channel layoutAndreas Rheinhardt2021-08-15
| | | | | | | Also adapt some FATE tests to already cover this. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* FATE: add a test for sliced scalingAnton Khirnov2021-08-08
|
* ffprobe: remove references to frame->pkt_ptsJames Almer2021-08-07
| | | | | | The field was removed during the last major bump. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/noise_bsf: restore dropamount for backwards compatibilityGyan Doshi2021-07-30
|
* avcodec/noise_bsf: add expr supportGyan Doshi2021-07-29
|
* fate/ffprobe: Verify ffprobe XML output against schema fileTobias Rapp2021-07-13
| | | | | | | | | | | Adds schema validation for ffprobe XML output so that updating the ffprobe.xsd file upon changes to ffprobe is not forgotten. This was suggested by Marton Balint in: http://ffmpeg.org/pipermail/ffmpeg-devel/2021-March/278428.html The schema FATE test is only run if xmllint command is available. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fate/oggvorbis: Fix tests after fixing AV_PKT_DATA_SKIP_SAMPLESGuangyu Sun2021-07-12
| | | | | | | | | | | | | | | | | | | | | | After fixing AV_PKT_DATA_SKIP_SAMPLES for reading vorbis packets from ogg, the actual decoded samples become fewer. Three fate tests are failing: fate-vorbis-20: The samples in 6.ogg are not frame aligned. 6.pcm file was generated by ffmpeg before the fix. After the fix, the decoded pcm file does not match anymore. Ideally the ref file 6.pcm should be updated but it is probably not worth it including another copy of the same file, only smaller. SIZE_TOLERANCE is added for this test case. fate-webm-dash-chapters: The original vorbis_chapter_extension_demo.ogg is transmuxed to dash-webm. The ref file webm-dash-chapters needs to be updated. fate-vorbis-encode: This exposes another bug in the vorbis encoder that initial_padding is not correctly set. It is fixed in the previous patch. Signed-off-by: Guangyu Sun <gsun@roblox.com>
* fate-aac: use the fast coder for testsLynne2021-05-21
| | | | | | | | The twoloop coder is highly loaded with (pseudo-)perceptual metrics, and the aim of the tests is to piece-wise test each function of the encoder, for which the 'fast' coder is perfect, since it only decides on which scalefactors to use, rather than enable or disable encoder features.
* fate: add a more extensive test for APNG_DISPOSE_OP_BACKGROUNDAnton Khirnov2021-05-14
| | | | Uses the sample from #9184.
* fate: drop the vp8-alpha testAnton Khirnov2021-05-09
| | | | It is redundant with matroska-vp8-alpha-remux.
* fate-webm-webvtt-remux: print packet side data in ffprobe outputAnton Khirnov2021-05-09
|
* fate/demux: convert flv-demux to ffprobeAnton Khirnov2021-05-09
| | | | It can handle side data cleanly.
* fate-ts-demux: convert to ffprobeAnton Khirnov2021-05-09
| | | | It can handle side data cleanly.
* fate-ts-opus-demux: convert to ffprobeAnton Khirnov2021-05-09
| | | | It can handle side data cleanly.
* fate-ts-small-demux: convert to ffprobeAnton Khirnov2021-05-09
| | | | It can handle side data cleanly.
* fate/gapless: add a test for skip samples side dataAnton Khirnov2021-05-09
|
* fate-oggopus-demux: convert to ffprobeAnton Khirnov2021-05-09
| | | | It can print side data cleanly.
* tests/image: remove colorspace conversion from jpegls testsJames Almer2021-05-03
| | | | | | It's not needed after 011006874cb46325b6bc83234f81879ff421c05f. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/mjpegdec: Decode to PAL8 independant of the location of LSEMichael Niedermayer2021-05-03
| | | | | | | | This simply performs a 2nd pass if a LSE is encountered with GRAY8 Fixes: tickets/3933/128.jls Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Revert "avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker"Michael Niedermayer2021-05-03
| | | | | | This also temporary disables fate-jpegls which is re-enabled in the next commit This reverts commit c8197f73e684b0edc450f3dc2b2b4b3fb9dedd0d.
* fate: add adpcm_ima_ws test in a VQA v3 fileZane van Iperen2021-04-29
| | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* libavresample: Remove deprecated libraryAndreas Rheinhardt2021-04-27
| | | | | | | | Deprecated in c29038f3041a4080342b2e333c1967d136749c0f. The resample filter based upon this library has been removed as well. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add adpcm_ima_ws testZane van Iperen2021-04-26
| | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* fate: add tests for JPEG-LS PAL8James Almer2021-04-24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add av_tx FFT SIMD testing codeLynne2021-04-24
| | | | | | This sadly required making changes to the code itself, due to the same context needing to be reused for both versions. The lookup table had to be duplicated for both versions.
* tests/fate: add a test for APNG_DISPOSE_OP_BACKGROUNDAnton Khirnov2021-04-24
|
* fate/id3v2: Add test for id3v2 chaptersAndreas Rheinhardt2021-04-18
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/id3v2: Add a test for remuxing id3v2 private tagsAndreas Rheinhardt2021-04-18
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/cover-art: Add test for writing id3v2 tags and apic with AIFF/MP3Andreas Rheinhardt2021-04-18
| | | | | | | | | | | | Notice that the order of the APIC tracks is currently wrong. This is a superposition of two bugs: (i) Both muxers write the attached pictures in the order they arrive in the muxer and not in the stream_index order, leading to attached pictures that are copied being written earlier because their timestamp is AV_NOPTS_VALUE, whereas the timestamp of the encoded pictures is 0. (ii) A bug in the id3v2 parsing code reverses the order of the parsed pictures. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/mov: Add test for muxing cover imagesAndreas Rheinhardt2021-04-18
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/filter-video: Remove SAMPLES depedency from refcmp testsAndreas Rheinhardt2021-04-18
| | | | | | They don't need it as they use the lavfi device to create their samples. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate: add tests for PNG side/meta dataAnton Khirnov2021-04-08
|
* tests/matroska: Add test for remuxing annex B H.264 into MatroskaAndreas Rheinhardt2021-04-01
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/matroska: Add test for WebVTT in WebMAndreas Rheinhardt2021-03-31
| | | | | | | | | Specifically test that the WebVTT flavour is correctly mapped to the Matroska/WebM CodecID and back; and test that dispositions unsupported by WebM are discarded even when they would be supported by Matroska. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/s337m: Use and test Dolby-E-parserAndreas Rheinhardt2021-03-23
| | | | | | | | This makes av_read_frame() return packets with proper timestamps. As a result, seeking now works in combination with streamcopy. A FATE-test for this has been added. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* FATE: Add test for probing MOV/MP4 files with extended box sizesDerek Buitenhuis2021-03-21
| | | | | | | | The test sample has to have no file extension, otherwise probing happens to work, based off file extension alone, and we want to test the actual probing function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: add adpcm_ima_cunning stereo test caseZane van Iperen2021-03-19
| | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* avcodec/adpcm_ima_cunning: support stereoZane van Iperen2021-03-19
| | | | | | | Changes the sample format to S16P, but was only ever mono so it affects nothing. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* lavc: remove tests/optionsAnton Khirnov2021-03-08
| | | | It tests deprecated avcodec_copy_context().
* avformat: add TTML muxerJan Ekström2021-03-05
| | | | | | | | | | Enables writing TTML documents or encoded TTML paragraphs as such documents. Additionally, a test for the combined TTML encoder and muxer has been added to validate that the components still work. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
* tests/fate: Don't keep unnecessary temp filesAndreas Rheinhardt2021-03-05
| | | | | | | | | | | | | Some FATE tests use files created by other FATE tests as input files; this mostly affects the seek tests which use files from vsynth_lena as well as acodec-pcm as input files. In order to make this possible the temporary files of all the vsynth* and all acodec-pcm tests are kept. Yet only a fraction of these files are actually used. This commit changes this to only keep the files that are actually needed for other tests. This reduces the size of the tests/data/fate folder after a full FATE run from 2024727441B to 138739312B. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate/matroska: Test remuxing tracks for hearing/visually impairedAndreas Rheinhardt2021-03-02
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* Handle AVID MJPEG streams directly in the MJPEG decoder.Anton Khirnov2021-02-25
| | | | | | | | | | | | | | | | | | | | AVID streams - currently handled by the AVRN decoder - can be (depending on extradata contents) either MJPEG or raw video. To decode the MJPEG variant, the AVRN decoder currently instantiates a MJPEG decoder internally and forwards decoded frames to the caller (possibly after cropping them). This is suboptimal, because the AVRN decoder does not forward all the features of the internal MJPEG decoder, such as direct rendering. Handling such forwarding in a full and generic manner would be quite hard, so it is simpler to just handle those streams in the MJPEG decoder directly. The AVRN decoder, which now handles only the raw streams, can now be marked as supporting direct rendering. This also removes the last remaining internal use of the obsolete decoding API.
* tests/fate/apng: add a test for APNG_DISPOSE_OP_PREVIOUSAnton Khirnov2021-02-24
|
* tests: add a test for LSCRAnton Khirnov2021-02-24
|
* fate/matroska: Add fate-matroska targetAndreas Rheinhardt2021-02-22
| | | | | Reviewed-by: Ridley Combs <rcombs@rcombs.me> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate/matroska: Add test for remuxing VP8 with alphaAndreas Rheinhardt2021-02-22
| | | | | | | | | | This provides coverage for writing BlockGroups with BlockAdditional and ReferenceBlock elements. It also tests setting the hearing impaired disposition (it fits given that this video has no audio so one needs to be able to read lips to understand anything). Reviewed-by: Ridley Combs <rcombs@rcombs.me> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate/matroska: Add test for mastering display metadataAndreas Rheinhardt2021-02-22
| | | | | | | | | The FATE suite already contains a file containing mastering display and content light level metadata: Meridian-Apple_ProResProxy-HDR10.mxf This file is used to test both the Matroska muxer and demuxer. Reviewed-by: Ridley Combs <rcombs@rcombs.me> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate/mxf: Fix d10-user-comments testAndreas Rheinhardt2021-02-16
| | | | | | | | | | | | | | | | | | | | | | | | The mxf_d10 muxer is very picky regarding the input it accepts: The only video accepted is MPEG-2 with absolutely constant bitrate, i.e. all packets need to have exactly the same size; and only a few bitrates are accepted. The sample file used did not abide by this: Writing the first packet (a video packet) errors out and afterwards an audio packet from the muxing queue has been written. That's all besides metadata (which this test is about). The FFmpeg cli returned an error, but said error has been ignored by the md5 test. This commit changes the test to actually send a compliant stream to the muxer, so that it does not error out; furthermore, the test is changed to explicitly check the metadata instead of it only being implicitly included in the md5 checksum. The compliant stream is created by our encoder at runtime. Finally, the test now also covers writing user-specified product/company/version identification. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate/matroska: Add test for remuxing file with spherical metadataAndreas Rheinhardt2021-02-15
| | | | | | | | Also, test modifying colorspace properties and the default_mode passthrough which is used here to create a file that has no default track at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>