aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* checkasm: hevc_pel: Use checkasm_check for printing failing outputMartin Storsjö2024-03-141-30/+41
| | | | | | | | This simplifies the code for checking the output, and can print the failing output (including a map of matching/mismatching elements) if checkasm is run with the -v/--verbose option. Signed-off-by: J. Dekker <jdek@itanimul.li>
* checkasm: hevc_pel: Split a couple excessively long linesMartin Storsjö2024-03-141-36/+98
| | | | Signed-off-by: J. Dekker <jdek@itanimul.li>
* checkasm: hevc_pel: Check the full output in hevc_epel/hevc_qpelMartin Storsjö2024-03-141-2/+2
| | | | | | | Previously it only checked half the output in 8 bit per pixel mode, as the output actually is 16 bit elements here. Signed-off-by: J. Dekker <jdek@itanimul.li>
* fate: use atrim filter instead of -frames:a 20 for fate-filter-tremoloMarton Balint2024-03-141-2/+2
| | | | | | To make it independent of incoming wav demuxer packet size. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: use a fixed wav demux packet size for amix testsMarton Balint2024-03-141-3/+3
| | | | | | | The dropout transition feature of the amix filter depends on the incoming packet size. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: make filter-channelsplit test use a fixed frame sizeMarton Balint2024-03-141-2/+2
| | | | | | | Muxing multiple streams to raw files is allowed but the packets are interleaved, so the output is dependant of packet size. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/daudenc: force 2000 sample packet size with a bsfMarton Balint2024-03-141-20/+11
| | | | | | | | The samples I found all have 2000 sample packets, and by forcing the packet size with a bsf we could automagically make muxing work for packets containing more than 3640 samples. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/vvcdec: Mark as experimentalKieran Kunhya2024-03-131-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: export IAMF Stream Group parametersJames Almer2024-03-1310-8/+736
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: export Tile Grid Stream Group parametersJames Almer2024-03-134-3/+70
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg_filter: refactor setting input timebaseAnton Khirnov2024-03-132-95/+95
| | | | | | | | | | | | | | Treat it analogously to stream parameters like format/dimensions/etc. This is functionally different from previous code in 2 ways: * for non-CFR video, the frame timebase (set by the decoder) is used rather than the demuxer timebase * for sub2video, AV_TIME_BASE_Q is used, which is hardcoded by the subtitle decoding API These changes should avoid unnecessary and potentially lossy timestamp conversions from decoder timebase into the demuxer one. Changes the timebases used in sub2video tests.
* fate: fix generating references when sh=dashNicolas Gaullier2024-03-121-1/+1
| | | | | | | Regression since 0b98f28c46a7e3e914c51debc461 Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Marton Balint <cus@passwd.hu>
* fate/h264: add missing swscale dependency to h264-bsf-mp4toannexb-new-extradataJames Almer2024-03-121-1/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/flvenc: force the av1 decoder in all steps for fate-enhanced-flv-av1James Almer2024-03-083-4/+5
| | | | | Tested-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* tests/fate/matroska: add tests for side data preferenceAnton Khirnov2024-03-083-0/+702
| | | | | | Cf. #10857 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu/opt: add array optionsAnton Khirnov2024-03-081-2/+33
|
* checkasm/hevc_deblock: Initialize bufferAndreas Rheinhardt2024-03-081-0/+1
| | | | | | Fixes the hevc_deblock checkasm test with Valgrind. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil: remove deprecated FF_API_FRAME_PICTURE_NUMBERJames Almer2024-03-0718-187/+97
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: remove deprecated FF_API_PKT_DURATIONJames Almer2024-03-0723-540/+360
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: remove deprecated FF_API_OLD_CHANNEL_LAYOUTJames Almer2024-03-071-3/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: print stream dispositionJames Almer2024-03-055-4/+652
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add a heic test with a derived image using a single item twiceJames Almer2024-03-052-0/+60
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: use framecrc for the remaining avif/heic testsJames Almer2024-03-055-36/+21
| | | | | | Put them in sync with the other tests. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: print stream group information for avif/heic testsJames Almer2024-03-054-24/+215
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/mov: fix setting dependent disposition on ambisonic IAMF streamsJames Almer2024-03-051-2/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: print stream group information for iamf testsJames Almer2024-03-055-9/+1022
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: print stream group informationJames Almer2024-03-055-5/+197
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: add support for Stream GroupsJames Almer2024-03-0519-12/+25
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/iamfenc: ensure updated extradata is writtenJames Almer2024-03-044-22/+22
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/iamf_writer: update extradata from packet side dataJames Almer2024-03-044-22/+22
| | | | | | | Some encoders, like flac, propagate updated extradata at the end of encoding as packet side data. Use it to update the relevant codec_config. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/wavdec: dynamically set max_size by defaultMarton Balint2024-03-0225-562/+863
| | | | | | | | | | | | | The wav demuxer by default tried to demux 4096-byte packets which caused packets with very few number of samples for files with high channel count. This caused a significant overhead especially since the latest ffmpeg.c threading changes. So let's use a similar approach for selecting audio frame size which is already used in the PCM demuxer, which is to read 25 times per second but at most 1024 samples. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate/libswresample: force number of samples for the input of aresample async ↵Marton Balint2024-03-021-6/+6
| | | | | | | | | tests Since PTS is changed randomly for every audio frame, it matters. Also add some forgotten filter dependencies. Signed-off-by: Marton Balint <cus@passwd.hu>
* swresample/resample: fix rounding errors with filter_size=1 and phase_shift=0Marton Balint2024-03-021-2/+2
| | | | | | | | | | | Depending on input chunk size noticable corrpution was hearable, here is an example command line: ffplay -f lavfi -i "sine=440:r=8000:samples_per_frame=32,aresample=24000:filter_size=1:phase_shift=0" Fix this by rounding the fixed point fractions up instead of down. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: never generate auto-generated referencesMarton Balint2024-03-021-1/+1
| | | | | | | | | | GEN=1 is used to generate reference files in the source tree, not auto-generated reference samples. Without this patch GEN=1 could overwrite the auto generated reference files in each test where they are used causing failures. Signed-off-by: Marton Balint <cus@passwd.hu>
* tests/checkasm: Improve included headersAndreas Rheinhardt2024-03-027-11/+3
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* checkasm/vvc_mc: Don't use declare_func_emmsAndreas Rheinhardt2024-03-021-6/+6
| | | | | | | | There is no MMX DSP code for VVC, so one can use the stricter declare_func which also tests that we are not in MMX mode at the end of this function. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/aacenc: Move initializing DSP out of aacenc.cAndreas Rheinhardt2024-03-021-5/+5
| | | | | | | | | | | | Otherwise aacenc.o gets pulled in by the aacencdsp checkasm test and it in turn pulls the rest of lavc in. Besides being bad size-wise this also has the downside that it pulls in avpriv_(cga|vga16)_font from libavutil which are marked as being imported from another library when building libavcodec as a DLL and this breaks checkasm because it links both lavc and lavu statically. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffmpeg: remove options deprecated before 6.0Anton Khirnov2024-03-011-25/+0
|
* fate/mov: add tests for HEIF samples with derived imagesJames Almer2024-02-263-0/+58
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: test remuxing all stream heif itemsJames Almer2024-02-262-1/+8
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/hevc_deblock: add luma and chroma fullJ. Dekker2024-02-261-31/+215
| | | | Signed-off-by: J. Dekker <jdek@itanimul.li>
* fate/mxf: fix mxf-probe-j2k on big endian systemsMarton Balint2024-02-252-2/+2
| | | | | | | | | Jpeg2000 decoder is decoding in native endian, so let's use the same workaround as in fate-mxf-probe-applehdr10. Fixes ticket #10868. Signed-off-by: Marton Balint <cus@passwd.hu>
* checkasm: Add a "run-checkasm" make targetMartin Storsjö2024-02-211-0/+4
| | | | | | | | | | | | | | | | Contrary to the existing "fate-checkasm", this always prints the tool output, and runs all tests at once instead of splitting it up per target group. This is more useful when the user expects to look directly at the tool output, instead of being part of a full fate run. (On failure with the regular "make fate-checkasm" targets, none of the tool output is printed, but stored in files. If run with reporting set up to the FATE website, the individual failures are uploaded there, but if it is run in some sort of other CI setup, the intermediate files might not be available afterwards for inspection.) Signed-off-by: Martin Storsjö <martin@martin.st>
* fate/mov: rename a test group to better reflect what it requiresJames Almer2024-02-211-7/+7
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add missing samples dependency to avif/heic testsJames Almer2024-02-211-5/+6
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add missing ffprobe dependency to mov-write-amveJames Almer2024-02-211-2/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/image: Enable fate-webp-rgb-lossless-palette-predictor testAndreas Rheinhardt2024-02-211-3/+2
| | | | | | | Postponed in 9f4708c22def8a0f13c3b2bc39baca928bb58aaa because the sample had not been uploaded at that time. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate: add IAMF in mp4 testsJames Almer2024-02-205-0/+331
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: use an even more exotic channel layout mov-mp4-pcm-float testMarton Balint2024-02-192-3/+3
| | | | | | | The old layout happened to be a native layout and therefore missed some recently fixed layout parsing bugs. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mpegts: add a ts_id exported optionJames Almer2024-02-194-6/+6
| | | | | | It will replace AVFormatContext.ts_id in the coming bump. Signed-off-by: James Almer <jamrial@gmail.com>