1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/tests/ref/seek
Andreas Rheinhardt ccadd00a4a avformat/matroskaenc: Make output more deterministic
Using random values for TrackUID and FileUID (as happens when the
AVFMT_FLAG_BITEXACT flag is not set) has the obvious downside of making
the output indeterministic. This commit mitigates this by writing the
potentially random values with a fixed size of eight byte, even if their
actual values would fit into less than eight bytes. This ensures that
even in non-bitexact mode, the differences between two files generated
with the same settings are restricted to a few bytes in the header.
(Namely the SegmentUID, the TrackUIDs (in Tracks as well as when
referencing them via TagTrackUID), the FileUIDs (in Attachments as
well as in TagAttachmentUID) as well as the CRC-32 checksums of the
Info, Tracks, Attachments and Tags level-1-elements.) Without this
patch, there might be an offset/a size difference between two such
files.

The FATE-tests had to be updated because the fixed-sized UIDs are also
used in bitexact mode.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-13 08:43:14 +02:00
..
acodec-adpcm-ima_qt fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-adpcm-ima_qt-trellis fate: enable fate-seek-acodec-adpcm-ima_qt-trellis 2014-06-06 18:03:31 +02:00
acodec-adpcm-ima_wav fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-adpcm-ima_wav-trellis tests: add adpcm trellis tests 2014-06-05 12:20:49 +02:00
acodec-adpcm-ms fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-adpcm-ms-trellis tests: add adpcm trellis tests 2014-06-05 12:20:49 +02:00
acodec-adpcm-swf lavf/flvdec: init AVPacket::pos to FLVTAG offset 2016-10-26 02:12:18 +02:00
acodec-adpcm-swf-trellis lavf/flvdec: init AVPacket::pos to FLVTAG offset 2016-10-26 02:12:18 +02:00
acodec-adpcm-yamaha fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-adpcm-yamaha-trellis tests: add adpcm trellis tests 2014-06-05 12:20:49 +02:00
acodec-alac avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
acodec-flac fate: update seeking reference for flac 2014-04-14 17:43:25 +02:00
acodec-mp2 avformat/mp3dec: use the common mechanism for skipping samples 2015-04-22 14:16:35 +02:00
acodec-pcm-alaw fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-pcm-f32be Merge commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6' 2012-12-03 02:33:27 +01:00
acodec-pcm-f32le fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-pcm-f64be Merge commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6' 2012-12-03 02:33:27 +01:00
acodec-pcm-f64le fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-pcm-mulaw fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-pcm-s8 avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
acodec-pcm-s16be avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
acodec-pcm-s16le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
acodec-pcm-s24be avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
acodec-pcm-s24le fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-pcm-s32be avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
acodec-pcm-s32le fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
acodec-pcm-u8 ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
cache-pipe ffmpeg, ffprobe: don't "merge" side data into packet data by default 2017-03-14 23:37:28 +01:00
empty-edit-mp4 lavf/mov.c: Use the correct offset to shift timestamp when seeking. 2018-03-10 17:55:50 +01:00
extra-mp3 ffmpeg, ffprobe: don't "merge" side data into packet data by default 2017-03-14 23:37:28 +01:00
extra-mp4 libavformat/mov.c: use calculated dts offset when seeking in streams 2017-10-30 01:09:40 +01:00
lavf-aiff fate: update seek-lavf-aiff after previous commit 2013-01-03 20:03:43 +00:00
lavf-al Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
lavf-asf lavf: Replace the ASF demuxer 2015-06-28 10:16:40 +02:00
lavf-au avformat/au: Write MetaData in AU Sun audio file header 2016-06-03 12:18:57 +02:00
lavf-avi avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
lavf-bmp fate: upate after 55d32eed8f 2013-01-08 18:47:09 +00:00
lavf-dv Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
lavf-flv Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
lavf-gif Cleanse GIF muxer and encoder. 2013-04-18 00:24:25 +02:00
lavf-gxf avcodec/mpeg12enc: store sequence display extension only if we have something to store in it 2014-06-06 22:54:22 +02:00
lavf-jpg mjpegenc: enable optimal huffman coding by default 2017-04-09 00:00:39 +01:00
lavf-mkv avformat/matroskaenc: Make output more deterministic 2020-04-13 08:43:14 +02:00
lavf-mmf 10l: Update fate seeking reference after last commit. 2013-01-05 23:42:00 +01:00
lavf-mov avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
lavf-mpg lavf: introduce AVFMT_TS_NEGATIVE 2013-04-25 10:13:27 +02:00
lavf-mxf avformat/mxfenc: Add Padding Bits 2018-05-08 23:02:58 +02:00
lavf-mxf_d10 avformat/mxfenc: Add Padding Bits 2018-05-08 23:02:58 +02:00
lavf-mxf_dv25 avformat/mxfenc: Add Padding Bits 2018-05-08 23:02:58 +02:00
lavf-mxf_dvcpro50 avformat/mxfenc: Add Padding Bits 2018-05-08 23:02:58 +02:00
lavf-mxf_opatom avformat/mxfenc: Add Padding Bits 2018-05-08 23:02:58 +02:00
lavf-mxf_opatom_audio avformat/mxfenc: Add Padding Bits 2018-05-08 23:02:58 +02:00
lavf-nut nutenc: do not use has_b_frames 2015-01-27 09:15:07 +01:00
lavf-ogg ffmpeg: prefix encoder with "Lavc " in bitexact mode 2014-05-18 22:57:20 +02:00
lavf-pbmpipe lavf/img2dec: add pnm pipe demuxers 2016-06-22 15:24:19 +02:00
lavf-pcx fate: upate after 55d32eed8f 2013-01-08 18:47:09 +00:00
lavf-pgm fate: upate after 55d32eed8f 2013-01-08 18:47:09 +00:00
lavf-pgmpipe lavf/img2dec: add pnm pipe demuxers 2016-06-22 15:24:19 +02:00
lavf-ppm fate: upate after 55d32eed8f 2013-01-08 18:47:09 +00:00
lavf-ppmpipe lavf/img2dec: add pnm pipe demuxers 2016-06-22 15:24:19 +02:00
lavf-rm avcodec/eac3: add support for dependent stream 2018-03-29 10:19:03 +02:00
lavf-sgi Merge commit '99f40fd02f1870c2dee70977b672da9cb198f0be' 2015-11-29 15:42:33 +01:00
lavf-swf fate: split dependencies for fate-seek tests 2012-12-02 23:25:41 +01:00
lavf-tga fate: upate after 55d32eed8f 2013-01-08 18:47:09 +00:00
lavf-tiff fate: upate after 55d32eed8f 2013-01-08 18:47:09 +00:00
lavf-ts avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmt 2019-08-23 22:49:01 +02:00
lavf-ul Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
lavf-voc Merge commit '9200514ad8717c63f82101dc394f4378854325bf' 2016-04-10 20:59:55 +01:00
lavf-wav ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
lavf-wtv avcodec/mpeg12enc: store sequence display extension only if we have something to store in it 2014-06-06 22:54:22 +02:00
lavf-y4m Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b' 2019-03-14 14:59:45 -03:00
mkv-codec-delay ffmpeg, ffprobe: don't "merge" side data into packet data by default 2017-03-14 23:37:28 +01:00
test-iibbibb-mp4 lavf/mov.c: Use the correct offset to shift timestamp when seeking. 2018-03-10 17:55:50 +01:00
test-iibbibb-neg-ctts-mp4 lavf/mov.c: Use the correct offset to shift timestamp when seeking. 2018-03-10 17:55:50 +01:00
vsynth_lena-asv1 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-asv2 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-dnxhd-4k-hr-lb tests/fate: add dnxhr encoding tests 2016-07-24 12:31:07 +02:00
vsynth_lena-dnxhd-720p tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-dnxhd-720p-rd tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-dnxhd-1080i avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
vsynth_lena-dv tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-dv-50 tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-dv-411 tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-ffv1 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-flashsv lavf/flvdec: init AVPacket::pos to FLVTAG offset 2016-10-26 02:12:18 +02:00
vsynth_lena-flv lavf/flvdec: init AVPacket::pos to FLVTAG offset 2016-10-26 02:12:18 +02:00
vsynth_lena-h261 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-h263 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-h263p avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-huffyuv avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-jpegls avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-ljpeg avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mjpeg mjpegenc: enable optimal huffman coding by default 2017-04-09 00:00:39 +01:00
vsynth_lena-mpeg1 tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg1b tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg2-422 tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg2-idct-int tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg2-ilace tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg2-ivlc-qprd tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg2-thread tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg2-thread-ivlc tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-mpeg4 avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
vsynth_lena-mpeg4-adap avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-adv avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-error avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-nr avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-nsse avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-qpel avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-qprd avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-rc avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-mpeg4-thread avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-msmpeg4 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-msmpeg4v2 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-rgb avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-roqvideo tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-rv10 tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-rv20 tests: Rename vsynth2 to vsynth_lena 2014-12-02 03:02:30 +01:00
vsynth_lena-snow avcodec/snowenc: set dia_size for the first pass of motion estimation too 2015-05-10 14:19:56 +02:00
vsynth_lena-snow-ll avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-svq1 avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
vsynth_lena-wmv1 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-wmv2 avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00
vsynth_lena-yuv avformat/avienc: Fix wrongly placed comment 2015-03-19 17:30:28 +01:00