summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* avformat/wavdec: use ff_pcm_default_packet_size for the default packet sizeMarton Balint2024-03-16
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/pcm: factorize and improve determining the default packet sizeMarton Balint2024-03-16
| | | | | | | | | | | | | | - Remove the 1024 cap on the number of samples, for high sample rate audio it was suboptimal, calculate the low neighbour power of two for the number of samples (audio blocks) instead. - Make the function work correctly also for non-pcm codecs by using the stream bitrate to estimate the target packet size. A previous version of this patch used av_get_audio_frame_duration2() the estimate the desired packet size, but for some codecs that returns the duration of a single audio frame regardless of frame_bytes. - Fallback to 4096/block_align*block_align if bitrate is not available. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate/wmavoice: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/vqf: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/voice: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/vorbis: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/real: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/pcm: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mpc: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mp3: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/mov: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/monkeysaudio: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/lossless-audio: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/libswresample: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/iamf: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/hlsenc: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/gapless: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/ffprobe: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/ffmpeg: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/filter-audio: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/fate-container: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/demux: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/audio: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/atrac: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/amrwb: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/amrnb: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/alac: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/adpcm: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/ac3: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/aac: add missing aresample filter dependencyJames Almer2024-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Remove av_restrictAndreas Rheinhardt2024-03-15
| | | | | | | | | All versions of MSVC that support C11 (namely >= v19.27) also support the restrict keyword, therefore av_restrict is no longer necessary since 75697836b1db3e0f0a3b7061be6be28d00c675a0. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/ffmpeg: add missing idct decoder option to fate-ffmpeg-loopback-decodingJames Almer2024-03-14
| | | | | | Should fix failures on x86_32 targets. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/ffmpeg: add a -threads input option to the loopback decoderJames Almer2024-03-14
| | | | | | Honor the requested value passed when calling make fate. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/ffmpeg: add a test for loopback decodingJames Almer2024-03-14
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: hevc_pel: Use checkasm_check for printing failing outputMartin Storsjö2024-03-14
| | | | | | | | 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-14
| | | | Signed-off-by: J. Dekker <jdek@itanimul.li>
* checkasm: hevc_pel: Check the full output in hevc_epel/hevc_qpelMartin Storsjö2024-03-14
| | | | | | | 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-14
| | | | | | 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-14
| | | | | | | 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-14
| | | | | | | 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-14
| | | | | | | | 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-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: export IAMF Stream Group parametersJames Almer2024-03-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: export Tile Grid Stream Group parametersJames Almer2024-03-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg_filter: refactor setting input timebaseAnton Khirnov2024-03-13
| | | | | | | | | | | | | | 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-12
| | | | | | | 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-12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/flvenc: force the av1 decoder in all steps for fate-enhanced-flv-av1James Almer2024-03-08
| | | | | 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-08
| | | | | | Cf. #10857 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu/opt: add array optionsAnton Khirnov2024-03-08
|