summaryrefslogtreecommitdiff
path: root/tests/ref/seek
Commit message (Collapse)AuthorAge
* matroska: Write the field order informationLuca Barbato2016-04-03
| | | | And bump the document version to 4.
* sgienc: Do not end RLE lines with 0sVittorio Giovara2015-11-24
| | | | | | | | This is never mentioned in the specifications, and decoders work just as fine without it. Update the fate references since the compressed file is smaller. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavf: Replace the ASF demuxerAlexandra Hájková2015-06-28
| | | | | | | | | | | | | | | | | The old one is the result of the reverse engineering and guesswork. The new one has been written following the now-available specification. This work is part of Outreach Program for Women Summer 2014 activities for the Libav project. The fate references had to be changed because the old demuxer truncates the last frame in some cases, the new one handles it properly. The seek-test reference is changed because seeking works differently in the new demuxer. When seeking, the packet is not read from the stream directly, but it is rather constructed by the demuxer. That is why position is -1 now in the reference. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* nutenc: do not use has_b_framesAnton Khirnov2015-01-27
| | | | | It is unreliable, especially when the stream codec context is not the encoding context. Use the codec descriptor properties instead.
* Replace lena.pnmReinhard Tartler2014-11-28
| | | | | | The new reference.pnm is a freely licensed replacement. The photo has been taken by Reinhard Tartler on August 28 2014, and is licensed under the expat license as stated at http://www.jclark.com/xml/copying.txt
* Remove avserver.Anton Khirnov2014-06-18
| | | | | | | It has not been properly maintained for years and there is little hope of that changing in the future. It appears simpler to write a new replacement from scratch than unbreaking it.
* mpeg2: add sequence display extension informationMarc-Antoine Arnaud2014-06-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* matroskaenc: set the stream timebase earlierAnton Khirnov2014-05-29
| | | | Fixes calculating the ts offset for audio codecs with delay.
* flvenc: only write the framerate tag based on avg_frame_rateAnton Khirnov2014-05-29
| | | | | Do not fall back on the codec timebase, since that can be anything for VFR video.
* matroskaenc: base DefaultDuration on the framerate, not the codec timebaseAnton Khirnov2014-05-29
| | | | | | This results in DefaultDuration not being written when the framerate is not known, but as this field is purely informative, this should not break any sane demuxers.
* avconv: set the "encoder" tag when transcodingAnton Khirnov2014-05-18
|
* asfenc: use codec descriptors instead of AVCodecs to write codec infoAnton Khirnov2014-05-01
| | | | | | | | 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'.
* matroskaenc: write CodecDelayAnton Khirnov2014-05-01
|
* mxf: Set audio packets ptsMatthieu Bouron2014-03-06
| | | | | | | | | | | Extrapolate audio timestamps based on the number of samples demuxed. Deal with some MXF nastiness involving fractional number of samples per EditUnit when seeking (the specs handwave this away). Further fixes from Tomas Härdin. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: set audio timebase to 1/samplerateAnton Khirnov2013-09-29
| | | | | | | | Fixes sync in some samples (e.g. bugs 7581 and 8374 in VLC). Based on a commit by Matthieu Bouron <matthieu.bouron@gmail.com> Reported-by: Jean-Baptiste Kempf <jb@videolan.org> CC: libav-stable@libav.org
* matroskaenc: Fix writing TRACKDEFAULTFLAGJohn Stebbins2013-08-27
| | | | | | | | The element was only being written when the value == 1. But the default value of this element is 1, so this has no useful effect. This element needs to be written when the value == 0. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oggdec: do not fall back on binary search in the generic code.Anton Khirnov2013-07-02
| | | | | Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already.
* avconv: make -t insert trim/atrim filters.Anton Khirnov2013-04-30
| | | | | | | | | This makes -t sample-accurate for audio and will allow further simplication in the future. Most of the FATE changes are due to audio now being sample accurate. In some cases a video frame was incorrectly passed with the old code, while its was over the limit.
* lavf: introduce AVFMT_TS_NEGATIVELuca Barbato2013-04-25
| | | | | | | | | | Most formats do not support negative timestamps, shift them to avoid unexpected behaviour and a number of bad crashes. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* FATE: enable multiple slices in the ffv1 vsynth testAnton Khirnov2013-03-08
| | | | This allows us to test the slice threading code.
* wmv2: move IDCT to its own DSP context.Ronald S. Bultje2013-01-20
| | | | | | | | | | | This allows us to remove FF_IDCT_WMV2, which serves no practical purpose other than to be able to select the WMV2 IDCT for MPEG (or vice versa) and get corrupt output. Fate tests for all wmv2-related tests change, because (for some obscure reason) they forced use of the MPEG IDCT. You would get the same changes previously by not using -idct simple in the fate test (or replacing it with -idct auto).
* Drop Snow codecDiego Biurrun2013-01-06
| | | | Snow is a toy codec with no real-world use and horrible code.
* fate: split dependencies for fate-seek testsJanne Grunau2012-12-02
| | | | | | | Each fate-seek test depends now only on the corresponding fate-acodec, fate-vsynth2 or fate-lavf test which creates the file seek-tests operates on. The tests and references are renamed to match the test they depend on.
* riff: do not write empty INFO tagsVictor Vasiliev2012-10-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate: convert codec-regression.sh to makefile rulesMans Rullgard2012-05-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* pcmenc: set correct bitrate valueMans Rullgard2012-05-17
| | | | | | | This fixes a bogus bitrate value in the header of WAV files with alaw/ulaw audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
* FATE: avoid channel mixing in lavf-dv_fmtJustin Ruggles2012-04-24
| | | | | | | 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.
* matroska: Add incremental parsing of clusters.Dale Curtis2012-04-22
| | | | | | | | | | | | | | | | | | | | | | 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>
* FATE: allow lavf tests to alter input parametersJustin Ruggles2012-04-20
| | | | Change some lavf tests to avoid resampling and channel mixing.
* FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum testJustin Ruggles2012-04-20
| | | | | This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.
* FATE: replace the acodec-g726 test with 4 new encode/decode testsJustin Ruggles2012-04-20
| | | | | | 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.
* mpegaudioenc: use AVCodec.encode2()Justin Ruggles2012-03-20
| | | | Update FATE references due to encoder delay.
* ac3enc: update to AVCodec.encode2()Justin Ruggles2012-03-20
| | | | Update FATE references due to encoder delay.
* FATE: remove WMA acodec testsJustin Ruggles2012-03-17
|
* aiffdec: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | | | | | | It is unnecessary. Also, for some codecs we're reading more than 1 frame per packet. Instead we use a private context variable to calculate the bit rate, stream duration, and packet durations. Updated FATE seek test, which has slightly different timestamps due to a more accurate bit rate calculation.
* voc/avs: Do not change the sample rate mid-stream.Justin Ruggles2012-03-03
| | | | | Also, set the time base based on the sample rate. lavf-voc seek test updated to reflect slightly different seek points.
* mpegaudio_parser: do not ignore information from the first parsed frameJustin Ruggles2012-03-03
| | | | Update some demuxing and seeking fate tests.
* rawdec: set timebase to 1/fps.Anton Khirnov2012-02-26
|
* FATE: update reference for seek-alac_mp4Justin Ruggles2012-02-11
| | | | This should have been updated in b590f3a7bf9103ac7a7a61c48568676201d6824b.
* avconv: rework -t handling for encoding.Anton Khirnov2012-02-07
| | | | | | | | | | | | | Current code compares the desired recording time with InputStream.pts, which has a very unclear meaning. Change the code to use actual timestamps of the frames passed to the encoder. In several tests, one less frame is encoded, which is more correct. In the idroq test one more frame is encoded, which is again more correct. Behavior with stream copy should be unchanged.
* fate: make acodec-ac3_fixed test output raw AC3Mans Rullgard2012-02-02
| | | | | | There is no point in this test using the RM format. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mxfdec: hybrid demuxing/seeking solutionJanne Grunau2012-01-22
| | | | | | | | | | | | | | | | | | This uses the old demuxing code for OP1a and separate demuxing code for OPAtom. Timestamp output is added to the old demuxing code. The seeking code is made to seek to the start of the desired EditUnit only, from which the normal demuxing code takes over (if OP1a). This means we do not use delta entries or slices, only StreamOffsets. OPAtom seeking basically works like before. This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other words, we allow seeking before the start or past the end for D-10 too. Based on several patches by Tomas Härdin <tomas.hardin@codemill.se> and Reimar Döffinger <Reimar.Doeffinger@gmx.de>. Changed av_calloc to av_mallocz, added overflow checks.
* fate: update asf seektestLuca Barbato2011-12-02
|
* fate: split acodec-pcm into individual testsJustin Ruggles2011-12-01
| | | | | this removes 2 redundant tests for pcm in mkv. we can add the coverage back in later as fate-lavf tests if needed.
* regtest: split video encode/decode tests into individual targetsMans Rullgard2011-11-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace vendor string in Ogg and FLAC muxers.Diego Biurrun2011-11-02
|
* remove the zork pcm seek testJustin Ruggles2011-10-26
| | | | this was forgotten when the encoder was removed
* riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_headerJohn Brooks2011-10-14
| | | | | | | | | | | | | | The cbSize field should be included in all cases, even with PCM where its value is ignored. Fixes encoding PCM audio in Matroska for some players which insist on a full WAVEFORMATEX structure for A_MS/ACM audio. Since fate uses wav files for the audio test a larger number of tests has changed checksums or shifted positions due to the 2 byte longer wave header. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* fate: remove seek-mpeg2reuse testMans Rullgard2011-09-28
| | | | | | The input file for this test is no longer generated. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.Justin Ruggles2011-09-05
| | | | Update FATE references accordingly.