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
AgeCommit message (Collapse)Author
2015-05-28avformat/mxfenc: Support storing signal standard for D10 muxingMichael Niedermayer
Reviewed-by: tim nicholson <nichot20@yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-27fate: Update exif tests after 09ec31ce3aab41407965e7a95b7d145702434c26Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-27ffprobe: print stream_index with frame dataDave Rice
This makes it easier to relate frame data to its associated stream.
2015-05-23avformat/4xm: Change fps to AVRationalMichael Niedermayer
This fixes the video timebase as well Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-22avformat/mxfenc: Add color siting elementMichael Niedermayer
Previous version Reviewed-by: tim nicholson <nichot20@yahoo.com> Previous version Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-20fate: Add fate-mathops testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-19fate: Add test for -exact_rice_parameters 1Michael Niedermayer
2015-05-15fate: increase the number of filtered frames to 20 for edgedetect* & hueMichael Niedermayer
Suggested-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-14avcodec/srtdec: attempt to correct SubRip positioningClément Bœsch
The positioning was completely wrong. First, the coordinates are expressed in ASS playback resolution (which is by default 384x288). Secondly, the coordinates define a drawing rectangle, not a moving area. The previous code was making subtitles move from a random position to another random position. Here we rescale assuming the video resolution is a DVD one (720x480). We can't really do anything better so far, but since this positioning information is often from a DVD rip we can consider them relatively safe.
2015-05-12fate: Test pullup and fieldmatch with 5 instead of 1 frameMichael Niedermayer
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-11fate: Use more than 5 frames for testing select and idet filtersMichael Niedermayer
Testing these filters with just 5 frames could potentially be insufficient Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-11Merge commit '2fb02ecfd115a627f22df21720aa0bd4f6fcee8b'Michael Niedermayer
* commit '2fb02ecfd115a627f22df21720aa0bd4f6fcee8b': fate: Reduce the number of frames used to test video filters Conflicts: tests/fate-run.sh tests/ref/fate/filter-crop tests/ref/fate/filter-crop_scale tests/ref/fate/filter-crop_scale_vflip tests/ref/fate/filter-crop_vflip tests/ref/fate/filter-null tests/ref/fate/filter-pixdesc-abgr tests/ref/fate/filter-pixdesc-argb tests/ref/fate/filter-pixdesc-bgr24 tests/ref/fate/filter-pixdesc-bgr444be tests/ref/fate/filter-pixdesc-bgr444le tests/ref/fate/filter-pixdesc-bgr48be tests/ref/fate/filter-pixdesc-bgr48le tests/ref/fate/filter-pixdesc-bgr4_byte tests/ref/fate/filter-pixdesc-bgr555be tests/ref/fate/filter-pixdesc-bgr555le tests/ref/fate/filter-pixdesc-bgr565be tests/ref/fate/filter-pixdesc-bgr565le tests/ref/fate/filter-pixdesc-bgr8 tests/ref/fate/filter-pixdesc-bgra tests/ref/fate/filter-pixdesc-gbrap tests/ref/fate/filter-pixdesc-gbrp tests/ref/fate/filter-pixdesc-gbrp10be tests/ref/fate/filter-pixdesc-gbrp10le tests/ref/fate/filter-pixdesc-gbrp9be tests/ref/fate/filter-pixdesc-gbrp9le tests/ref/fate/filter-pixdesc-gray tests/ref/fate/filter-pixdesc-gray16be tests/ref/fate/filter-pixdesc-gray16le tests/ref/fate/filter-pixdesc-monob tests/ref/fate/filter-pixdesc-monow tests/ref/fate/filter-pixdesc-nv12 tests/ref/fate/filter-pixdesc-nv21 tests/ref/fate/filter-pixdesc-rgb24 tests/ref/fate/filter-pixdesc-rgb444be tests/ref/fate/filter-pixdesc-rgb444le tests/ref/fate/filter-pixdesc-rgb48be tests/ref/fate/filter-pixdesc-rgb48le tests/ref/fate/filter-pixdesc-rgb4_byte tests/ref/fate/filter-pixdesc-rgb555be tests/ref/fate/filter-pixdesc-rgb555le tests/ref/fate/filter-pixdesc-rgb565be tests/ref/fate/filter-pixdesc-rgb565le tests/ref/fate/filter-pixdesc-rgb8 tests/ref/fate/filter-pixdesc-rgba tests/ref/fate/filter-pixdesc-uyvy422 tests/ref/fate/filter-pixdesc-yuv410p tests/ref/fate/filter-pixdesc-yuv411p tests/ref/fate/filter-pixdesc-yuv420p tests/ref/fate/filter-pixdesc-yuv420p10be tests/ref/fate/filter-pixdesc-yuv420p10le tests/ref/fate/filter-pixdesc-yuv420p16be tests/ref/fate/filter-pixdesc-yuv420p16le tests/ref/fate/filter-pixdesc-yuv420p9be tests/ref/fate/filter-pixdesc-yuv420p9le tests/ref/fate/filter-pixdesc-yuv422p tests/ref/fate/filter-pixdesc-yuv422p10be tests/ref/fate/filter-pixdesc-yuv422p10le tests/ref/fate/filter-pixdesc-yuv422p16be tests/ref/fate/filter-pixdesc-yuv422p16le tests/ref/fate/filter-pixdesc-yuv422p9be tests/ref/fate/filter-pixdesc-yuv422p9le tests/ref/fate/filter-pixdesc-yuv440p tests/ref/fate/filter-pixdesc-yuv444p tests/ref/fate/filter-pixdesc-yuv444p10be tests/ref/fate/filter-pixdesc-yuv444p10le tests/ref/fate/filter-pixdesc-yuv444p16be tests/ref/fate/filter-pixdesc-yuv444p16le tests/ref/fate/filter-pixdesc-yuv444p9be tests/ref/fate/filter-pixdesc-yuv444p9le tests/ref/fate/filter-pixdesc-yuva420p tests/ref/fate/filter-pixdesc-yuva420p10be tests/ref/fate/filter-pixdesc-yuva420p10le tests/ref/fate/filter-pixdesc-yuva420p16be tests/ref/fate/filter-pixdesc-yuva420p16le tests/ref/fate/filter-pixdesc-yuva420p9be tests/ref/fate/filter-pixdesc-yuva420p9le tests/ref/fate/filter-pixdesc-yuva422p tests/ref/fate/filter-pixdesc-yuva422p10be tests/ref/fate/filter-pixdesc-yuva422p10le tests/ref/fate/filter-pixdesc-yuva422p16be tests/ref/fate/filter-pixdesc-yuva422p16le tests/ref/fate/filter-pixdesc-yuva422p9be tests/ref/fate/filter-pixdesc-yuva422p9le tests/ref/fate/filter-pixdesc-yuva444p tests/ref/fate/filter-pixdesc-yuva444p10be tests/ref/fate/filter-pixdesc-yuva444p10le tests/ref/fate/filter-pixdesc-yuva444p16be tests/ref/fate/filter-pixdesc-yuva444p16le tests/ref/fate/filter-pixdesc-yuva444p9be tests/ref/fate/filter-pixdesc-yuva444p9le tests/ref/fate/filter-pixdesc-yuvj420p tests/ref/fate/filter-pixdesc-yuvj422p tests/ref/fate/filter-pixdesc-yuvj440p tests/ref/fate/filter-pixdesc-yuvj444p tests/ref/fate/filter-pixdesc-yuyv422 tests/ref/fate/filter-pixdesc-yvyu422 tests/ref/fate/filter-pixfmts-copy tests/ref/fate/filter-pixfmts-crop tests/ref/fate/filter-pixfmts-hflip tests/ref/fate/filter-pixfmts-null tests/ref/fate/filter-pixfmts-pad tests/ref/fate/filter-pixfmts-scale tests/ref/fate/filter-pixfmts-vflip tests/ref/fate/filter-scale200 tests/ref/fate/filter-scale500 tests/ref/fate/filter-vflip tests/ref/fate/filter-vflip_crop tests/ref/fate/filter-vflip_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-10avcodec/snowenc: set dia_size for the first pass of motion estimation tooMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-10fate: Reduce the number of frames used to test video filtersLuca Barbato
Use 5 frames for video filter tests and a single one for the pixelformat tests. Greatly reduces the test duration without reducing coverage.
2015-05-10avcodec/snowenc: correct fullpel search patternMichael Niedermayer
No real difference in quality, its a bit slower for the same dia_size as more vectors are searched for the same dia_size Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-10avcodec/snowenc: Fix used reference MV in fullpel iterative MEMichael Niedermayer
This very very slightly improves quality, no measurable speed change Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-08pngdec: set correct rangewm4
AV_PIX_FMT_GRAY8/16 are considered YUV formats, and the color_range is not set - so the API user will have to assume limitted range. (Unless the API user adds a special-case for the PNG decoder.) Just export the correct range - full range. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-07Merge remote-tracking branch 'rbultje/vp9-profile23-wip'Michael Niedermayer
* rbultje/vp9-profile23-wip: libvpxdec: add 440 pixfmts. vp9: add profile 2/3 fate tests. vp9: add inter-frame profile 2/3 suport. vp9: add keyframe profile 2/3 support. vp9: parse profile 2/3 bitdepth in frame header. vp9: add profile 2/3 to exported profiles. fate: add/update reference files for 440 addition. swscale: add yuv440p10/12 pixfmts. lavc: add yuv440p10/12 formats to aligned pixfmt list. lavu: add yuv440p10/12 pixfmts. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-07vp9: add profile 2/3 fate tests.Ronald S. Bultje
2015-05-06Merge commit 'd81fb63d87692765c004c19934b49427df434a07'Michael Niedermayer
* commit 'd81fb63d87692765c004c19934b49427df434a07': fate: Add a PICT test Conflicts: tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-06fate: add/update reference files for 440 addition.Ronald S. Bultje
2015-05-06fate: Add a PICT testVittorio Giovara
This stimulates the direct pixel mode in Quickdraw decoder.
2015-05-06lavf: Open PICT images with QuickdrawVittorio Giovara
Update the pictor test to use the pictor codec, as both formats share the .pic file extension.
2015-05-01vp9: add fate test for 422.Ronald S. Bultje
Sample available at: http://downloads.webmproject.org/test_data/libvpx/vp91-2-04-yuv422.webm
2015-05-01vp9: add yuv440 fate test.Ronald S. Bultje
Sample available at: http://downloads.webmproject.org/test_data/libvpx/vp91-2-04-yuv440.webm
2015-05-01vp9: add fate test for profile 1 444.Ronald S. Bultje
Sample available at: http://downloads.webmproject.org/test_data/libvpx/vp91-2-04-yuv444.webm
2015-04-28webmdashenc: Fix UTCTiming ElementVignesh Venkatasubramanian
Remove the direct profile from UTCTiming element. Per DASH spec, direct profile value should be the time at which the request was made to the server and not the time at which the manifest was written. So ffmpeg cannot write this value. This patch removes the direct profile and write the UTCTiming element with the http profile only if a URL is passed as a parameter. Update the fate test to reflect this change. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-27tests: make sure subtitles tests are run with a rawdiffClément Bœsch
This will test properly CRLF with make fate, make fate-subtitles and any make fate-sub-* test. Before this commit, the rawdiff was triggered only by make fate-subtitles. Also make sure fate-sub-* only match the tests relying on fmtstdout command, to at least avoid failing on MingW. See https://ffmpeg.org/pipermail/ffmpeg-devel/2015-April/172395.html
2015-04-27tests/subtitles: fix microdvd crlf in refClément Bœsch
2015-04-26avcodec/ffv1enc: set bits_per_raw_sample for 8bit based formatsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-24vp9: add fate test for intraonly frames.Ronald S. Bultje
Sample available at: http://downloads.webmproject.org/test_data/libvpx/vp90-2-16-intra-only.webm
2015-04-24vp9: add fate test for segmentation image-edge issue.Ronald S. Bultje
Sample available at: http://downloads.webmproject.org/test_data/libvpx/vp90-2-15-segkey_adpq.webm
2015-04-24vp9: add fate tests for show-existing-frame feature.Ronald S. Bultje
Samples available at: http://downloads.webmproject.org/test_data/libvpx/vp90-2-10-show-existing-frame.webm http://downloads.webmproject.org/test_data/libvpx/vp90-2-10-show-existing-frame2.webm Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-24vp9: add lf_deltas fate test.Ronald S. Bultje
Sample available at: http://downloads.webmproject.org/test_data/libvpx/vp90-2-09-lf_deltas.webm Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-24tests/fate-run: do not attempt to parse tiny_psnrs output if it failedMichael Niedermayer
This avoids confusing syntax errors with awk later Likely fixes awk errors at: http://buildd.debian-ports.org/status/fetch.php?pkg=ffmpeg&arch=sparc64&ver=7%3A2.6.2-1&stamp=1428928967 Reviewed-by: Timothy Gu <timothygu99@gmail.com> Thanks-to: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> for the link Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23vp9: add fate test for bilinear MC filter.Ronald S. Bultje
Sample at: http://downloads.webmproject.org/test_data/libvpx/vp90-2-06-bilinear.webm Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23tests/tiny_psnr: do not ignore errors from run_psnrMichael Niedermayer
failure to calculate psnr should not result in tiny_psnr returning success Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23fate: add mp3 CBR seek testwm4
This tests the "old", now non-default seek mode, and this requires a special extra argument. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23fate: Fix test name for pixfmts testsTimothy Gu
The last pixel format gets leaked as `$test` further down the pipeline. See for example https://fate.libav.org/x86_32-netbsd-clang-no-inline-asm/20150420020104 Note the odd test names like “yuvj444p.” CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-23vp9: add fate size for resolution changes.Ronald S. Bultje
See sample: http://downloads.webmproject.org/test_data/libvpx/vp90-2-05-resize.ivf Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-23fate: add cinepak encoder vsynth testsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22fate: gapless: remove useless testswm4
These could be kept, but they are not overly useful. The only thing they had over the remaining mp3 gapless test was seeking, which was incorrect in the toc test, and only by chance correct in the notoc test. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22avformat/mp3dec: make generic index mode the defaultwm4
It's the most useful mode, because it seeks accurately, and does not break features like gapless audio. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22avformat/mp3dec: allow enabling generic seek modewm4
"-usetoc 2" now invokes the generic seek and indexing mode. This mode skips data until the seek target is reached, and this is exact. It also makes gapless audio actually work if a seek past the start of the file is involved. Change the fate-gapless-mp3 test to use the new mode, and move the old one to fate-gapless-mp3-toc (since the test forces use of the Xing TOC). The new mode has a different result for the seek - this result is actually correct. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22avformat/mp3dec: use the common mechanism for skipping sampleswm4
The mp2 seek test results change. Whether to skip samples if the file had no LAME gapless tags was inconsistent. When seeking to the start of the file, 529 samples were skipped, but when playing from start, nothing was skipped. This commit changes the behavior on seek to skip nothing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22webmdashenc: parameter'ize minimumUpdatePeriodVignesh Venkatasubramanian
Some players do not support setting minimumUpdatePeriod to zero. This patch adds a new parameter that will let the users set any value to this field. Also updates the test and the documentation. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22webmdashenc: Add minimumUpdatePeriodVignesh Venkatasubramanian
DASH spec requires the presence of either duration of the period or the minimumUpdatePeriod element. This patch adds the minimumUpdatePeriod element hardcoded with the value 0 as the manifest will never be updated for WebM DASH Live streams. Also updating the fate test reference file. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-21avformat/mp3dec: Adjust returned timestamp in the CBR seeking caseMichael Niedermayer
With this the returned timestamp should match the packet instead of the requested timestamp, which may lay between packets Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-20fate: gapless: fix mp3 testswm4
Seeking to a negative time did not have the desired effect of seeking to the next valid position (the file start). On the other hand, just "-ss 0" will normally seek to a position higher than 0, because it adds the start time of the file. (The start time is not 0 because the gapless code skips a few samples from the start.) Fix this by using the "-seek_timestamp 1" option, which makes "-ss 0" do what you'd expect it would do. Also put the -ss option at the right place, before -i. This actually makes it seek, instead of something completely else. The ".out-3" test is no different in the -usetoc 0/1 cases, because the seeking is inaccurate (in both cases). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-20libavcodec: Add FLAC API testLudmila Glinskih
Signed-off-by: Ludmila Glinskih <lglinskih@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>