summaryrefslogtreecommitdiff
path: root/tests/fate
Commit message (Collapse)AuthorAge
* lavc/hevc_ps: fix crop info for monochromeZhao Zhili2018-08-22
| | | | | | | The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. Signed-off-by: James Almer <jamrial@gmail.com>
* lavf/mov.c: Set start_time for all streams (in case of edit lists).Sasi Inguva2018-08-11
| | | | | | | | | Fixes vorbis mp4 audio files, with edit list specified. Since st->skip_samples is not set in case of vorbis , ffmpeg computes the start_time as negative. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add tests for audio channel up-/downmixing with pan filterTobias Rapp2018-07-30
| | | | | | | | | | | | | Add tests for upmixing and downmixing with audio channel counts that have a corresponding default layout and also tests where there is no default layout. Update the existing "stereo4" test so it actually outputs stereo like the other stereo tests. Rename the previous "stereo4" test into "upmix1". Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fate: remove unnecessary reference file for fate-encryption-infoJames Almer2018-07-27
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add more vc2 encoder testsJames Darnley2018-07-18
|
* tests/fate/demux: Add test for d25c945247979a88fac6bb3b7a26370262b96ef1Michael Niedermayer2018-07-07
| | | | | | Sample provided by Thierry for fate Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavutil/encryption_info: Add unit tests.Jacob Trimble2018-06-27
| | | | | Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* from RTCTIME to N*23, step is 23Steven Liu2018-06-25
| | | | | | fix ticket: 7225 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* fate: correct filename references of qt-faststart binaryGyan Doshi2018-06-16
| | | | qt-faststart build doesn't have PROGSSUF added.
* qt-faststart: add fate test for stco overflowerankor2018-06-13
| | | | | | | verify that the stco atom is upgraded to co64 when the addition of moov size to the offsets results in an overflow Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add Dolby E testfoo862018-06-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavf/mov.c: Set st->start_time for video streams explicitly.Sasi Inguva2018-06-06
| | | | | | | If start_time is not set, ffmpeg takes the duration from the global movie instead of the per stream duration. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hwcontext: Add test for device creation and derivationMark Thompson2018-05-21
| | | | | | This uses any devices it can find on the host system - on a system with no hardware device support or in builds with no support included it will do nothing and pass.
* avformat/mpegts: add merge_pmt_versions optionAman Gupta2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new optional flag makes it easier to deal with mpegts samples where the PMT is updated and elementary streams move to different PIDs in the middle of playback. Previously, new AVStreams were created per PID, and it was up to the user to figure out which streams had migrated to a new PID (by iterating over the list of AVProgram and making guesses), and switch seamlessly to the new AVStream during playback. Transcoding or remuxing these streams with ffmpeg on the CLI was also quite painful, and the user would need to extract each set of PIDs into a separate file and then stitch them back together. With this new option, the mpegts demuxer will automatically detect PMT changes and feed data from the new PID to the original AVStream that was created for the orignal PID. For mpegts samples with stream_identifier_descriptor available, the unique ID is used to merge PIDs together. If the stream id is not available, the demuxer attempts to map PIDs based on their position within the PMT. With this change, I am able to playback and transcode/remux these two samples which previously caused issues: https://tmm1.s3.amazonaws.com/pmt-version-change.ts https://kuroko.fushizen.eu/videos/pid_switch_sample.ts I also have another longer sample in which the PMT changes repeatedly and ES streams move to different pids three times during playback: https://tmm1.s3.amazonaws.com/multiple-pmt-change.ts Demuxing this sample with the new option shows several new log messages as the PMT changes are handled: [mpegts] detected PMT change (program=1, version=3/6, pcr_pid=0xf98/0xfb7) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xfb7 [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xfb8 [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xfb9 [mpegts] detected PMT change (program=1, version=6/3, pcr_pid=0xfb7/0xf98) [mpegts] detected PMT change (program=1, version=3/4, pcr_pid=0xf98/0xf9b) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xf9b [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xf9c [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xf9d [mpegts] detected PMT change (program=1, version=4/5, pcr_pid=0xf9b/0xfa9) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xfa9 [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xfaa [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xfab [mpegts] detected PMT change (program=1, version=5/6, pcr_pid=0xfa9/0xfb7) Signed-off-by: Aman Gupta <aman@tmm1.net>
* avfilter/vsrc_testsrc: add pal75bars and pal100bars video filter sourcesTobias Rapp2018-05-18
| | | | | | | Generates color bar test patterns based on EBU PAL recommendations. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fate: add more tests for hue video filterTobias Rapp2018-05-11
| | | | | | | Adds tests for the hue angle and brightness filter parameters. Renames the existing saturation parameter test for consistency. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fate/cbs: Add an SEI testMark Thompson2018-05-10
| | | | | | | | | | | | | | The artificial sample file sei-1.h264 contains five frames (IDR P B I B) and the following SEI message types: * Buffering period * Picture timing * Pan-scan rectangle (display as 4:3) * User data registered, containing A/53 closed captions (captions match frame content, including reordering) * Recovery point (at the I frame) * Display orientation (identity transformation) * Mastering display (with arbitrary contents) * Undefined SEI type 1234 (containing ascending bytes)
* fate/hapenc : remove tests due to inconsistent resultMartin Vignali2018-05-08
|
* fate/cbs: Always overwrite output in cbs fate testsMark Thompson2018-05-02
| | | | | Before this, a failed test would keep failing because the output file is not cleaned up and subsequent runs would refuse to overwrite it.
* lavc/cbs: Add tests for VP9Mark Thompson2018-05-02
| | | | | | Uses the same mechanism as other codecs - conformance test files are passed through the metadata filter (which, with no options, reads the input and writes it back) and the output verified to match the input.
* avformat/mov: Increase support for common encryption.Jacob Trimble2018-04-19
| | | | | | | | | | | | | | | | | | - Parse schm atom to get different encryption schemes. - Allow senc atom to appear in track fragments. - Allow 16-byte IVs. - Allow constant IVs (specified in tenc). - Allow only tenc to specify encryption (i.e. no senc/saiz/saio). - Use sample descriptor to detect clear fragments. This doesn't support: - Different sample descriptor holding different encryption info. - Only first sample descriptor can be encrypted. - Encrypted sample groups (i.e. seig). - Non-'cenc' encryption scheme when using -decryption_key. Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/fate/filter-video: Use a bitexact/lossless input sample for ↵Michael Niedermayer2018-04-13
| | | | | | fate-filter-metadata-silencedetect Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: to test program sub stream selection by its type in mpegtsBela Bodecs2018-04-12
| | | | | Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/aac: Parse all ID3 tags present between ADTS framesMattias Amnefelt2018-04-12
| | | | | | | | Some ADTS streams can have multiple ID3 tags between frames. This change parses all of them, rather than just the first one. Signed-off-by: Mattias Amnefelt <mattiasa@avm.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: prefer the mp3float decoder to the mp3 decoderRostislav Pehlivanov2018-04-01
| | | | | | | | | On modern x86 systems its around 2x faster. For systems without FPUs it'll be slower, but our policy is to prefer floating point implementations and to let users decide what's best (or just not compile them on systems without FPUs). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* fate: add test for eac3 dependant streamJames Almer2018-03-30
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add eac3_core bitstream filter testPaul B Mahol2018-03-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/silencedetect: Update test parametersNicolas Gaullier2018-03-29
| | | | | | | Set relevant filter parameters such that the result can easily be checked with a waveform editor. In particular, it makes it clear the silence_start is not accurate in the current code.
* checkasm/swscale : add test for rgb shuffle_bytes funcMartin Vignali2018-03-24
|
* lavf/utils.c: Don't compute start_time from DISCARD packets for video.Sasi Inguva2018-03-24
| | | | | Signed-off-by: Sasi Inguva <isasi@isasi.mtv.corp.google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/integer: move the test to the corresponding subdirectoryJames Almer2018-03-20
| | | | | | | And actually enable it. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/hapqa_extract : add test for hapqa_extract bsfMartin Vignali2018-03-18
| | | | | | | | | | | test extract color and alpha with the three main kind of hap frame : - no snappy compression - snappy compression and one chunk - snappy compression and several chunks (16 here) like the bsf filter need to be used with vtag and encoder edition also test the information of the target mov for color and alpha
* fate/hapenc : remove test which use libsnappyMartin Vignali2018-03-17
| | | | the test in none mode can be let (they don't use libsnappy)
* fate: add a dca_core bitstream filter testJames Almer2018-03-17
| | | | | Reviwed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/hap : add test for hap encodingMartin Vignali2018-03-13
| | | | | | with and without snappy compression with chunk 1 or chunk 16 for hap, hapa, and hapq
* fate/hap : move decoding test to a separate fileMartin Vignali2018-03-13
|
* lavf/mov.c: Use the correct offset to shift timestamp when seeking.Sasi Inguva2018-03-10
| | | | | | | | Fixes seek for files with empty edits and files with negative ctts (dts_shift > 0). Added fate samples and tests. Signed-off-by: Sasi Inguva <isasi@isasi.mtv.corp.google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm/hevc_sao : add hevc_sao for checkasmYingming Fan2018-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/exr : add test for long name flagMartin Vignali2018-02-24
| | | | ticket 6994
* libavfilter/vf_fps: Add tests for start_time optionCalvin Walton2018-02-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add tests for pan audio filterTobias Rapp2018-02-19
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* libavfilter/vf_fps: Add more fate testsCalvin Walton2018-02-17
| | | | | | | | These tests cover specific rounding behaviour, to ensure that I don't introduce any regressions with the rewritten "activate" callback based fps filter. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/mpegps: add tests for PCM_DVD stream remuxGyan Doshi2018-02-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add aac id3v2 demux testRichard Shaffer2018-02-12
| | | | A basic test for demuxing raw AAC (ADTS) with ID3v2 tags.
* fate/libavcodec: add codec_desc testMuhammad Faiz2018-02-12
| | | | | | | | Remove runtime check at codec_desc.c Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate: add id3v2 testRichard Shaffer2018-02-02
| | | | | | Adds basic unit test for parsing ID3v2 tags. Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_predMartin Vignali2018-01-28
|
* fate: test the transpose filter more fullyMichael Niedermayer2018-01-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dcaenc: Use ffmpeg mdct instead of own implementationDaniil Cherednik2018-01-13
| | | | Signed-off-by: Daniil Cherednik <dan.cherednik@gmail.com>
* fate: remove the fate-aac-ltp-encode testRostislav Pehlivanov2018-01-13
| | | | | | | It tests a useless profile which sounds no better than regular aac and which takes extremely long to encoder something. Also it has been behind experimental flag for as long as it has been supported. Should be removed altogether sometime in the future.