aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-05-26tests/lavfi: use do_lavfi_pixfmts for the pixdesctest testStefano Sabatini
Simplify, and as a side effect extend the number of supported formats, in particular add a test for pal8.
2012-05-26tests/lavfi: rework lavfi-regression.sh, avoid use of ffmpeg -pix_fmtsStefano Sabatini
Use lavfi-showfiltfmts for checking the format supported by the scale filter instead. The advantage is that the scale filter may support formats which are not supported by libswscale (namely: the pal8 format). The new implementation is also a bit cleaner, because it doesn't depend on the ffmpeg output.
2012-05-25lavfi/hflip: copy palette data in start_frame()Stefano Sabatini
Fix trac ticket #1116.
2012-05-25Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: rtmp: Return a proper error code instead of -1 rtmp: Check malloc calls rtmp: Check ff_rtmp_packet_create calls lavfi: add audio mix filter flvdec: Make sure sample_rate is set to the updated value tqi: Pass errors from the MB decoder Conflicts: Changelog doc/filters.texi libavcodec/eatqi.c libavfilter/Makefile libavfilter/allfilters.c libavfilter/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-24fate: update checksum after pal8 changesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-22Add Avid Meridien Uncompressed (AVUI) encoder.Carl Eugen Hoyos
2012-05-21libavcodec: correct consumed bytes for decodersMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-21ivi_common: skip null frames for all indeo variantsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-21ffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1Stefano Sabatini
The special-case behavior may complicate parsing when the -show_format_entry option is used programmatically in a script. The option default=nk=1 achieves the same purpose, if the objective is to skip printing the single field key.
2012-05-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: indeo: Make ivi_calc_band_checksum() static, it is only used in one file. indeo: Drop unused debug function ivi_check_band(). avcodec/utils: cast a function argument to shut up a compiler warning truemotion1: remove disabled code fix typo in comment fate: fix dependencies for non-SAMPLES avconv tests indeo: check for invalid motion vectors indeo: check that band output buffer exists indeo: clear allocated band buffers indeo: track tile macroblock size indeo: check custom Huffman tables for errors factor out common decoding code for Indeo 4 and Indeo 5 mp3: fix start band index for block type 2 in 8kHz audio lavf: change some (de)muxer names to lowercase lavf: make output format matching case insensitive Conflicts: libavcodec/indeo4.c libavcodec/indeo5.c libavcodec/ivi_common.c libavcodec/utils.c tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-20fate: fix dependencies for non-SAMPLES avconv testsMans Rullgard
The encode/decode tests should all depend on avconv. Since avconv requires libavfilter, there is no need to enable those tests selectively. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fate: fix dependencies on SAMPLES being set fate: remove unnecessary libavfilter dependency Conflicts: ffmpeg.c tests/Makefile tests/fate/aac.mak tests/fate/audio.mak tests/fate/demux.mak tests/fate/ea.mak tests/fate/image.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/microsoft.mak tests/fate/mpc.mak tests/fate/probe.mak tests/fate/qt.mak tests/fate/real.mak tests/fate/screen.mak tests/fate/video.mak tests/fate/voice.mak tests/fate/vqf.mak tests/ref/fate/idroq-video-encode tests/ref/fate/vc1-ism Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-19lavf: change some (de)muxer names to lowercaseMans Rullgard
This is consistent with other format names. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19fate: fix dependencies on SAMPLES being setMans Rullgard
This allows fate to run without errors with or without SAMPLES being set. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19fate: remove unnecessary libavfilter dependencyMans Rullgard
avconv now requires libavfilter so this dependency is redundant. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: doc: Replace some @file tags by more suitable markup. fate: Set FUZZ factor of vorbis-13 test to 2. fate: Set FUZZ factor of (e)ac3-encode test to 3. fate: remove unused code from regressions-funcs.sh rtmp: Don't assume path points to a string of nonzero length avconv: fix behavior with -ss as an output option. Conflicts: doc/platform.texi doc/protocols.texi ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-18ffmpeg: resurrect -map_channel.Clément Bœsch
2012-05-18af_aresample: fix rounding that led to sample accumulation in the buffers.Michael Niedermayer
This fixes a regression that apparently was missed when switching to the in af resampler Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-18avconv: replace -vsync cfr code with the fps filter.Anton Khirnov
Invented timestamps for the h264 tests return to something resembling sanity. In the idroq-video-encode test when converting 25 fps -> 30 fps the fifth frame gets duplicated instead of the sixth.
2012-05-18mov: enable parsing for VC-1.Anton Khirnov
This makes lavf discard broken timestamps for non-B frames in samples/isom/vc1-wmapro.ism.
2012-05-18fate: Set FUZZ factor of vorbis-13 test to 2.Diego Biurrun
This is necessary to account for different rounding done in the 3DNow! Assembly optimizations.
2012-05-18fate: Set FUZZ factor of (e)ac3-encode test to 3.Diego Biurrun
This is necessary to account for different rounding done in the 3DNow! Assembly optimizations.
2012-05-18fate: ffprobe tests require SAMPLES.Nicolas George
2012-05-18fate: remove unused code from regressions-funcs.shMans Rullgard
The only uses of the do_avconv_nomd5() function were removed in 85cf49f. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-17Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: pcmenc: set correct bitrate value avprobe: don't print format entry name when only one was requested Conflicts: ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-17aresample: add code to flush the internal swr buffer.Michael Niedermayer
Inspired-by code from af_resample.c written by Anton Khirnov Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-17pcmenc: set correct bitrate valueMans Rullgard
This fixes a bogus bitrate value in the header of WAV files with alaw/ulaw audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-17ffmpeg: add support for audio filters.Anton Khirnov
Some of the FATE changes are due to off-by-one different rounding being used (lrintf vs av_rescale_q). Some fate changes are due to 1 audio frame less being encoded (the new variant seems matching what qatar does and according to ffprobe its closer to the requested duration) the mapchan feature sadly is lost in this commit because it depends on resampling being done in ffmpeg.c which is now moved completely into the av filter layer -async is broken after this commit, this will be fixed in subsequent commits the new filter reconfiguration system is flawed and will drop a frame on each parameter change which is why the nelly moser checksums need updating. Conflicts: ffmpeg.c tests/ref/fate/smjpeg
2012-05-16Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fate: Work around non-standard wc implementations at more places fate: work around non-standard wc implementations x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions. ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16 fate: use standard diff options tta: Fix comment about channel number; TTA supports >2 channels. avfilter: Move ff_get_ref_perms_string() to where it is used. build: Add 'check' target to run all compile and test targets. indeo3: validate new frame size before resetting decoder indeo3: when freeing buffers, set pointers referencing them to NULL as well indeo3: initialise pixel planes on allocation indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder fate: rename psx-str-v3-mdec to mdec-v3 fate: convert psx-str to a demuxer test lavf: add mdec to is_intra_only() list Conflicts: doc/developer.texi libavcodec/indeo3.c libavfilter/video.c libavformat/utils.c tests/fate/demux.mak tests/fate/video.mak tests/lavf-regression.sh tests/ref/vsynth1/cljr tests/ref/vsynth1/ffvhuff tests/ref/vsynth2/cljr tests/ref/vsynth2/ffvhuff Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-16avprobe: don't print format entry name when only one was requestedAnton Khirnov
This is easier to parse with automated tools.
2012-05-16fate: Work around non-standard wc implementations at more placesMartin Storsjö
This applies the same fix as in ed7409fe9d for lavf-regressions.sh. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-05-16fate: work around non-standard wc implementationsMans Rullgard
On some systems, the wc command prints spaces before the first number causing mismatches with the test references. Using the output of wc as arguments to echo removes any extra whitespace. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-16Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (26 commits) fate: use diff -b in oneline comparison Add missing version bumps and APIchanges/Changelog entries. lavfi: move buffer management function to a separate file. lavfi: move formats-related functions from default.c to formats.c lavfi: move video-related functions to a separate file. fate: make smjpeg a demux test fate: separate sierra-vmd audio and video tests fate: separate smacker audio and video tests libmp3lame: set supported channel layouts. avconv: automatically insert asyncts when -async is used. avconv: add support for audio filters. lavfi: add asyncts filter. lavfi: add aformat filter lavfi: add an audio buffer sink. lavfi: add an audio buffer source. buffersrc: add av_buffersrc_write_frame(). buffersrc: fix invalid read in uninit if the fifo hasn't been allocated lavfi: rename vsrc_buffer.c to buffersrc.c avfiltergraph: reindent lavfi: add channel layout/sample rate negotiation. ... Conflicts: Changelog doc/APIchanges doc/filters.texi ffmpeg.c ffprobe.c libavcodec/libmp3lame.c libavfilter/Makefile libavfilter/af_aformat.c libavfilter/allfilters.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/defaults.c libavfilter/formats.c libavfilter/src_buffer.c libavfilter/version.h libavfilter/vf_yadif.c libavfilter/vsrc_buffer.c libavfilter/vsrc_buffer.h libavutil/avutil.h tests/fate/audio.mak tests/fate/demux.mak tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-15fate: use standard diff optionsMans Rullgard
diff -w is not a standard option. This fixes the reference files to match what the tests actually output and switches to using the standard diff -b which is sufficient to handle different line ending styles. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15fate: rename psx-str-v3-mdec to mdec-v3Mans Rullgard
This name better reflects that it is v3 of mdec that is tested. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15fate: convert psx-str to a demuxer testMans Rullgard
While these codecs are covered elsewhere, the container is different from the other psx-str file. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15fate: use diff -b in oneline comparisonMans Rullgard
This is simpler and should take care of any problems with mixed line ending styles. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15mtv: make output endian independantMichael Niedermayer
should fix fate-mtv test Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-15fate: make smjpeg a demux testMans Rullgard
These codecs are covered elsewhere so make this a pure demux test. Also rename it accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: separate sierra-vmd audio and video testsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: separate smacker audio and video testsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14avconv: add support for audio filters.Anton Khirnov
The FATE changes are all off-by-one due to different rounding being used (lrintf vs av_rescale_q).
2012-05-14mtv: do not byteswap raw video in demuxerMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (25 commits) vcr1: Add vcr1_ prefixes to all static functions with generic names. vcr1: Fix return type of common_init to match the function pointer signature. vcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits. motion-test: remove disabled code gxfenc: remove disabled half-implemented MJPEG tag x86: use more standard construct for setting ASM functions in FFT code fate: westwood-aud: disable decoding fate: caf: disable decoding fate: film-cvid: drop pcm audio and rename test fate: d-cinema-demux: drop unnecessary flags fate: split off dpcm-interplay from interplay-mve tests fate: rename funcom-iss to adpcm-ima-iss fate: rename cryo-apc to adpcm-ima-apc fate: rename adpcm-psx-str-v3 to adpcm-xa fate: split off adpcm-ms-mono test from dxa-feeble fate: split off adpcm-ima-ws test from vqa-cc fate: add adpcm-ima-smjpeg test fate: split off adpcm-ima-amv from amv test fate: separate bmv audio and video tests fate: separate delphine-cin audio and video tests ... Conflicts: doc/platform.texi libavcodec/vcr1.c tests/fate/audio.mak tests/fate/demux.mak tests/fate/video.mak tests/ref/fate/ea-mad-pcm-planar tests/ref/fate/interplay-mve-16bit tests/ref/fate/interplay-mve-8bit tests/ref/fate/mtv tests/ref/fate/qtrle-1bit tests/ref/fate/qtrle-2bit tests/ref/fate/truemotion1-15 tests/ref/fate/truemotion1-24 tests/ref/fate/vqa-cc Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-14fate: westwood-aud: disable decodingMans Rullgard
The codec (adpcm-ima-ws) is tested elsewhere. Using framecrc output provides more information than a single md5 if something goes wrong. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: caf: disable decodingMans Rullgard
This is intended as a demuxer test and the file contains pcm_s16be audio which is tested elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: film-cvid: drop pcm audio and rename testMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: d-cinema-demux: drop unnecessary flagsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: split off dpcm-interplay from interplay-mve testsMans Rullgard
These two files use the same audio codec so only one test for this is needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14fate: rename funcom-iss to adpcm-ima-issMans Rullgard
This matches the name of the codec. Signed-off-by: Mans Rullgard <mans@mansr.com>