[FFmpeg-cvslog] fate/ffmpeg: add tests for shortest option
James Almer
git at videolan.org
Wed Dec 1 23:38:23 EET 2021
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Dec 1 11:01:11 2021 -0300| [bb0a28560d6c50f2fa1240e77ee387d610c6c74a] | committer: James Almer
fate/ffmpeg: add tests for shortest option
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb0a28560d6c50f2fa1240e77ee387d610c6c74a
---
tests/fate/ffmpeg.mak | 19 +++++++
tests/ref/fate/copy-shortest1 | 123 +++++++++++++++++++++++++++++++++++++++++
tests/ref/fate/copy-shortest2 | 124 ++++++++++++++++++++++++++++++++++++++++++
tests/ref/fate/shortest | 123 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 389 insertions(+)
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 4dfb77d250..b43db423a9 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -86,6 +86,9 @@ fate-unknown_layout-ac3: CMD = md5 -auto_conversion_filters \
-guess_layout_max 0 -f s32le -ac 1 -ar 44100 -i $(TARGET_PATH)/$(AREF) \
-f ac3 -flags +bitexact -c ac3_fixed
+FATE_FFMPEG-$(call ALLYES, SINE_FILTER AMIX_FILTER MPEG4_ENCODER AC3_FIXED_ENCODER) += fate-shortest
+fate-shortest: tests/data/vsynth_lena.yuv
+fate-shortest: CMD = framemd5 -auto_conversion_filters -f lavfi -i "sine=3000:d=10" -f lavfi -i "sine=1000:d=1" -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 2:v:0 -map "[audio]" -c:v mpeg4 -c:a ac3_fixed -shortest
FATE_STREAMCOPY-$(call ALLYES, EAC3_DEMUXER MOV_MUXER) += fate-copy-trac3074
fate-copy-trac3074: $(SAMPLES)/eac3/csi_miami_stereo_128_spx.eac3
@@ -131,6 +134,22 @@ FATE_STREAMCOPY-$(CONFIG_FLV_DEMUXER) += fate-ffmpeg-streamloop
fate-ffmpeg-streamloop: $(SAMPLES)/flv/streamloop.flv
fate-ffmpeg-streamloop: CMD = framemd5 -stream_loop 2 -i $(TARGET_SAMPLES)/flv/streamloop.flv -c copy
+FATE_STREAMCOPY-$(call ALLYES, SINE_FILTER AMIX_FILTER AC3_FIXED_ENCODER) += fate-copy-shortest1
+fate-copy-shortest1: tests/data/vsynth_lena.yuv
+fate-copy-shortest1: CMD = framemd5 -auto_conversion_filters -f lavfi -i "sine=3000:d=10" -f lavfi -i "sine=1000:d=1" -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 2:v:0 -map "[audio]" -c:v copy -c:a ac3_fixed -shortest
+
+tests/data/audio_shorter_than_video.nut: TAG = GEN
+tests/data/audio_shorter_than_video.nut: tests/data/vsynth_lena.yuv
+tests/data/audio_shorter_than_video.nut: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+ $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
+ -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv -c:v mpeg4 \
+ -f lavfi -i "sine=1000:d=1" -c:a pcm_s16le \
+ -y $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut 2>/dev/null
+
+FATE_STREAMCOPY-$(call ALLYES, SINE_FILTER AMIX_FILTER NUT_MUXER PCM_S16LE_ENCODER MPEG4_ENCODER AC3_FIXED_ENCODER) += fate-copy-shortest2
+fate-copy-shortest2: tests/data/audio_shorter_than_video.nut
+fate-copy-shortest2: CMD = framemd5 -auto_conversion_filters -f lavfi -i "sine=3000:d=10" -i $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 1:v:0 -map "[audio]" -c:v copy -c:a ac3_fixed -shortest
+
fate-streamcopy: $(FATE_STREAMCOPY-yes)
FATE_SAMPLES_FFMPEG-$(call ALLYES, MOV_DEMUXER MATROSKA_MUXER) += fate-rgb24-mkv
diff --git a/tests/ref/fate/copy-shortest1 b/tests/ref/fate/copy-shortest1
new file mode 100644
index 0000000000..c4d4a0c0f9
--- /dev/null
+++ b/tests/ref/fate/copy-shortest1
@@ -0,0 +1,123 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
+#tb 1: 1/44100
+#media_type 1: audio
+#codec_id 1: ac3
+#sample_rate 1: 44100
+#channel_layout 1: 4
+#channel_layout_name 1: mono
+#stream#, dts, pts, duration, size, hash
+1, -256, -256, 1536, 416, e3bd415f62aa927e9273151fdf21ebce
+0, 0, 0, 1, 152064, 64ffa0d5a62ddf325a92195fda238dd4
+1, 1280, 1280, 1536, 418, 6e79527e2af3448d7a0e4a8e29cd9722
+0, 1, 1, 1, 152064, d17acf3ef7ce8c8d0ac1c3b89d77d6dc
+1, 2816, 2816, 1536, 418, cf49595ac385e497672e5a814f7bcd79
+0, 2, 2, 1, 152064, c08a06d8a267f8fb94e64362f8d5f311
+1, 4352, 4352, 1536, 418, 846982243d330ab782f0120988d52ade
+0, 3, 3, 1, 152064, 029eea5860e7b326dd7e10e2be64a098
+1, 5888, 5888, 1536, 418, 77b2d15948434a4831e30c47b8214591
+0, 4, 4, 1, 152064, aabca39f06e9b19f84560db8a43de0cf
+1, 7424, 7424, 1536, 418, 4fce87d5cce10f6d0268fb398c385af5
+0, 5, 5, 1, 152064, 6681a5e5af601bbf0e0318d1f240a955
+1, 8960, 8960, 1536, 418, 963f2dac9af4672809521f2174b78f10
+1, 10496, 10496, 1536, 418, eb7a20193c157b02f7b5d5abf802af24
+0, 6, 6, 1, 152064, 35f466e17c2b3a9de281a0405dd9bc5c
+1, 12032, 12032, 1536, 418, 219b234a1e01d3538bfe09fda58b3289
+0, 7, 7, 1, 152064, a6af204b9a1a091f5b2e8981a73df3aa
+1, 13568, 13568, 1536, 418, ef7bd3e9c13f03aa6676629101a9a8a0
+0, 8, 8, 1, 152064, c037c758227f61da1faffb149af750a5
+1, 15104, 15104, 1536, 418, c5dda974df7e418d9036dff134aad2ae
+0, 9, 9, 1, 152064, 76d1d9e8374070db553c9a89482dc165
+1, 16640, 16640, 1536, 418, 48e7a9f574654dd95a325cfec5072254
+0, 10, 10, 1, 152064, 9361f2dac0279cb019948694daeff0b1
+1, 18176, 18176, 1536, 418, 737d867e328377a3e6623f77f646ea61
+0, 11, 11, 1, 152064, 97a544d9c6b8f50afd15fe6dfd4c22a2
+1, 19712, 19712, 1536, 418, 5e2a004ad90ba069cecd9fdc1652388c
+0, 12, 12, 1, 152064, dec68cf40dcf205f739b909d178310cf
+1, 21248, 21248, 1536, 418, c694e51e609bdd00749a04294cbd60fb
+1, 22784, 22784, 1536, 418, 6b787ffae0063d9910deebc8b3e98fd4
+0, 13, 13, 1, 152064, 6afd4a8feb3f8fc1825d0da292013472
+1, 24320, 24320, 1536, 418, eb6d62198a5472a1c179d42cde60b869
+0, 14, 14, 1, 152064, d7297857fbfcf3fe0157eafe4114f957
+1, 25856, 25856, 1536, 418, 70a6c8e61e8d75f7a310bc7294ad38f6
+0, 15, 15, 1, 152064, 3e004f5a07599daec056189f8ab879e6
+1, 27392, 27392, 1536, 418, 6847924a11575b3628ccdfd81a2fb1dc
+0, 16, 16, 1, 152064, fb8dfc19d47a925f6bbcb8a334a80f2b
+1, 28928, 28928, 1536, 418, 6f76bbe03d8b4e0080226247e0e54f96
+0, 17, 17, 1, 152064, 8aad1267917e26696593b35aabeaae60
+1, 30464, 30464, 1536, 418, c946a8d690aa31fde929678b594cc432
+0, 18, 18, 1, 152064, dce70f7213f70a248c1ffd78244a0757
+1, 32000, 32000, 1536, 418, 3add3833b86a38c229faf8e602f83dcb
+0, 19, 19, 1, 152064, fbe3fa678d3b8d48f1d7fd45cb869241
+1, 33536, 33536, 1536, 418, cb51e6a41f5c4a5f01dd94f58210112b
+1, 35072, 35072, 1536, 418, 66c3570cb8c11386b0601fe4a6eb7ee0
+0, 20, 20, 1, 152064, eef85510c95abc810269888dd5037e38
+1, 36608, 36608, 1536, 418, 8b986c15b9ab86432c43cedd1a182e8d
+0, 21, 21, 1, 152064, 30ccae29a495eb6157930a3db50ad171
+1, 38144, 38144, 1536, 418, 0dd29cc7f63f2afac3eec5e5944165e7
+0, 22, 22, 1, 152064, 5cf0001156e38570b830509ec727f956
+1, 39680, 39680, 1536, 418, c4c14deb03d5048f8c6101260c617fae
+0, 23, 23, 1, 152064, 6686944299e7aea38756b8321a5ad5fd
+1, 41216, 41216, 1536, 418, 4a3480d888fa0dd49a7bbf2669b5d3ed
+0, 24, 24, 1, 152064, e618b079c3083cc4f4b080b6c6b8f645
+1, 42752, 42752, 1536, 418, aaeabe149b9185a6f09c271eb2c656dd
+0, 25, 25, 1, 152064, ebf84cc4a497cc56d39e10bed3c0418e
+1, 44288, 44288, 1536, 418, 0995488ad1bb84ec4a3e738b568484a4
+1, 45824, 45824, 1536, 418, baa39bdfd9f47f7d312312985f59fb72
+0, 26, 26, 1, 152064, 10ee72dac1749c7b68f8a9318270953a
+1, 47360, 47360, 1536, 418, c25bac736a8c356d0a0f9c9299f88880
+0, 27, 27, 1, 152064, 32e3028c0bf5e27d86972a51ce33927c
+1, 48896, 48896, 1536, 418, 85378fd6c8b49a1f4c5490ab1e4013ca
+0, 28, 28, 1, 152064, 4e1c702e278fbc96775b560780411b53
+1, 50432, 50432, 1536, 418, 528e28031145f07336cd2a1b9b324ca6
+0, 29, 29, 1, 152064, 51875170b275dcf8cb2842873d1abc0d
+1, 51968, 51968, 1536, 418, cc9b907fc92fffc61f7e41cdb863d586
+0, 30, 30, 1, 152064, 6736c7ebe76b018e2dccc9f556d727d7
+1, 53504, 53504, 1536, 418, fe2f2ca279b14d7053349111578b48c0
+0, 31, 31, 1, 152064, 55e737c788faaace7a743f35dd22a7b1
+1, 55040, 55040, 1536, 418, 5f2c6037aa4b89572a4ed712082ae2ab
+0, 32, 32, 1, 152064, c32f42d61cb27de2cc635bde32b54373
+1, 56576, 56576, 1536, 418, 17a096694df972c2ef3a9abbe0a9cd6a
+1, 58112, 58112, 1536, 418, c96a64bbfd1aae269e44bfdaea7c8a9c
+0, 33, 33, 1, 152064, 8df299932ddbd1cbe0492153bcd8bf64
+1, 59648, 59648, 1536, 418, 5f9297244e107134c49fc4982f5a7c1f
+0, 34, 34, 1, 152064, 5f2991318136713262e7b6a92b59c6b0
+1, 61184, 61184, 1536, 418, da740d2d75b51d6e28bcb068f6a90d41
+0, 35, 35, 1, 152064, 50165b1bbc952dd30555bebc4109acf0
+1, 62720, 62720, 1536, 418, 76e6bbbbfa0692659d0d84a30dcfff34
+0, 36, 36, 1, 152064, 328fdca858926e5a4d76ab4a44271d80
+1, 64256, 64256, 1536, 418, 0bd304182f1693b18c46b0faa682b159
+0, 37, 37, 1, 152064, e176eb165793b670e80d4efed7914b27
+1, 65792, 65792, 1536, 418, ecf7bd4ba9161338ce2cefc1fdd06098
+0, 38, 38, 1, 152064, d5169722734afcfd59338fdf678061c9
+1, 67328, 67328, 1536, 418, 4953c0e441ca0ca2e1970b8b31d6c70e
+0, 39, 39, 1, 152064, 11be200f8992671b98582f8c74e3fa9c
+1, 68864, 68864, 1536, 418, 4eb7f24aa46b8f0e6b47d0ca6ec0d56d
+1, 70400, 70400, 1536, 418, df4d73a6acccd3be6663188f4baab996
+0, 40, 40, 1, 152064, 284b53308efcdd04f6a1354587c35039
+1, 71936, 71936, 1536, 418, 5e60f266106b86f19749b64d86b11f43
+0, 41, 41, 1, 152064, 7fd6e166b4ed2532d7f1ed6cb0d7a543
+1, 73472, 73472, 1536, 418, cedea148c5f7ddba6f0fbcbe17e6bfbb
+0, 42, 42, 1, 152064, 7457fb074429971b94b481abac0ac56d
+1, 75008, 75008, 1536, 416, 97655498b413a59b3f0f6bdc25f69084
+0, 43, 43, 1, 152064, 3f248b7349d32fb74b6b1693ee5bc7f5
+1, 76544, 76544, 1536, 418, 0bea3f23db7aafefe50710310af25a9b
+0, 44, 44, 1, 152064, 0ed14ef328b2f6b96610c6af5c1bea5a
+1, 78080, 78080, 1536, 418, e763b383810d9a4645901c0d93f98a32
+0, 45, 45, 1, 152064, b17bdbf4e1a6a290e13ea7a894cb2eb5
+1, 79616, 79616, 1536, 418, f090bb15688066a9c5129348f86245e7
+0, 46, 46, 1, 152064, 0168630f3f8b11a113cb29061923a043
+1, 81152, 81152, 1536, 418, beb8658ede31b44326de936b28a2d740
+1, 82688, 82688, 1536, 418, 53987c0214550f387ce03093b83f4225
+0, 47, 47, 1, 152064, 4c4e88381433d7b42d932b05d8a36b19
+1, 84224, 84224, 1536, 418, d3c37c202144070892528cc0a0ff3112
+0, 48, 48, 1, 152064, 7e1909756725d22780a3b7bd3e55f111
+1, 85760, 85760, 1536, 418, cf52ea7fc69e4c5bc8f75b354dfe60af
+0, 49, 49, 1, 152064, d66198ab70484ebc20408dee544893a8
+1, 87296, 87296, 1536, 418, 78ab22657a1b6c8a0e5b8612ceb8081d
diff --git a/tests/ref/fate/copy-shortest2 b/tests/ref/fate/copy-shortest2
new file mode 100644
index 0000000000..51e55619ee
--- /dev/null
+++ b/tests/ref/fate/copy-shortest2
@@ -0,0 +1,124 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#extradata 0, 47, da1ebf7f39a801230d2bcba50b3ec492
+#tb 0: 1/51200
+#media_type 0: video
+#codec_id 0: mpeg4
+#dimensions 0: 352x288
+#sar 0: 1/1
+#tb 1: 1/44100
+#media_type 1: audio
+#codec_id 1: ac3
+#sample_rate 1: 44100
+#channel_layout 1: 4
+#channel_layout_name 1: mono
+#stream#, dts, pts, duration, size, hash
+1, -256, -256, 1536, 416, e3bd415f62aa927e9273151fdf21ebce
+0, 0, 0, 2048, 15824, 3a4cc2c2e38504cd4a336a43c8793566
+1, 1280, 1280, 1536, 418, 6e79527e2af3448d7a0e4a8e29cd9722
+0, 2048, 2048, 2048, 13321, 1c5627081495c2b8ee9205c8db819125
+1, 2816, 2816, 1536, 418, cf49595ac385e497672e5a814f7bcd79
+0, 4096, 4096, 2048, 11462, 7ce15c296f66af71a5d28b927bb0699e
+1, 4352, 4352, 1536, 418, 846982243d330ab782f0120988d52ade
+0, 6144, 6144, 2048, 11654, 2dbe71f6e3687da4365b154499dbc08f
+1, 5888, 5888, 1536, 418, 77b2d15948434a4831e30c47b8214591
+0, 8192, 8192, 2048, 6100, 697a62dfa0463ffa9251f88638287f3b
+1, 7424, 7424, 1536, 418, 4fce87d5cce10f6d0268fb398c385af5
+0, 10240, 10240, 2048, 2063, b7d9bcb7781b6c4041ae5e9f96f4d471
+1, 8960, 8960, 1536, 418, 963f2dac9af4672809521f2174b78f10
+1, 10496, 10496, 1536, 418, eb7a20193c157b02f7b5d5abf802af24
+0, 12288, 12288, 2048, 1585, 11b681604bda51a75c7ea521068d7c27
+1, 12032, 12032, 1536, 418, 219b234a1e01d3538bfe09fda58b3289
+0, 14336, 14336, 2048, 1475, 9fa1fced5a744fca0feffd06865c7e3a
+1, 13568, 13568, 1536, 418, ef7bd3e9c13f03aa6676629101a9a8a0
+0, 16384, 16384, 2048, 1304, f4cbd113b49fcdd7391e8a570f10c40d
+1, 15104, 15104, 1536, 418, c5dda974df7e418d9036dff134aad2ae
+0, 18432, 18432, 2048, 1390, 08ac45e537349a7572360357108701d6
+1, 16640, 16640, 1536, 418, 48e7a9f574654dd95a325cfec5072254
+0, 20480, 20480, 2048, 1207, d5af6f80554f1d3f59da04fba9ff149c
+1, 18176, 18176, 1536, 418, 737d867e328377a3e6623f77f646ea61
+0, 22528, 22528, 2048, 1317, 23c5b46737675b99f7857c772477ac92
+1, 19712, 19712, 1536, 418, 5e2a004ad90ba069cecd9fdc1652388c
+0, 24576, 24576, 2048, 9516, 20e2e4a64f11dbfb58ca4b97d8d9e6d5
+1, 21248, 21248, 1536, 418, c694e51e609bdd00749a04294cbd60fb
+1, 22784, 22784, 1536, 418, 6b787ffae0063d9910deebc8b3e98fd4
+0, 26624, 26624, 2048, 858, 5cc087a6d5f7dff149f25c32d66c1a58
+1, 24320, 24320, 1536, 418, eb6d62198a5472a1c179d42cde60b869
+0, 28672, 28672, 2048, 1146, 7b2a5417f675fddde6c3fccb5256f7de
+1, 25856, 25856, 1536, 418, 70a6c8e61e8d75f7a310bc7294ad38f6
+0, 30720, 30720, 2048, 1273, fec0124dd40536b06ff5cb4f9ee57427
+1, 27392, 27392, 1536, 418, 6847924a11575b3628ccdfd81a2fb1dc
+0, 32768, 32768, 2048, 1342, 83fcf03894414225764fe4606e77fed9
+1, 28928, 28928, 1536, 418, 6f76bbe03d8b4e0080226247e0e54f96
+0, 34816, 34816, 2048, 1109, 43ccf63beb6a392f09edd8ae47639f33
+1, 30464, 30464, 1536, 418, c946a8d690aa31fde929678b594cc432
+0, 36864, 36864, 2048, 1143, 9b1b76b633679afdd0c57a47fd9cb461
+1, 32000, 32000, 1536, 418, 3add3833b86a38c229faf8e602f83dcb
+0, 38912, 38912, 2048, 1221, 74e3bf875ae55dc7c756e3102889985f
+1, 33536, 33536, 1536, 418, cb51e6a41f5c4a5f01dd94f58210112b
+1, 35072, 35072, 1536, 418, 66c3570cb8c11386b0601fe4a6eb7ee0
+0, 40960, 40960, 2048, 1193, 62366a05aa12bb99abf8428fa7859aa6
+1, 36608, 36608, 1536, 418, 8b986c15b9ab86432c43cedd1a182e8d
+0, 43008, 43008, 2048, 1270, 44a2d2cc9bff3b86eb74d08cfb2add7e
+1, 38144, 38144, 1536, 418, 0dd29cc7f63f2afac3eec5e5944165e7
+0, 45056, 45056, 2048, 1068, 5fc66a8b05d70e00df4e55b50144f37e
+1, 39680, 39680, 1536, 418, c4c14deb03d5048f8c6101260c617fae
+0, 47104, 47104, 2048, 1128, 74da79e4645ad9257c1db174de9e47a3
+1, 41216, 41216, 1536, 418, 4a3480d888fa0dd49a7bbf2669b5d3ed
+0, 49152, 49152, 2048, 9724, 91bc413e47961f3c58b3a62b0a35a725
+1, 42752, 42752, 1536, 418, aaeabe149b9185a6f09c271eb2c656dd
+0, 51200, 51200, 2048, 791, b2104ecfda6cbfef18d5510b77f44224
+1, 44288, 44288, 1536, 418, 0995488ad1bb84ec4a3e738b568484a4
+1, 45824, 45824, 1536, 418, baa39bdfd9f47f7d312312985f59fb72
+0, 53248, 53248, 2048, 1008, 0ea692ed90a1ddc5a453a1294b85819a
+1, 47360, 47360, 1536, 418, c25bac736a8c356d0a0f9c9299f88880
+0, 55296, 55296, 2048, 1139, 1e0ba3e2cce5b45f7496daa06f71716d
+1, 48896, 48896, 1536, 418, 85378fd6c8b49a1f4c5490ab1e4013ca
+0, 57344, 57344, 2048, 1039, 7e23be81c75cebe22a9c6c08d326513b
+1, 50432, 50432, 1536, 418, 528e28031145f07336cd2a1b9b324ca6
+0, 59392, 59392, 2048, 1069, 8da7d9d85333d18f29fc27396603cac8
+1, 51968, 51968, 1536, 418, cc9b907fc92fffc61f7e41cdb863d586
+0, 61440, 61440, 2048, 1133, a847204db7f096e2587557bc1c093e2e
+1, 53504, 53504, 1536, 418, fe2f2ca279b14d7053349111578b48c0
+0, 63488, 63488, 2048, 988, dbea5c64e24bef364f0d7d1774bf7554
+1, 55040, 55040, 1536, 418, 5f2c6037aa4b89572a4ed712082ae2ab
+0, 65536, 65536, 2048, 1009, 1caa3889676605f2177494bbaf3481ef
+1, 56576, 56576, 1536, 418, 17a096694df972c2ef3a9abbe0a9cd6a
+1, 58112, 58112, 1536, 418, c96a64bbfd1aae269e44bfdaea7c8a9c
+0, 67584, 67584, 2048, 1107, 43811ad7091d2b9a30644f812938f323
+1, 59648, 59648, 1536, 418, 5f9297244e107134c49fc4982f5a7c1f
+0, 69632, 69632, 2048, 1191, 0dce9221ed025767c67fec5f7840af91
+1, 61184, 61184, 1536, 418, da740d2d75b51d6e28bcb068f6a90d41
+0, 71680, 71680, 2048, 1147, 00270ca11c80875d4670a5b64b4aad64
+1, 62720, 62720, 1536, 418, 76e6bbbbfa0692659d0d84a30dcfff34
+0, 73728, 73728, 2048, 8426, 3d8057fcb27ddc70720a3955571c4ac0
+1, 64256, 64256, 1536, 418, 0bd304182f1693b18c46b0faa682b159
+0, 75776, 75776, 2048, 693, b2073d9452b98ca62d4708ea2d5a0730
+1, 65792, 65792, 1536, 418, ecf7bd4ba9161338ce2cefc1fdd06098
+0, 77824, 77824, 2048, 890, 617e1c3312a14a9732789c4f5b9f0488
+1, 67328, 67328, 1536, 418, 4953c0e441ca0ca2e1970b8b31d6c70e
+0, 79872, 79872, 2048, 958, ba070283ceda704a7e7ee256ad75690e
+1, 68864, 68864, 1536, 418, 4eb7f24aa46b8f0e6b47d0ca6ec0d56d
+1, 70400, 70400, 1536, 418, df4d73a6acccd3be6663188f4baab996
+0, 81920, 81920, 2048, 1036, 62c4213ff08e97cf82d1b6350f49e5e4
+1, 71936, 71936, 1536, 418, 5e60f266106b86f19749b64d86b11f43
+0, 83968, 83968, 2048, 1021, 468fca432044d4653991ed76f7fdb161
+1, 73472, 73472, 1536, 418, cedea148c5f7ddba6f0fbcbe17e6bfbb
+0, 86016, 86016, 2048, 1021, e439e670c4fd699f831d6da814f35623
+1, 75008, 75008, 1536, 416, 97655498b413a59b3f0f6bdc25f69084
+0, 88064, 88064, 2048, 1026, e4ad69687a8912a27ceb8069b567a1d0
+1, 76544, 76544, 1536, 418, 0bea3f23db7aafefe50710310af25a9b
+0, 90112, 90112, 2048, 945, 83534c6c2da202376387f86b44ad3fa8
+1, 78080, 78080, 1536, 418, e763b383810d9a4645901c0d93f98a32
+0, 92160, 92160, 2048, 998, b575ba085bb01752af6e15ba896f82c4
+1, 79616, 79616, 1536, 418, f090bb15688066a9c5129348f86245e7
+0, 94208, 94208, 2048, 1019, 7d6ff68f2bfc7627a3a9706a8c9035b3
+1, 81152, 81152, 1536, 418, beb8658ede31b44326de936b28a2d740
+1, 82688, 82688, 1536, 418, 53987c0214550f387ce03093b83f4225
+0, 96256, 96256, 2048, 978, b62d6ca4a21a565071fc70c3890485f5
+1, 84224, 84224, 1536, 418, d3c37c202144070892528cc0a0ff3112
+0, 98304, 98304, 2048, 8690, 40627c6e6f397670bda29319b2920a6d
+1, 85760, 85760, 1536, 418, cf52ea7fc69e4c5bc8f75b354dfe60af
+0, 100352, 100352, 2048, 639, 2eabe65d77af690a6e0b7209d8a51cf8
+1, 87296, 87296, 1536, 418, 78ab22657a1b6c8a0e5b8612ceb8081d
diff --git a/tests/ref/fate/shortest b/tests/ref/fate/shortest
new file mode 100644
index 0000000000..f39a730c2c
--- /dev/null
+++ b/tests/ref/fate/shortest
@@ -0,0 +1,123 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: mpeg4
+#dimensions 0: 352x288
+#sar 0: 0/1
+#tb 1: 1/44100
+#media_type 1: audio
+#codec_id 1: ac3
+#sample_rate 1: 44100
+#channel_layout 1: 4
+#channel_layout_name 1: mono
+#stream#, dts, pts, duration, size, hash
+1, -256, -256, 1536, 416, e3bd415f62aa927e9273151fdf21ebce
+0, 0, 0, 1, 15854, 95fdffc627c15ec2a1764adb98378cc8, S=1, 8, 9cf0b40a4b63467e3c719c72a911acbd
+1, 1280, 1280, 1536, 418, 6e79527e2af3448d7a0e4a8e29cd9722
+0, 1, 1, 1, 13318, 61e9d6d30e533292ff37b1168e58ab11, S=1, 8, 36b12655a39dea3638d6feeaa38693f4
+1, 2816, 2816, 1536, 418, cf49595ac385e497672e5a814f7bcd79
+0, 2, 2, 1, 11475, 5591622b2d2b557ff749fa736c631ff3, S=1, 8, 36b12655a39dea3638d6feeaa38693f4
+1, 4352, 4352, 1536, 418, 846982243d330ab782f0120988d52ade
+0, 3, 3, 1, 11629, c06ab8d81d16477f11a03c0cac2e99dd, S=1, 8, 36b12655a39dea3638d6feeaa38693f4
+1, 5888, 5888, 1536, 418, 77b2d15948434a4831e30c47b8214591
+0, 4, 4, 1, 6108, b2077a08d20772f03eb5a438a79e34d6, S=1, 8, 4057375d7213345ff8b5690075371608
+1, 7424, 7424, 1536, 418, 4fce87d5cce10f6d0268fb398c385af5
+0, 5, 5, 1, 2073, f60858c134b710797b932f6bd67375e8, S=1, 8, c04afc86c8f48384ee20fca6c8e87238
+1, 8960, 8960, 1536, 418, 963f2dac9af4672809521f2174b78f10
+1, 10496, 10496, 1536, 418, eb7a20193c157b02f7b5d5abf802af24
+0, 6, 6, 1, 1593, 722a391dbe8cec12d21c24967bcd3f9a, S=1, 8, d2344c094573d1252fd75c0ba2721f0a
+1, 12032, 12032, 1536, 418, 219b234a1e01d3538bfe09fda58b3289
+0, 7, 7, 1, 1465, cabebc01bc61ee73be6f5877ea7dcda9, S=1, 8, 25b6cf153f1c4424af08a91be1bea2bb
+1, 13568, 13568, 1536, 418, ef7bd3e9c13f03aa6676629101a9a8a0
+0, 8, 8, 1, 1306, e8cf3345ce9b5d482f8d766f657173d9, S=1, 8, d0b8916b10362671e64f1d73ba9d851e
+1, 15104, 15104, 1536, 418, c5dda974df7e418d9036dff134aad2ae
+0, 9, 9, 1, 1386, e8214a31192fed1d3a610aa2ea1b5ea3, S=1, 8, 56c142e2fc6ab90d85490e3bb0b21e8d
+1, 16640, 16640, 1536, 418, 48e7a9f574654dd95a325cfec5072254
+0, 10, 10, 1, 1205, b99687be797b20ff061d1226b2d4a26b, S=1, 8, c64ed668aab56d6e18d8418938acb050
+1, 18176, 18176, 1536, 418, 737d867e328377a3e6623f77f646ea61
+0, 11, 11, 1, 1317, ec1c7bfb91f1af72cc22ad37b600024c, S=1, 8, fb7cb9023f678ab152b0ece99ade9b59
+1, 19712, 19712, 1536, 418, 5e2a004ad90ba069cecd9fdc1652388c
+0, 12, 12, 1, 9546, d574659d05e5ad432928836ced7e734f, S=1, 8, 6be505c5c4671e678387ee2f3bda6994
+1, 21248, 21248, 1536, 418, c694e51e609bdd00749a04294cbd60fb
+1, 22784, 22784, 1536, 418, 6b787ffae0063d9910deebc8b3e98fd4
+0, 13, 13, 1, 859, 3066311e4eeb7f69a9b20939873e2424, S=1, 8, b8160789f7975e1bc3e5dc59254dc976
+1, 24320, 24320, 1536, 418, eb6d62198a5472a1c179d42cde60b869
+0, 14, 14, 1, 1148, e564909cefb616a28b25283c825dc815, S=1, 8, c64ed668aab56d6e18d8418938acb050
+1, 25856, 25856, 1536, 418, 70a6c8e61e8d75f7a310bc7294ad38f6
+0, 15, 15, 1, 1277, 84bccfcecef582100f222c16d610d5e8, S=1, 8, 4035ac4c4d4aadf545172fdb0202adc7
+1, 27392, 27392, 1536, 418, 6847924a11575b3628ccdfd81a2fb1dc
+0, 16, 16, 1, 1325, cc3efca64cb6582b2de50edb0f504f39, S=1, 8, 526bb3ebd360dd8583919f24b6379b18
+1, 28928, 28928, 1536, 418, 6f76bbe03d8b4e0080226247e0e54f96
+0, 17, 17, 1, 1110, 2faa567250ca713c2c49c52bbec705d2, S=1, 8, ae7b92e39e339916a550e7b0115af8ed
+1, 30464, 30464, 1536, 418, c946a8d690aa31fde929678b594cc432
+0, 18, 18, 1, 1150, 6c3d1e9219837fe1eca7700df25736ce, S=1, 8, e2a3142bfafcd5f23e7c1a97fdcd1611
+1, 32000, 32000, 1536, 418, 3add3833b86a38c229faf8e602f83dcb
+0, 19, 19, 1, 1209, fd6b8b2379c5cc5a05990d1bf50a2122, S=1, 8, 72021a86e6819ff2770afb3a7aba9822
+1, 33536, 33536, 1536, 418, cb51e6a41f5c4a5f01dd94f58210112b
+1, 35072, 35072, 1536, 418, 66c3570cb8c11386b0601fe4a6eb7ee0
+0, 20, 20, 1, 1223, d54c50d04e379f767ca0600576c42f1f, S=1, 8, 3f3be12054d7ac9a86b58534b0f85ad5
+1, 36608, 36608, 1536, 418, 8b986c15b9ab86432c43cedd1a182e8d
+0, 21, 21, 1, 1254, b74fd59594ea997036fb71efaaff5609, S=1, 8, 82e123514584560af379c50e566a0efd
+1, 38144, 38144, 1536, 418, 0dd29cc7f63f2afac3eec5e5944165e7
+0, 22, 22, 1, 1080, 09fdad0d2419ce79d6058c5989545231, S=1, 8, 1e919d1a427cacb065dec84067c18b2c
+1, 39680, 39680, 1536, 418, c4c14deb03d5048f8c6101260c617fae
+0, 23, 23, 1, 1096, 2ead3c39825ce9277dfb2d1588499d67, S=1, 8, dc6dbfeaaf3480bede1ca54281219d28
+1, 41216, 41216, 1536, 418, 4a3480d888fa0dd49a7bbf2669b5d3ed
+0, 24, 24, 1, 9754, ac1468ede7c76fa49b0b5051dcb90c63, S=1, 8, f24545bac4cd7e6e3b37effde87556c1
+1, 42752, 42752, 1536, 418, aaeabe149b9185a6f09c271eb2c656dd
+0, 25, 25, 1, 789, c77a232b086330716737047f6442e074, S=1, 8, dd599225f54a34977b143c70f35248af
+1, 44288, 44288, 1536, 418, 0995488ad1bb84ec4a3e738b568484a4
+1, 45824, 45824, 1536, 418, baa39bdfd9f47f7d312312985f59fb72
+0, 26, 26, 1, 1012, 24865dcc56c61c306178c451ae00b73a, S=1, 8, 431f741f44fa64eac99ceb1b820e8a04
+1, 47360, 47360, 1536, 418, c25bac736a8c356d0a0f9c9299f88880
+0, 27, 27, 1, 1138, 8fdddcd003cd2e630aa55c7f5e76da12, S=1, 8, dcec92442f44a3ecbaf807279b2b8699
+1, 48896, 48896, 1536, 418, 85378fd6c8b49a1f4c5490ab1e4013ca
+0, 28, 28, 1, 1037, 18e607adcfb97d20a072329590bda616, S=1, 8, 309a5035c7a1ea314794289ff903b511
+1, 50432, 50432, 1536, 418, 528e28031145f07336cd2a1b9b324ca6
+0, 29, 29, 1, 1070, c2d7f9699a335dd78f2c60e3ade8d2da, S=1, 8, 6da58a82c90161d200c2e5bc66901e1c
+1, 51968, 51968, 1536, 418, cc9b907fc92fffc61f7e41cdb863d586
+0, 30, 30, 1, 1124, d818aa7626cd6bc9707779072a459dee, S=1, 8, 958e599e4bc648be57b7c6e30cae8956
+1, 53504, 53504, 1536, 418, fe2f2ca279b14d7053349111578b48c0
+0, 31, 31, 1, 1003, e49360236a4506e1ee35070de2cab38c, S=1, 8, e57ab3c3dd96d50ef19af0d10b633f4c
+1, 55040, 55040, 1536, 418, 5f2c6037aa4b89572a4ed712082ae2ab
+0, 32, 32, 1, 1013, 7649fc13088a882be2cb95bc57990723, S=1, 8, fd54d6fc3ca45da8e73507b3cec3bdb4
+1, 56576, 56576, 1536, 418, 17a096694df972c2ef3a9abbe0a9cd6a
+1, 58112, 58112, 1536, 418, c96a64bbfd1aae269e44bfdaea7c8a9c
+0, 33, 33, 1, 1108, 1e7a69eb26b287579033939d186b1de0, S=1, 8, 9362b100a77fad014652eafe0eb1944d
+1, 59648, 59648, 1536, 418, 5f9297244e107134c49fc4982f5a7c1f
+0, 34, 34, 1, 1164, 90562532804f73e3338280d2821c8640, S=1, 8, 5c5abe1da5ff1a6a0566a7cb45b02c08
+1, 61184, 61184, 1536, 418, da740d2d75b51d6e28bcb068f6a90d41
+0, 35, 35, 1, 1126, 5ea80cfb0455babf9b19446198af206b, S=1, 8, c281971cbe0832b1c13585320ff035ea
+1, 62720, 62720, 1536, 418, 76e6bbbbfa0692659d0d84a30dcfff34
+0, 36, 36, 1, 8456, c7a47c871310914cfc32663cf24166d7, S=1, 8, 3e24aaf4c9d5c084d3a3f0d90f783278
+1, 64256, 64256, 1536, 418, 0bd304182f1693b18c46b0faa682b159
+0, 37, 37, 1, 694, 86806974f051b415bfc0996af7f47696, S=1, 8, 540ee8ae462556d0a046a736f297b173
+1, 65792, 65792, 1536, 418, ecf7bd4ba9161338ce2cefc1fdd06098
+0, 38, 38, 1, 892, e71be76af5b6b046e44e3e6257f6bd92, S=1, 8, fc560de809ee8241e933ecd2661108b7
+1, 67328, 67328, 1536, 418, 4953c0e441ca0ca2e1970b8b31d6c70e
+0, 39, 39, 1, 1083, 505084a26ae78907fabd463e2d05bbcb, S=1, 8, 049eee0ee70335df57ac59af203fe219
+1, 68864, 68864, 1536, 418, 4eb7f24aa46b8f0e6b47d0ca6ec0d56d
+1, 70400, 70400, 1536, 418, df4d73a6acccd3be6663188f4baab996
+0, 40, 40, 1, 993, 0f5368f247b2cf7ecd671435aeda8b37, S=1, 8, 5550ac360fd5ed3a21840259f1a93025
+1, 71936, 71936, 1536, 418, 5e60f266106b86f19749b64d86b11f43
+0, 41, 41, 1, 1003, aa87dcae3a211b2689284d222ed6db76, S=1, 8, 95a7c655a3d4711b01b9d5cd871d1f30
+1, 73472, 73472, 1536, 418, cedea148c5f7ddba6f0fbcbe17e6bfbb
+0, 42, 42, 1, 1032, 3386f36294719e0a5186e2f2edaf0969, S=1, 8, 396a23cdb4b96b8b77886469409ad7ca
+1, 75008, 75008, 1536, 416, 97655498b413a59b3f0f6bdc25f69084
+0, 43, 43, 1, 1028, 2a8be744fbdc6fe0072172c808f455c1, S=1, 8, 4fda569b89ad069d7b82b585cd6ff009
+1, 76544, 76544, 1536, 418, 0bea3f23db7aafefe50710310af25a9b
+0, 44, 44, 1, 948, cb1c1d28286d5030bd27b393653c4cc4, S=1, 8, 5b4d66a595207277db45b6ecd9b08854
+1, 78080, 78080, 1536, 418, e763b383810d9a4645901c0d93f98a32
+0, 45, 45, 1, 997, 2cec49ea758e4853dd5036277ae7a97c, S=1, 8, 28a85a0ee15dc8c5b5b69d882ad55a29
+1, 79616, 79616, 1536, 418, f090bb15688066a9c5129348f86245e7
+0, 46, 46, 1, 978, 876c8edd1ceee6003ad9522fddec3791, S=1, 8, f2b52b616d3de191e5ae7389d57f5ab2
+1, 81152, 81152, 1536, 418, beb8658ede31b44326de936b28a2d740
+1, 82688, 82688, 1536, 418, 53987c0214550f387ce03093b83f4225
+0, 47, 47, 1, 988, 6d707c6f0fa6e525be40889cee04a737, S=1, 8, 720720daf8bcb72639ee2b9a3af9ce83
+1, 84224, 84224, 1536, 418, d3c37c202144070892528cc0a0ff3112
+0, 48, 48, 1, 8720, 5e230de451b13a8fbfd0432da23ab6b3, S=1, 8, 997caa31a1cdf2d03b5d243cd0755949
+1, 85760, 85760, 1536, 418, cf52ea7fc69e4c5bc8f75b354dfe60af
+0, 49, 49, 1, 635, 16962fc4bae92dda139fb107d78b8073, S=1, 8, f9e79a0c8a7a7796e9adf5f4f3c48102
+1, 87296, 87296, 1536, 418, 78ab22657a1b6c8a0e5b8612ceb8081d
More information about the ffmpeg-cvslog
mailing list