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/ref
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)
2022-01-10avformat/movenc: fix duration in mdhd boxZhao Zhili
mvhd and tkhd present the post-editlist duration, while mdhd should have the pre-editlist duration. Regression since c2424b1f3. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit f37e66b3937a914e16d89a9050f042ad89567245)
2022-01-05lavfi/drawutils: re-enable P010 and P016 supportrcombs
These formats now work as expected.
2022-01-05lavfi/drawutils: overhaul to improve pixel format supportrcombs
- No longer mixes u8 and u16 component accesses (this was UB) - De-duplicated 8->16 conversion - De-duplicated component -> plane+offset conversion - De-duplicated planar + packed RGB - No longer calls ff_fill_rgba_map - Removed redundant comp_mask data member - RGB0 and related formats no longer write an alpha value to the 0 byte - Non-planar YA formats now work correctly - High-bit-depth semi-planar YUV now works correctly
2022-01-05lavfi/drawutils: reject shift-packed formatsrcombs
Disables x2bgr10/x2rgb10 (which did not behave correctly before).
2022-01-05swscale: introduce isSwappedChromarcombs
2022-01-05swscale: introduce isDataInHighBitsrcombs
2022-01-05swscale/output: template-ize yuv2nv12cX 10-bit and 16-bit casesrcombs
Fixes incorrect big-endian output introduced in 88d804b7ffa20caab2e8e2809da974c41f7fd8fc Avoids making the filter-time BE check more expensive
2022-01-04lavc/hevcdec: Parse DOVI RPU NALsNiklas Haas
And expose the parsed values as frame side data. Update FATE results to match. It's worth documenting that this relies on the dovi configuration record being present on the first AVPacket fed to the decoder, which in practice is the case if if the API user has called something like av_format_inject_global_side_data, which is unfortunately not the default. This commit is not the time and place to change that behavior, though. Signed-off-by: Niklas Haas <git@haasn.dev> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-01-04fate: Limit Dolby Vision RPU test frame countNiklas Haas
To avoid the ref for this growing to a very large size when attaching the parsed RPU side data. Since this sample does not have any dynamic metadata, two frames will serve just as well as 100. Signed-off-by: Niklas Haas <git@haasn.dev> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-12-31avformat/imf: TestsPierre-Anthony Lemieux
Signed-off-by: Pierre-Anthony Lemieux <pal@palemieux.com> Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2021-12-27avformat/mxfenc: fix DNxHD GC element_typeNicolas Gaullier
The values for the essence element type were updated in the spec from 0x05/0x06 (ST2019-4 2008) to 0x0C/0x0D (ST2019-4 2009). Fixes ticket #6380. Thanks-to: Philip de Nier <philip.denier@bbc.co.uk> Thanks-to: Matthieu Bouron <matthieu.bouron@gmail.com> Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com> Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Marton Balint <cus@passwd.hu>
2021-12-27avformat/mxfenc: fix DNxHD GC container_ulNicolas Gaullier
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com> Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Marton Balint <cus@passwd.hu>
2021-12-23swscale: add P210/P410/P216/P416 outputrcombs
2021-12-22ffprobe: add missing separator when printing side data in compact outputJames Almer
Should fix ticket #7153 Signed-off-by: James Almer <jamrial@gmail.com>
2021-12-22libavformat: add side_data copy in concat demuxerGerard Sole
Adds support for concat demuxer to copy the side data information from the input file to the resulting file. It will behave like the metadata copy, where the metadata of the first file is kept in the the output file. Extract the current code that already performs the stream side_data copy into a separate method and reuse the method in the concat demuxer. Signed-off-by: Gerard Sole <g.sole.ca@gmail.com>
2021-12-18avcodec/cdgraphics: fix transparency handlingPaul B Mahol
2021-12-02fate/ffmpeg: Fix shortest testsAndreas Rheinhardt
The mpeg4 encoder is slice-threaded and its output depends upon the number of threads used. Therefore all tests of this encoder use a hardcoded number of threads (ENC_OPTS in fate-run.sh contains "-threads 1"; only the vsynth%-mpeg4-thread tests override this for the mpeg4 encoder, but they also use a hardcoded value to be consistent across different systems); only the new shortest and copy-shortest[12] (implicitly due to the sample used) tests don't and this leads to FATE-failures. Fix this by explicitly setting the thread count. Also switch the shortest test to framecrc, because hashing side data is itchy even though the side data used here (AV_PKT_DATA_QUALITY_STATS) has a defined endianness. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-12-02fate/ffmpeg: add some more flags to the shortest testsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-12-02fate/ffmpeg: add missing bitexact flags to the shortest testsJames Almer
Should fix fate failures on some targets. Signed-off-by: James Almer <jamrial@gmail.com>
2021-12-02fate/ffmpeg: add tests for shortest optionJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-11-29fftools/ffprobe: print size of attachment streams (extradata_size)softworkz
Signed-off-by: softworkz <softworkz@hotmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2021-11-29lavu/pixfmt: add high-bit-depth semi-planar 4:2:2/4:4:4 formatsrcombs
These are used by VideoToolbox hardware decoders.
2021-11-18ffmpeg: fix loosing gaps between audio frame timestamps when filteringPaul B Mahol
2021-11-17fate: Add test for Dolby Vision RPU side dataDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2021-11-16ffmpeg: rewrite setting the stream dispositionAnton Khirnov
Currently, the code doing this is spread over several places and may behave in unexpected ways. E.g. automatic 'default' marking is only done for streams fed by complex filtergraphs. It is also applied in the order in which the output streams are initialized, which is effectively random. Move processing the dispositions at the end of open_output_file(), when we already have all the necessary information. Apply the automatic default marking only if no explicit -disposition options were supplied by the user, and apply it to the first stream of each type (excluding attached pics) when there is more than one stream of that type and no default markings were copied from the input streams. Explicitly document the new behavior. Changes the results of some tests, where the output file gets a default disposition, while it previously did not.
2021-11-05lavf/mov: Change default to prefer TFDT time and allow for fallback to SIDX ↵Thilo Borgmann
or TFDT
2021-11-04swscale/input: fix planar_rgb16_to_a for gbrap10be and gbrap12be formatsMark Reid
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-29fate: update ref files after a recent changeJames Almer
Missed in 3925b826df365a2365118600bd7910cbca95286d. Signed-off-by: James Almer <jamrial@gmail.com>
2021-10-27avfilter: split negate filter from lut filterPaul B Mahol
Using luts for negating is suboptimal. FATE test changes because filter no longer clips values into limited color range.
2021-10-15avformat/argo_asf: pass name through as metadataZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2021-10-14fate: update histogram test resultsPaul B Mahol
2021-10-07fate/cover-art: Add test for muxing cover arts to FLACAndreas Rheinhardt
Also covers muxing and demuxing of nonstandard FLAC channel layouts and the multi-dim-quant option of the FLAC encoder (all of which was hitherto uncovered). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-07fate/subtitles: Add scc remux testAndreas Rheinhardt
Provides coverage for the muxer. (Thanks to tresh for modifying the whitespace commit hook to allow to push this ref file with tabs.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-07fate/image: Modify aliaspix tests to also cover the encoderAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-07fate/subtitles: Add remuxing test for lrcAndreas Rheinhardt
It uses the test-lrc.lrc sample which was added years ago, but never used until now. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-04avformat/{isom,mov,movenc}: add support for CMAF DASH rolesJan Ekström
This information is coded in a standard MP4 KindBox and utilizes the scheme and values as per the DASH role scheme defined in MPEG-DASH. Other schemes are technically allowed, but where multiple schemes define the same concepts, the DASH scheme should be utilized. Such flagging is additionally utilized by the DASH-IF CMAF ingest specification, enabling an encoder to inform the following component of the roles of the incoming media streams. A test is added for this functionality in a similar manner to the matroska test. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
2021-10-01lavf/movenc: Write 'dby1' minor brand if Dolby content is being muxed to MP4Derek Buitenhuis
This is as per: * mp4ra: http://mp4ra.org/#/brands * Dolby Vision muxing spec (which is public): https://professional.dolby.com/siteassets/content-creation/dolby-vision-for-content-creators/dolby_vision_bitstreams_within_the_iso_base_media_file_format_dec2017.pdf Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2021-09-30avfilter/vf_avgblur: switch to faster algorithmPaul B Mahol
2021-09-27fate/oma: Add remux tests for ATRAC3 and ATRAC3PAndreas Rheinhardt
They already uncovered an uninitialized-value bug in the ATRAC3 code in the demuxer; and provide coverage for ID3v2.3. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-27fate/caf: Add remux testsAndreas Rheinhardt
These test both the muxer as well as the demuxer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-27fate/demux: Move caf test to its own fileAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-26swscale: add input/output support for X2BGR10LEManuel Stoeckl
Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-26lavu/pix_fmt: add pixel format for x2bgr10Manuel Stoeckl
The new format (given in big/little endian forms) matches the existing X2RGB10 format, except with B and R channels switched. AV_PIX_FMT_X2BGR10 data often is created by OpenGL programs whose buffers use the GL_RGB10 internal format. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-26swscale/yuv2rgb: fix conversion to X2RGB10Manuel Stoeckl
This resolves a problem where conversions from YUV to X2RGB10LE would produce color values a factor 4 too small, because an 8-bit value was placed in a 10-bit channel. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-26webp: fix transforms after a palette with pixel packing.Maryla
When a color indexing transform with 16 or fewer colors is used, WebP uses "pixel packing", i.e. storing several pixels in one byte, which virtually reduces the width of the image (see WebPContext's reduced_width field). This reduced_width should always be used when reading and applying subsequent transforms. Updated patch with added fate test. The source image dual_transform.webp can be downloaded by cloning https://chromium.googlesource.com/webm/libwebp-test-data/ Fixes: 9368 Signed-off-by: James Zern <jzern@google.com>
2021-09-26fate/subtitles: Add JACOsub remuxing testAndreas Rheinhardt
This muxer was untested up until now; had it been tested, it would have been obvious that it has been broken for years. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-23avformat/mov: Set AVSTREAM_PARSE_HEADERS flag for H264Nicolas Gaullier
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: James Almer <jamrial@gmail.com>
2021-09-23avcodec/h264_parser: Set AVCodecContext.framerateNicolas Gaullier
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: James Almer <jamrial@gmail.com>
2021-09-20Revert "fate: Add test for ticket 6024, truncated decoding mode"Anton Khirnov
This reverts commit 47cd8effea343e71c4010929ed3fb10dd3dca4b1. AV_CODEC_FLAG_TRUNCATED is now deprecated. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>