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
2014-06-05tests: add adpcm trellis testsTimothy Gu
adpcm_ima_qt does not produce reproducible results, so it is temporarily disabled (see #3701). Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-05tests: Add ac3_fixed decoder testTimothy Gu
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-05tests/swr: move the results out of the functionsTimothy Gu
This prevents all results from being declared whenever the function is called. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-04Fix some fate filter tests with --target-path.Carl Eugen Hoyos
2014-06-04Fix fate-aac-ln-encode with --target-path (second try).Carl Eugen Hoyos
2014-06-03Fix fate-opus and fate-aac-ln-encode with --target-path.Carl Eugen Hoyos
2014-06-02fate: fate-hevc-conformance-INITQP_B_Sony_1 belongs to the 10bit kindMichael Niedermayer
Fixes the test on big endian Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-02tests: Replace fieldmatch test with pixfmtTimothy Gu
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-02fate: add simple test for asyncMichael Niedermayer
This only checks that things havnt changed, the values provide little help in determining if a change is good or bad. Improvements welcome! Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-01tests: remove stale fate-update.sh scriptTimothy Gu
This is the same as 5a15602a4e99c730036c33b467f60248889219e1, which accidentally did not get merged. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-01tests: Add pullup filter testTimothy Gu
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-30tests: Add MPEG4 nsse testTimothy Gu
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-29tests: allow passing dimensions to videogenChristophe Gisquet
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-29tests/fate/opus: change test to use the official reference samplesMichael Niedermayer
The official samples are 50% smaller Avoid having reference samples which are strongly linked to the used resampler implementation. (which for example would require new samples to be used if this implementation changes) Also its more correct to use the official samples instead of the current decoder output also enable tests The tests also fully pass as well with the previous samples. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-28avformat/oggenc: fix EOS flagMichael Niedermayer
This corrects the bug that caused the checksums to change in 9767d7c092c890ecc5953452e8a951fd902dd67b Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-28Merge commit '9767d7c092c890ecc5953452e8a951fd902dd67b'Michael Niedermayer
* commit '9767d7c092c890ecc5953452e8a951fd902dd67b': oggenc: Flush after writing headers Conflicts: tests/ref/lavf/ogg Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-27oggenc: Flush after writing headersAndrew Kelley
Before, header information for ogg format files was sent with the first encoded packet. This patch makes it so that it is possible for API users to differentiate between headers and encoded audio. This is useful, for example, when creating an audio stream where you want to send one set of headers for every client that connects and then the encoded stream of audio. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-05-25avcodec/webvttenc: add webvtt encoderAman Gupta
Based off the srt encoder. The following features are unimplemented: - fonts, colors, sizes - alignment and positioning The rest works well. For example, use ffmpeg to convert subtitles into the .vtt format: ffmpeg -i input.srt output.vtt Signed-off-by: Aman Gupta <ffmpeg@tmm1.net> Signed-off-by: Clément Bœsch <u@pkh.me>
2014-05-19Set dwSuggestBufferSize to largest chunk size for every stream in avi.Carl Eugen Hoyos
Fixes playback with WMP 9 for files with large (rawvideo) frames as explained in ticket #2145. Fixes ticket #2818.
2014-05-19ffmpeg: prefix encoder with "Lavc " in bitexact modeMichael Niedermayer
This avoids misleading encoder names like "encoder = prores" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-19ffmpeg: Skip writing the version when -flags bitexact is usedMichael Niedermayer
Alternatively every fate test could be changed to pass both fflags and flags +bitexact Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18Merge commit '6656370b858329ca07a60a2de954d5e90daa0206'Michael Niedermayer
* commit '6656370b858329ca07a60a2de954d5e90daa0206': avconv: set the "encoder" tag when transcoding Conflicts: ffmpeg.c tests/ref/lavf/mkv tests/ref/seek/lavf-mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18avconv: set the "encoder" tag when transcodingAnton Khirnov
2014-05-18Merge commit '93afb6c98df876b15e3d911a9450ad55f92080ce'Michael Niedermayer
* commit '93afb6c98df876b15e3d911a9450ad55f92080ce': avconv: set output avg_frame_rate when known Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-16Merge commit '4735784f1ced27026fbeada5fd31505132e565e9'Michael Niedermayer
* commit '4735784f1ced27026fbeada5fd31505132e565e9': FATE/opus: increase fuzz for the celt tests Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-16FATE/opus: increase fuzz for the celt testsAnton Khirnov
This seems to be needed on some 32bit arches.
2014-05-15Merge commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52'Michael Niedermayer
* commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52': lavf: add AVFMT_FLAG_BITEXACT. Conflicts: doc/APIchanges libavformat/avformat.h libavformat/flacenc.c libavformat/movenc.c libavformat/oggenc.c libavformat/options_table.h libavformat/version.h tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-15Merge commit 'b70d7a4ac72d23f3448f3b08b770fdf5f57de222'Michael Niedermayer
* commit 'b70d7a4ac72d23f3448f3b08b770fdf5f57de222': lavc: add a native Opus decoder. Conflicts: Changelog configure libavcodec/version.h Fate tests pass with both avresample as well as swresample based opus decoder, but are disabled (reference files are very large so i want to think a day or 2 about if theres an alternative or if they could be avoided, they also dont match the official samples) Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-15lavf: add AVFMT_FLAG_BITEXACT.Anton Khirnov
Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's codec context. Using codec options inside lavf is fragile and can easily break when the muxing codec context is not the encoding context.
2014-05-15lavc: add a native Opus decoder.Anton Khirnov
Initial implementation by Andrew D'Addesio <modchipv12@gmail.com> during GSoC 2012. Completion by Anton Khirnov <anton@khirnov.net>, sponsored by the Mozilla Corporation. Further contributions by: Christophe Gisquet <christophe.gisquet@gmail.com> Janne Grunau <janne-libav@jannau.net> Luca Barbato <lu_zero@gentoo.org>
2014-05-15tests/fate/libavutil: run cpu test and display the cpus detected feature setMichael Niedermayer
With this the fate clients runtime cpu feature set should be visible Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-15tests/fate-run: add runecho command to run a test and display its outputMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-08avcodec/huffyuvenc: Make version 3 of ffvhuff non experimentalMichael Niedermayer
Tested-by: Tim Nicholson <nichot20@yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-05tests/tiny_ssim: more correct error messageMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-05tests/tiny_ssim: check dimensionsMichael Niedermayer
Fix integer overflow Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-04Initialize riff and wav size fields to -1 instead of 0.Carl Eugen Hoyos
WMP doess not play the output files if the fields are set to 0 and not overwritten (using pipe output). Fixes ticket #3346.
2014-05-03avfilter/edgedetect: add a colormix mode.Clément Bœsch
2014-05-02avcodec/utils: ff_decode_frame_props: set pkt_sizeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-01Merge commit '6072184e702b4b631ac72f1b66b75e5f21e0ce2d'Michael Niedermayer
* commit '6072184e702b4b631ac72f1b66b75e5f21e0ce2d': asfenc: use codec descriptors instead of AVCodecs to write codec info Conflicts: tests/ref/lavf/asf tests/ref/seek/lavf-asf Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-01asfenc: use codec descriptors instead of AVCodecs to write codec infoAnton Khirnov
Also, stop using AVCodecContext.codec_name as fallback, since it will be deprecated. Changes the result of the lavf-asf test (and its associated seektest), since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
2014-05-01matroskaenc: write CodecDelayAnton Khirnov
2014-04-30fate/hevc: update with new sequences from jctvc(cherry picked from commit ↵Mickaël Raulet
de6d9c586bd3852dfbe629a88ccc8c0f0a2bfcbb) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-30ff_put_wav_header: add flag to force WAVEFORMATEXDaniel Verkamp
Partially undoes commit 2c4e08d89327595f7f4be57dda4b3775e1198d5e: riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs. This flag is used in the Matroska muxer (the cause of the original change) and in the ASF muxer, because the specifications for these formats indicate explicitly that WAVEFORMATEX should be used. Muxers for other formats will return to the original behavior of writing PCMWAVEFORMAT when writing a header for raw PCM. In particular, this causes raw PCM in WAV to generate the canonical 44-byte header expected by some tools. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-28avformat/utils: prevent r frame rate from being set larger than 1/tbMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-28avformat/utils: add gif to tb_unreliable()Michael Niedermayer
This improves the used timebases when gif is the source Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-25swresample: add swri_resample_double_sse2James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-25fate: Add fic-in-avi testDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2014-04-25fate: Add fic-in-avi testDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2014-04-24fate/libswresample: use linear interpolation on both aresample filtersMichael Niedermayer
This also tests LINEAR_CORE_FLT_SSE Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-22avformat/mpegtsenc: Changed Video PES packet length to 0.Graham Booker
The rational for this is another issue that plex has exposed. When it is conducting a transcode of video to HLS for streaming, my father noticed artifacts when played on his GoogleTV (NSZ-GT1). He sent me a test file and I reproduced it on my device of the same model. It is important to note that the artifacts were not present when streaming to VLC or QuickTime Player. I copied the command-line that plex used, and conducted all of the following tests using FFmpeg git. Transcode to HLS: artifacts on playback Transcode to TS: playback is fine Cat HLS segments into a single TS: playback is fine Segment single TS file to segments: artifacts on playback Segment single TS file to segments using Apple's HLS segmenter: playback is fine At this point I carefully examined the differences between Apple's HLS segmenter output and FFmpeg's. Among the considerable differences, I noticed that the video PES packets always had a 0 length. So I continued: Transcode to HLS using FFmpeg with 0 length PES packets: playback is fine. Segment single TS to segments with 0 length PES packets: playback is fine. All failures mentioned are only on the GTV since it is the only player on which I could reproduce artifacts. I only tested the GTV, VLC, and QuickTime Player though, so my test case is limited. I do not know if other players exhibit this issue. Since it was useful last time, I have uploaded the test file as hls_pes_packet_length.m4v along with its associated txt file which contains the transcode command-line that was used. Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>