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
2012-04-26Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: FATE: use updated reference for aac-latm_stereo_to_51 avconv: use libavresample Add libavresample FATE: avoid channel mixing in lavf-dv_fmt Conflicts: Changelog Makefile cmdutils.c configure doc/APIchanges ffmpeg.c tests/lavf-regression.sh tests/ref/lavf/dv_fmt tests/ref/seek/lavf_dv Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-25FATE: use updated reference for aac-latm_stereo_to_51Justin Ruggles
This uses correct stereo to 5.1 upmixing via libavresample.
2012-04-24FATE: avoid channel mixing in lavf-dv_fmtJustin Ruggles
This partially reverts acb1730218f1c614dc8ca3ba45d9de1e05059515 which would only have needed to change the checksums if channel mixing had been properly avoided. This changes the output file size reference and the seek test reference back to the previous values.
2012-04-24Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: matroska: Clear prev_pkt between seeks. avutil: change default buffer size alignment for sample buffer functions audemux: Add a sanity check for the number of channels Remove libdirac decoder. matroska: Add incremental parsing of clusters. avconv: fix off by one check in complex_filter mpegts: Try seeking back even for nonseekable protocols swscale: K&R formatting cosmetics (part III) Conflicts: configure doc/general.texi doc/platform.texi ffmpeg.c libavcodec/Makefile libavcodec/allcodecs.c libavcodec/libdirac.h libavcodec/libdiracdec.c libavformat/au.c libavformat/mpegts.c libswscale/input.c tests/ref/seek/lavf_mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-24Get rid of tests/data/asynth-%.sw rule.Reimar Döffinger
This also avoids an issue with parallel make in some cases never building asynth-16000-1.sw. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-23Simplify asynth sample generation.Reimar Döffinger
One rule can be used to generate all asynth files. Requires renaming the mapchan files though. Also switch to using the .wav variants for mapchan while changing the name anyway, this allows getting rid of the explicitly specified format. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-23parseutils: add av_parse_time() test.Nicolas George
2012-04-23parseutils: add FATE test.Nicolas George
2012-04-23matroska: Add incremental parsing of clusters.Dale Curtis
Reduces the amount of upfront data required for cluster parsing thus decreasing latency on seek and startup. The change in the seek-lavf_mkv FATE test is due to incremental parsing no longer reading as much data as the old parser and thus not having that additional data to generate index entries based on keyframes. Index entries are added correctly as the file is parsed. All FATE tests pass and Chrome has been using this patch for ~6 months without issue. Currently incremental parsing is not supported for files with SSA tracks since they require merging packets between clusters. In this case the code falls back to non-incremental parsing. Signed-off-by: Aaron Colwell <acolwell@chromium.org> Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-04-21Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avcodec: add a cook parser to get subpacket duration FATE: allow lavf tests to alter input parameters FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum test FATE: replace the acodec-g726 test with 4 new encode/decode tests FATE: replace current g722 encoding tests with an encode/decode test FATE: add a pattern rule for generating asynth wav files FATE: optionally write a WAVE header in audiogen avutil: add audio fifo buffer Conflicts: doc/APIchanges libavcodec/version.h libavutil/avutil.h tests/Makefile tests/codec-regression.sh tests/fate/voice.mak tests/lavf-regression.sh tests/ref/acodec/g722 tests/ref/acodec/g726 tests/ref/acodec/pcm_s24daud tests/ref/lavf/dv_fmt tests/ref/lavf/gxf tests/ref/lavf/mxf tests/ref/lavf/mxf_d10 tests/ref/seek/lavf_dv Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-20FATE: allow lavf tests to alter input parametersJustin Ruggles
Change some lavf tests to avoid resampling and channel mixing.
2012-04-20FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum testJustin Ruggles
This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.
2012-04-20FATE: replace the acodec-g726 test with 4 new encode/decode testsJustin Ruggles
Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
2012-04-20FATE: replace current g722 encoding tests with an encode/decode testJustin Ruggles
Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
2012-04-20FATE: add a pattern rule for generating asynth wav filesJustin Ruggles
2012-04-20FATE: optionally write a WAVE header in audiogenJustin Ruggles
2012-04-19Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: dv: Initialize encoder tables during encoder init. dv: Replace some magic numbers by the appropriate #define. FATE: pass the decoded output format and audio source file to enc_dec_pcm FATE: specify the input format when decoding in enc_dec_pcm() x86inc: support AVX abstraction for 2-operand instructions configure: detect PGI compiler and set suitable flags avconv: check for an incompatible changing channel layout avio: make AVIOContext.av_class pointer to const nutdec: add malloc check and fix const to non-const conversion warnings Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-19FATE: pass the decoded output format and audio source file to enc_dec_pcmJustin Ruggles
This will allow decoding to md5 and doing a diff comparison to a reference checksum instead of a fuzzy stddev or oneoff comparison. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-04-19FATE: specify the input format when decoding in enc_dec_pcm()Justin Ruggles
The output format is not always the same as the file extension, which is sometimes required for correct probing. We can avoid probing by specifying the format since it is already known.
2012-04-17fate: libavutil tests do not require SAMPLES.Nicolas George
2012-04-17ffmpeg: make max frames work again, after mergeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-17vf_thumbnail: colorspace changed from yv12 to rgbMichael Niedermayer
Not fully investigated but thumbnail supports rgb and not yv12 so this is better ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-17fate: fix vp8 size change regressionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-17fate: gif: change checksum to bgr8 from rgb8 as thats what gets selected nowMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-17Merge commit '3b266da3d35f3f7a61258b78384dfe920d875d29'Michael Niedermayer
* commit '3b266da3d35f3f7a61258b78384dfe920d875d29': avconv: add support for complex filtergraphs. avconv: make filtergraphs global. avconv: move filtered_frame from InputStream to OutputStream. avconv: don't set output width/height directly from input value. avconv: move resample_{width,height,pix_fmt} to InputStream. avconv: remove a useless variable from OutputStream. avconv: get output pixel format from lavfi. graphparser: fix the order in which unlabeled input links are returned. avconv: change {input,output}_{streams,files} into arrays of pointers. avconv: don't pass input/output streams to some functions. Conflicts: cmdutils.c cmdutils.h doc/ffmpeg.texi ffmpeg.c ffplay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-15avconv: get output pixel format from lavfi.Anton Khirnov
This way we don't require a clearly defined corresponding input stream. The result for the xwd test changes because rgb24 is now chosen instead of bgra.
2012-04-15Set bits_per_coded_sample when encoding Microsoft Video-1.Carl Eugen Hoyos
Fixes ticket #1193.
2012-04-15tiny_psnr: reindent after last commit.Nicolas George
2012-04-15tiny_psnr: support unseekable raw files.Nicolas George
If either one of the files if not seekable, do not try to read headers. It allows to use it with pipes on whole rawvideo data.
2012-04-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vsrc_buffer: fix check from 7ae7c41. libxvid: Reorder functions to avoid forward declarations; make functions static. libxvid: drop some pointless dead code wmal: vertical alignment cosmetics wmal: Warn about missing bitstream splicing feature and ask for sample. wmal: Skip seekable_frame_in_packet. wmal: Drop unused variable num_possible_block_size. avfiltergraph: make the AVFilterInOut alloc/free API public graphparser: allow specifying sws flags in the graph description. graphparser: fix the order of connecting unlabeled links. graphparser: add avfilter_graph_parse2(). vsrc_buffer: allow using a NULL buffer to signal EOF. swscale: handle last pixel if lines have an odd width. qdm2: fix a dubious pointer cast WMAL: Do not try to read rawpcm coefficients if bits is invalid mov: Fix detecting there is no sync sample. tiffdec: K&R cosmetics avf: has_duration does not check the global one dsputil: fix optimized emu_edge function on Win64. Conflicts: doc/APIchanges libavcodec/libxvid_rc.c libavcodec/libxvidff.c libavcodec/tiff.c libavcodec/wmalosslessdec.c libavfilter/avfiltergraph.h libavfilter/graphparser.c libavfilter/version.h libavfilter/vsrc_buffer.c libswscale/output.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-12latmenc: copy pce config from proper location.Reimar Döffinger
For the FATE test sample used, this only avoids a warning message. However for other samples like al05_44.mp4 the converted file can be played only after this fix. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-12latmenc: fix muxing of byte-aligned DSE.Reimar Döffinger
This will only work for DSEs that are first in a packet, but that is enough to fix handling of the reference files in fate-suite/aac (though most of them still have other issues). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-12lavf: always call avio_flush in av_write_trailer.Reimar Döffinger
Otherwise for muxers like e.g. latmenc that never call avio_flush (and do not have a write_trailer function) a part of the data will always be missing. Also update references for the voc muxer, which was also buggy before and did not write out all data. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-11Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (22 commits) rv40dsp x86: use only one register, for both increment and loop counter rv40dsp: implement prescaled versions for biweight. avconv: use default channel layouts when they are unknown avconv: parse channel layout string nutdec: K&R formatting cosmetics vda: Signal 4 byte NAL headers to the decoder regardless of what's in the extradata mem: Consistently return NULL for av_malloc(0) vf_overlay: implement poll_frame() vf_scale: support named constants for sws flags. lavc doxy: add all installed headers to doxy groups. lavc doxy: add avfft to the main lavc group. lavc doxy: add remaining avcodec.h functions to a misc doxygen group. lavc doxy: add AVPicture functions to a doxy group. lavc doxy: add resampling functions to a doxy group. lavc doxy: replace \ with / lavc doxy: add encoding functions to a doxy group. lavc doxy: add decoding functions to a doxy group. lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO} lavc doxy: add AVPacket-related stuff to a separate doxy group. lavc doxy: add core functions/definitions to a doxy group. ... Conflicts: ffmpeg.c libavcodec/avcodec.h libavcodec/vda.c libavcodec/x86/rv40dsp.asm libavfilter/vf_scale.c libavformat/nutdec.c libavutil/mem.c tests/ref/acodec/pcm_s24daud Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10avconv: use default channel layouts when they are unknownJustin Ruggles
If either input or output layout is known and the channel counts match, use the known layout for both. Otherwise choose the default layout based on av_get_default_channel_layout(). Changed some FATE references due to some WAVE files now having a non-zero channel mask.
2012-04-09Fix gif regression test on big-endian.Reimar Döffinger
Decode output must be converted to rgb24 to avoid CRC difference due to palette being stored in machine endianness. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-09Add gif and xbm regression tests.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-09vf_scale: ensure the palette is set for output.Reimar Döffinger
Since those are pseudo-palette formats, swscale does not write into data[1], swscale must initialize the palette properly itself. This lead to frames that actually decoded as all-gray before. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-09Add v408 codec regression test.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-09Add roqaudio regression test.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-08Allow running fate-wmv8-x8intra manually.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-08Allow manually running disabled FATE tests.Reimar Döffinger
This makes it easy to allow people to run tests that are disabled (e.g. because they are broken) without having to hack Makefiles by adding the test name to FATE_TESTS-no. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-08Update reference for disabled fate-wmv8-x8intra test to new format.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-08Add nellymoser "fuzzy" FATE test.Reimar Döffinger
Since we cannot specify decode parameters (and also because it is better in principle) the 1-channel reference file needs to be enabled, too. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-08Fixes for third argument do_image_formats.Reimar Döffinger
Remove it from two places where it is useless, do not apply it to the encode command and make it apply to the output instead of the input of the decode command. Should fix the dpx test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-07Do not decode the mp3 data in lavf test since that is not bit-exact.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-07dcaenc: Allow encoding without specifying a channel_layout.Reimar Döffinger
It will print a warning, making the behaviour consistent with the AC3 encoder. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-07Test mp3 container muxing (and thus ID3 writing).Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-07Fix DCA regression test to work across architectures.Reimar Döffinger
Only the decoding step is not bit-exact, so avoid checksum for that. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-04-07fate: try to force le for the dpx decoder side tooMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>