summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-06-18 20:42:52 +0200
committerAnton Khirnov <anton@khirnov.net>2016-02-23 17:01:58 +0100
commit9200514ad8717c63f82101dc394f4378854325bf (patch)
tree566b8d48565a88303363198acc81de06363daa7a /tests
parenta8068346e48e123f8d3bdf4d64464d81e53e5fc7 (diff)
lavf: replace AVStream.codec with AVStream.codecpar
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/iv8-demux10
-rw-r--r--tests/ref/fate/lmlm4-demux180
-rw-r--r--tests/ref/fate/movenc38
-rw-r--r--tests/ref/fate/mxf-demux190
-rw-r--r--tests/ref/fate/nc-demux182
-rw-r--r--tests/ref/fate/wtv-demux68
-rw-r--r--tests/ref/lavf/flv_fmt2
-rw-r--r--tests/ref/vsynth/vsynth1-flashsv2
-rw-r--r--tests/ref/vsynth/vsynth1-flv2
-rw-r--r--tests/ref/vsynth/vsynth2-flashsv2
-rw-r--r--tests/ref/vsynth/vsynth2-flv2
11 files changed, 339 insertions, 339 deletions
diff --git a/tests/ref/fate/iv8-demux b/tests/ref/fate/iv8-demux
index 56a54a11db..f13e691944 100644
--- a/tests/ref/fate/iv8-demux
+++ b/tests/ref/fate/iv8-demux
@@ -19,8 +19,8 @@
0, 57600, 61200, 0, 20874, 0xed0b91ec
0, 61200, 64799, 0, 20877, 0xe1623e01
0, 64799, 68399, 0, 20933, 0x19906564
-0, 68399, 72000, 3600, 20891, 0x3d064fd3
-0, 72000, 75600, 3600, 20834, 0xcb774dbc
-0, 75600, 79200, 3600, 20870, 0xbc536589
-0, 79200, 82800, 3600, 21421, 0xc99a68e4
-0, 82800, 86400, 3600, 12869, 0x5684e304
+0, 68399, 72000, 0, 20891, 0x3d064fd3
+0, 72000, 75600, 0, 20834, 0xcb774dbc
+0, 75600, 79200, 0, 20870, 0xbc536589
+0, 79200, 82800, 0, 21421, 0xc99a68e4
+0, 82800, 86400, 0, 12869, 0x5684e304
diff --git a/tests/ref/fate/lmlm4-demux b/tests/ref/fate/lmlm4-demux
index 0546135a46..95e8be573d 100644
--- a/tests/ref/fate/lmlm4-demux
+++ b/tests/ref/fate/lmlm4-demux
@@ -1,217 +1,217 @@
#tb 0: 1001/30000
#tb 1: 1/90000
-0, 0, -9223372036854775808, 1, 5951, 0xe9118e0d
+0, 0, 0, 1, 5951, 0xe9118e0d
1, 0, 0, 2160, 768, 0xaebcbebb
1, 2160, 2160, 2160, 768, 0xaebcbebb
-0, 1, -9223372036854775808, 1, 1672, 0x4b80d4ca
+0, 1, 1, 1, 1672, 0x4b80d4ca
1, 4320, 4320, 2160, 768, 0xaebcbebb
-0, 2, -9223372036854775808, 1, 1604, 0x99e1b0a7
+0, 2, 2, 1, 1604, 0x99e1b0a7
1, 6480, 6480, 2160, 768, 0x866fe37a
1, 8640, 8640, 2160, 768, 0x05d76890
-0, 3, -9223372036854775808, 1, 1204, 0x9559038a
+0, 3, 3, 1, 1204, 0x9559038a
1, 10800, 10800, 2160, 768, 0x858f5511
-0, 4, -9223372036854775808, 1, 1482, 0x60056564
+0, 4, 4, 1, 1482, 0x60056564
1, 12960, 12960, 2160, 768, 0x97cb65ef
-0, 5, -9223372036854775808, 1, 1105, 0xf508cef4
+0, 5, 5, 1, 1105, 0xf508cef4
1, 15120, 15120, 2160, 768, 0xe269742c
1, 17280, 17280, 2160, 768, 0xa6015f8d
-0, 6, -9223372036854775808, 1, 1193, 0xc8e0fd36
+0, 6, 6, 1, 1193, 0xc8e0fd36
1, 19440, 19440, 2160, 768, 0x759163e0
-0, 7, -9223372036854775808, 1, 1247, 0x8dd202e5
+0, 7, 7, 1, 1247, 0x8dd202e5
1, 21600, 21600, 2160, 768, 0xb1e16082
1, 23760, 23760, 2160, 768, 0x1b616429
-0, 8, -9223372036854775808, 1, 1367, 0xf59435e5
+0, 8, 8, 1, 1367, 0xf59435e5
1, 25920, 25920, 2160, 768, 0x7e4364f7
-0, 9, -9223372036854775808, 1, 1406, 0x68ba4a7e
+0, 9, 9, 1, 1406, 0x68ba4a7e
1, 28080, 28080, 2160, 768, 0x59bd64f7
-0, 10, -9223372036854775808, 1, 1262, 0x82c04123
+0, 10, 10, 1, 1262, 0x82c04123
1, 30240, 30240, 2160, 768, 0xc3116fc6
1, 32400, 32400, 2160, 768, 0x6a1c6b56
-0, 11, -9223372036854775808, 1, 1381, 0x02335cf9
+0, 11, 11, 1, 1381, 0x02335cf9
1, 34560, 34560, 2160, 768, 0x285a64cf
-0, 12, -9223372036854775808, 1, 1450, 0x7be46fd1
+0, 12, 12, 1, 1450, 0x7be46fd1
1, 36720, 36720, 2160, 768, 0x79b16d65
1, 38880, 38880, 2160, 768, 0x09b47635
-0, 13, -9223372036854775808, 1, 1362, 0x75cc381a
+0, 13, 13, 1, 1362, 0x75cc381a
1, 41040, 41040, 2160, 768, 0x81597446
-0, 14, -9223372036854775808, 1, 1409, 0x9ed74f3f
+0, 14, 14, 1, 1409, 0x9ed74f3f
1, 43200, 43200, 2160, 768, 0xfeb66eee
-0, 15, -9223372036854775808, 1, 1253, 0x82400ae1
+0, 15, 15, 1, 1253, 0x82400ae1
1, 45360, 45360, 2160, 768, 0x78557618
1, 47520, 47520, 2160, 768, 0x3af170bf
-0, 16, -9223372036854775808, 1, 5499, 0xed286805
+0, 16, 16, 1, 5499, 0xed286805
1, 49680, 49680, 2160, 768, 0xefbd6399
-0, 17, -9223372036854775808, 1, 1403, 0x483c4cbc
+0, 17, 17, 1, 1403, 0x483c4cbc
1, 51840, 51840, 2160, 768, 0xc98e7492
1, 54000, 54000, 2160, 768, 0x010d7149
-0, 18, -9223372036854775808, 1, 1632, 0xa9ebcd6c
+0, 18, 18, 1, 1632, 0xa9ebcd6c
1, 56160, 56160, 2160, 768, 0xce838b07
-0, 19, -9223372036854775808, 1, 1207, 0xc8580724
+0, 19, 19, 1, 1207, 0xc8580724
1, 58320, 58320, 2160, 768, 0xed18726c
-0, 20, -9223372036854775808, 1, 1289, 0x61fb2fd2
+0, 20, 20, 1, 1289, 0x61fb2fd2
1, 60480, 60480, 2160, 768, 0x017e6712
1, 62640, 62640, 2160, 768, 0x7f9268e9
-0, 21, -9223372036854775808, 1, 1230, 0xf348f53c
+0, 21, 21, 1, 1230, 0xf348f53c
1, 64800, 64800, 2160, 768, 0xf6f258fc
-0, 22, -9223372036854775808, 1, 1579, 0xa260b1ac
+0, 22, 22, 1, 1579, 0xa260b1ac
1, 66960, 66960, 2160, 768, 0x9a1a6f31
-0, 23, -9223372036854775808, 1, 949, 0x91849002
+0, 23, 23, 1, 949, 0x91849002
1, 69120, 69120, 2160, 768, 0x14b47b23
1, 71280, 71280, 2160, 768, 0x9bdc6a50
-0, 24, -9223372036854775808, 1, 786, 0x3e33576f
+0, 24, 24, 1, 786, 0x3e33576f
1, 73440, 73440, 2160, 768, 0x0fc46dab
-0, 25, -9223372036854775808, 1, 894, 0x9ac36a61
+0, 25, 25, 1, 894, 0x9ac36a61
1, 75600, 75600, 2160, 768, 0x6c387372
1, 77760, 77760, 2160, 768, 0x581e71cd
-0, 26, -9223372036854775808, 1, 1186, 0x6bfc116e
+0, 26, 26, 1, 1186, 0x6bfc116e
1, 79920, 79920, 2160, 768, 0x00cb785f
-0, 27, -9223372036854775808, 1, 1187, 0xcfc512ae
+0, 27, 27, 1, 1187, 0xcfc512ae
1, 82080, 82080, 2160, 768, 0x1dda7032
-0, 28, -9223372036854775808, 1, 1527, 0x5c2c965a
+0, 28, 28, 1, 1527, 0x5c2c965a
1, 84240, 84240, 2160, 768, 0xf57c7103
1, 86400, 86400, 2160, 768, 0x2d927183
-0, 29, -9223372036854775808, 1, 1536, 0x5ba7ac29
+0, 29, 29, 1, 1536, 0x5ba7ac29
1, 88560, 88560, 2160, 768, 0xdae86cdf
-0, 30, -9223372036854775808, 1, 1095, 0xce06eb96
+0, 30, 30, 1, 1095, 0xce06eb96
1, 90720, 90720, 2160, 768, 0x2a2f6c3c
1, 92880, 92880, 2160, 768, 0x44696eba
-0, 31, -9223372036854775808, 1, 1402, 0x642f6b0d
+0, 31, 31, 1, 1402, 0x642f6b0d
1, 95040, 95040, 2160, 768, 0xf67c71c4
-0, 32, -9223372036854775808, 1, 5551, 0xf01a9c08
+0, 32, 32, 1, 5551, 0xf01a9c08
1, 97200, 97200, 2160, 768, 0xc1ce7237
-0, 33, -9223372036854775808, 1, 1211, 0x350206f7
+0, 33, 33, 1, 1211, 0x350206f7
1, 99360, 99360, 2160, 768, 0xd9c36ef5
1, 101520, 101520, 2160, 768, 0x63b06b03
-0, 34, -9223372036854775808, 1, 887, 0x08767619
+0, 34, 34, 1, 887, 0x08767619
1, 103680, 103680, 2160, 768, 0x8de97ebe
-0, 35, -9223372036854775808, 1, 1042, 0xcc81a9ed
+0, 35, 35, 1, 1042, 0xcc81a9ed
1, 105840, 105840, 2160, 768, 0xbf117c32
1, 108000, 108000, 2160, 768, 0x82897497
-0, 36, -9223372036854775808, 1, 1247, 0x6f320614
+0, 36, 36, 1, 1247, 0x6f320614
1, 110160, 110160, 2160, 768, 0x7a347abb
-0, 37, -9223372036854775808, 1, 1459, 0xd28975b5
+0, 37, 37, 1, 1459, 0xd28975b5
1, 112320, 112320, 2160, 768, 0xc99b691e
-0, 38, -9223372036854775808, 1, 1116, 0x1ab1e9db
+0, 38, 38, 1, 1116, 0x1ab1e9db
1, 114480, 114480, 2160, 768, 0xf4fc6e74
1, 116640, 116640, 2160, 768, 0x511d6ec4
-0, 39, -9223372036854775808, 1, 1110, 0x6411f66a
+0, 39, 39, 1, 1110, 0x6411f66a
1, 118800, 118800, 2160, 768, 0xb8c06b5f
-0, 40, -9223372036854775808, 1, 1282, 0xd468375d
+0, 40, 40, 1, 1282, 0xd468375d
1, 120960, 120960, 2160, 768, 0xf1776aed
1, 123120, 123120, 2160, 768, 0xe6fe7fb4
-0, 41, -9223372036854775808, 1, 1077, 0x1273c6e3
+0, 41, 41, 1, 1077, 0x1273c6e3
1, 125280, 125280, 2160, 768, 0x36907aff
-0, 42, -9223372036854775808, 1, 1043, 0x12dbd3ae
+0, 42, 42, 1, 1043, 0x12dbd3ae
1, 127440, 127440, 2160, 768, 0xddf666bb
-0, 43, -9223372036854775808, 1, 1087, 0x3e70d37a
+0, 43, 43, 1, 1087, 0x3e70d37a
1, 129600, 129600, 2160, 768, 0x8e896ebc
1, 131760, 131760, 2160, 768, 0x0aa47dfa
-0, 44, -9223372036854775808, 1, 992, 0x0651a71c
+0, 44, 44, 1, 992, 0x0651a71c
1, 133920, 133920, 2160, 768, 0xc1736811
-0, 45, -9223372036854775808, 1, 1012, 0x6a069f8c
+0, 45, 45, 1, 1012, 0x6a069f8c
1, 136080, 136080, 2160, 768, 0xb3e87009
-0, 46, -9223372036854775808, 1, 1320, 0x92803d69
+0, 46, 46, 1, 1320, 0x92803d69
1, 138240, 138240, 2160, 768, 0xf23e6c00
1, 140400, 140400, 2160, 768, 0x993a71d2
-0, 47, -9223372036854775808, 1, 1080, 0xe0ffbe95
+0, 47, 47, 1, 1080, 0xe0ffbe95
1, 142560, 142560, 2160, 768, 0xa53466dd
-0, 48, -9223372036854775808, 1, 5639, 0x658ca26b
+0, 48, 48, 1, 5639, 0x658ca26b
1, 144720, 144720, 2160, 768, 0xb43a74b0
1, 146880, 146880, 2160, 768, 0x348f615c
-0, 49, -9223372036854775808, 1, 1385, 0xbcb96241
+0, 49, 49, 1, 1385, 0xbcb96241
1, 149040, 149040, 2160, 768, 0x298f6e1b
-0, 50, -9223372036854775808, 1, 1142, 0x8c6df318
+0, 50, 50, 1, 1142, 0x8c6df318
1, 151200, 151200, 2160, 768, 0x5db469c8
-0, 51, -9223372036854775808, 1, 1175, 0xcac1faef
+0, 51, 51, 1, 1175, 0xcac1faef
1, 153360, 153360, 2160, 768, 0x08f16c2c
1, 155520, 155520, 2160, 768, 0x4a0474cb
-0, 52, -9223372036854775808, 1, 1091, 0xa937e32a
+0, 52, 52, 1, 1091, 0xa937e32a
1, 157680, 157680, 2160, 768, 0x077c760b
-0, 53, -9223372036854775808, 1, 1174, 0xfa50040d
+0, 53, 53, 1, 1174, 0xfa50040d
1, 159840, 159840, 2160, 768, 0xa5777c2e
1, 162000, 162000, 2160, 768, 0x0d157ea6
-0, 54, -9223372036854775808, 1, 1293, 0x0c8d2740
+0, 54, 54, 1, 1293, 0x0c8d2740
1, 164160, 164160, 2160, 768, 0x9bc26f86
-0, 55, -9223372036854775808, 1, 1262, 0x502c0c35
+0, 55, 55, 1, 1262, 0x502c0c35
1, 166320, 166320, 2160, 768, 0x1a72742d
-0, 56, -9223372036854775808, 1, 1038, 0x5e98c0cd
+0, 56, 56, 1, 1038, 0x5e98c0cd
1, 168480, 168480, 2160, 768, 0xa5bb6bbb
1, 170640, 170640, 2160, 768, 0x48496c4c
-0, 57, -9223372036854775808, 1, 1362, 0x256e43cf
+0, 57, 57, 1, 1362, 0x256e43cf
1, 172800, 172800, 2160, 768, 0x800d78f0
-0, 58, -9223372036854775808, 1, 1200, 0x29e6f055
+0, 58, 58, 1, 1200, 0x29e6f055
1, 174960, 174960, 2160, 768, 0x40db840c
1, 177120, 177120, 2160, 768, 0xadc96a6b
-0, 59, -9223372036854775808, 1, 1495, 0x88e9b973
+0, 59, 59, 1, 1495, 0x88e9b973
1, 179280, 179280, 2160, 768, 0xff986b03
-0, 60, -9223372036854775808, 1, 1386, 0x849297d2
+0, 60, 60, 1, 1386, 0x849297d2
1, 181440, 181440, 2160, 768, 0x152473d6
-0, 61, -9223372036854775808, 1, 1572, 0x63b7dc79
+0, 61, 61, 1, 1572, 0x63b7dc79
1, 183600, 183600, 2160, 768, 0x01567323
1, 185760, 185760, 2160, 768, 0xe5f26fe5
-0, 62, -9223372036854775808, 1, 1190, 0x32ccf4cb
+0, 62, 62, 1, 1190, 0x32ccf4cb
1, 187920, 187920, 2160, 768, 0xa8fd72cd
-0, 63, -9223372036854775808, 1, 1395, 0xa6ec4ae9
+0, 63, 63, 1, 1395, 0xa6ec4ae9
1, 190080, 190080, 2160, 768, 0x8857655b
-0, 64, -9223372036854775808, 1, 5692, 0x81aed6f3
+0, 64, 64, 1, 5692, 0x81aed6f3
1, 192240, 192240, 2160, 768, 0x84017b13
1, 194400, 194400, 2160, 768, 0xe6a968b3
-0, 65, -9223372036854775808, 1, 1335, 0xe98a5497
+0, 65, 65, 1, 1335, 0xe98a5497
1, 196560, 196560, 2160, 768, 0xb03a7566
-0, 66, -9223372036854775808, 1, 1361, 0x8ae15ab5
+0, 66, 66, 1, 1361, 0x8ae15ab5
1, 198720, 198720, 2160, 768, 0x8bea5f62
1, 200880, 200880, 2160, 768, 0xac7570b0
-0, 67, -9223372036854775808, 1, 1525, 0xed2bc1e8
+0, 67, 67, 1, 1525, 0xed2bc1e8
1, 203040, 203040, 2160, 768, 0x11306fac
-0, 68, -9223372036854775808, 1, 1570, 0xba70d74b
+0, 68, 68, 1, 1570, 0xba70d74b
1, 205200, 205200, 2160, 768, 0xf2af5b28
-0, 69, -9223372036854775808, 1, 1349, 0xd97a687d
+0, 69, 69, 1, 1349, 0xd97a687d
1, 207360, 207360, 2160, 768, 0x3069681f
1, 209520, 209520, 2160, 768, 0x7ff07033
-0, 70, -9223372036854775808, 1, 1270, 0xca8c3ca8
+0, 70, 70, 1, 1270, 0xca8c3ca8
1, 211680, 211680, 2160, 768, 0xd74973f2
-0, 71, -9223372036854775808, 1, 1016, 0x32d0c81a
+0, 71, 71, 1, 1016, 0x32d0c81a
1, 213840, 213840, 2160, 768, 0xb3627304
1, 216000, 216000, 2160, 768, 0x11ff7589
-0, 72, -9223372036854775808, 1, 983, 0x536faa97
+0, 72, 72, 1, 983, 0x536faa97
1, 218160, 218160, 2160, 768, 0x4a156c63
-0, 73, -9223372036854775808, 1, 1111, 0x44ade015
+0, 73, 73, 1, 1111, 0x44ade015
1, 220320, 220320, 2160, 768, 0xcb036127
-0, 74, -9223372036854775808, 1, 1314, 0xce7c477d
+0, 74, 74, 1, 1314, 0xce7c477d
1, 222480, 222480, 2160, 768, 0x0b796bb9
1, 224640, 224640, 2160, 768, 0x1d516c35
-0, 75, -9223372036854775808, 1, 1005, 0x0196b491
+0, 75, 75, 1, 1005, 0x0196b491
1, 226800, 226800, 2160, 768, 0xa9146da1
-0, 76, -9223372036854775808, 1, 1162, 0xb8f6ebe6
+0, 76, 76, 1, 1162, 0xb8f6ebe6
1, 228960, 228960, 2160, 768, 0x6d176392
1, 231120, 231120, 2160, 768, 0x6f966269
-0, 77, -9223372036854775808, 1, 1440, 0xfca67c72
+0, 77, 77, 1, 1440, 0xfca67c72
1, 233280, 233280, 2160, 768, 0x7ee17724
-0, 78, -9223372036854775808, 1, 1437, 0x491181b1
+0, 78, 78, 1, 1437, 0x491181b1
1, 235440, 235440, 2160, 768, 0x3f07614a
-0, 79, -9223372036854775808, 1, 1261, 0xf0cd1898
+0, 79, 79, 1, 1261, 0xf0cd1898
1, 237600, 237600, 2160, 768, 0x49d56945
1, 239760, 239760, 2160, 768, 0x68eb660a
-0, 80, -9223372036854775808, 1, 5638, 0x3a25a9f2
+0, 80, 80, 1, 5638, 0x3a25a9f2
1, 241920, 241920, 2160, 768, 0xe7c96677
-0, 81, -9223372036854775808, 1, 1091, 0x67d9c693
+0, 81, 81, 1, 1091, 0x67d9c693
1, 244080, 244080, 2160, 768, 0x7dc07a35
1, 246240, 246240, 2160, 768, 0x1e9c6397
-0, 82, -9223372036854775808, 1, 875, 0x52147bb1
+0, 82, 82, 1, 875, 0x52147bb1
1, 248400, 248400, 2160, 768, 0x93ef5de4
-0, 83, -9223372036854775808, 1, 1188, 0x8522000f
+0, 83, 83, 1, 1188, 0x8522000f
1, 250560, 250560, 2160, 768, 0x34af6803
-0, 84, -9223372036854775808, 1, 1360, 0x89b82e7b
+0, 84, 84, 1, 1360, 0x89b82e7b
1, 252720, 252720, 2160, 768, 0x77e068be
1, 254880, 254880, 2160, 768, 0x65e274de
-0, 85, -9223372036854775808, 1, 1378, 0xe8644914
+0, 85, 85, 1, 1378, 0xe8644914
1, 257040, 257040, 2160, 768, 0xb7ad6a8a
-0, 86, -9223372036854775808, 1, 1194, 0x89fef83d
+0, 86, 86, 1, 1194, 0x89fef83d
1, 259200, 259200, 2160, 768, 0x84b3635f
-0, 87, -9223372036854775808, 1, 1422, 0x99daa18b
+0, 87, 87, 1, 1422, 0x99daa18b
1, 261360, 261360, 2160, 768, 0x066b78f2
1, 263520, 263520, 2160, 768, 0xda137428
-0, 88, -9223372036854775808, 1, 1049, 0x72a9cec1
+0, 88, 88, 1, 1049, 0x72a9cec1
1, 265680, 265680, 2160, 768, 0xfd6c7597
-0, 89, -9223372036854775808, 1, 1327, 0x7d15307c
+0, 89, 89, 1, 1327, 0x7d15307c
1, 267840, 267840, 2160, 768, 0x8d766d40
diff --git a/tests/ref/fate/movenc b/tests/ref/fate/movenc
index 2955233d1a..fbf19eea38 100644
--- a/tests/ref/fate/movenc
+++ b/tests/ref/fate/movenc
@@ -1,28 +1,28 @@
-4e7e78793cdda3c9ed28fbf47df39c43 2449 non-empty-moov
-5b825dc829f35c9d5b76834c378276d7 2897 non-empty-moov-elst
-0fd659671dec7d05cfa533a4579b1d6d 2817 non-empty-moov-no-elst
-845fdc9226a0e3f14e5f92219ce8f570 3871 ismv
-aa6f42a0546a27f7047f1cff812a552f 2327 empty-moov
-9a439649d13cdcddf6179234fe3d8a8e 2727 empty-moov-no-elst
-2451cb44e678845ed26e014e1affe5e8 2559 empty-moov-no-elst-no-adjust
-aa6f42a0546a27f7047f1cff812a552f 2327 delay-moov
-09354eac8e7a48216d535df8a88db5ca 2639 delay-moov-elst
-5c2a209249df8c7e3d55418da2ebe5cf 1846 delay-moov-empty-track
-89e03fa0c53e4a89b7fbb1df9f93774f 1749 delay-moov-empty-track-flush
-f8f6bf271a512bff1edba1d930172829 1183 empty-moov-header
+07cee26b35b140ae50268c3083e2d880 2449 non-empty-moov
+c3c47c2c9566cb410e0832c37f4f8527 2897 non-empty-moov-elst
+abc910edf1fc2a205658353dfdfc9a5f 2817 non-empty-moov-no-elst
+e8e0346bf20bfcb448695bd905946f78 3871 ismv
+89ea214e1d1079556164664eea9a7884 2327 empty-moov
+cf9eec38fe557203a37a44c8adafb1fe 2727 empty-moov-no-elst
+42eca5843d98aa9a9b3275de201700b8 2559 empty-moov-no-elst-no-adjust
+89ea214e1d1079556164664eea9a7884 2327 delay-moov
+8fd78a5a91d73a735da53ac02f844177 2639 delay-moov-elst
+848d2fe2f27882960b8e10315460bc23 1846 delay-moov-empty-track
+cbf60ba66c47b8506c1a724d43f12cdc 1749 delay-moov-empty-track-flush
+c0b13fd47ca4c6de13c03155c38c231c 1183 empty-moov-header
f12baf7c4269695817337192c7069328 996 empty-moov-content
-f8f6bf271a512bff1edba1d930172829 1183 delay-moov-header
+c0b13fd47ca4c6de13c03155c38c231c 1183 delay-moov-header
f12baf7c4269695817337192c7069328 996 delay-moov-content
76e1081bbab7541eadcaf4b19d37eff6 584 empty-moov-second-frag
76e1081bbab7541eadcaf4b19d37eff6 584 empty-moov-second-frag-discont
76e1081bbab7541eadcaf4b19d37eff6 584 delay-moov-second-frag-discont
-93d5d944d10570857b726dd1c482bc03 1207 delay-moov-elst-init
+fdc08ccfb9ca1a7a63a8e82a99e28e83 1207 delay-moov-elst-init
41afdc44b0e376fae49a730afe0c53c2 704 delay-moov-elst-second-frag
-93d5d944d10570857b726dd1c482bc03 1207 delay-moov-elst-init-discont
+fdc08ccfb9ca1a7a63a8e82a99e28e83 1207 delay-moov-elst-init-discont
41afdc44b0e376fae49a730afe0c53c2 704 delay-moov-elst-second-frag-discont
-bf648056bf98cf98b0fbd1334d788423 1243 delay-moov-elst-signal-init
+57c113cd2baf7b231355eee6980fb6b5 1243 delay-moov-elst-signal-init
13b8487a4f004ec9f1db543aee1e5e18 704 delay-moov-elst-signal-second-frag
-bf648056bf98cf98b0fbd1334d788423 1243 delay-moov-elst-signal-init-discont
+57c113cd2baf7b231355eee6980fb6b5 1243 delay-moov-elst-signal-init-discont
13b8487a4f004ec9f1db543aee1e5e18 704 delay-moov-elst-signal-second-frag-discont
-4407220c69fb6d96fd3f4daea05140c3 3647 vfr
-4407220c69fb6d96fd3f4daea05140c3 3647 vfr-noduration
+5e676152714f9478b5f74ce67cd7ed60 3647 vfr
+5e676152714f9478b5f74ce67cd7ed60 3647 vfr-noduration
diff --git a/tests/ref/fate/mxf-demux b/tests/ref/fate/mxf-demux
index 426afae965..b4cd6f9c55 100644
--- a/tests/ref/fate/mxf-demux
+++ b/tests/ref/fate/mxf-demux
@@ -1,99 +1,99 @@
#tb 0: 1/25
#tb 1: 1/8000
-0, 0, -9223372036854775808, 1, 8468, 0xc0855553
+0, 0, 0, 1, 8468, 0xc0855553
1, 0, 0, 16000, 32000, 0x479155e6
-0, 1, -9223372036854775808, 1, 3814, 0xa10783b4
-0, 2, -9223372036854775808, 1, 3747, 0xb7bf6973
-0, 3, -9223372036854775808, 1, 3705, 0x5462a600
-0, 4, -9223372036854775808, 1, 3704, 0x1e564943
-0, 5, -9223372036854775808, 1, 3760, 0x10464b9a
-0, 6, -9223372036854775808, 1, 3799, 0xd41d6dcf
-0, 7, -9223372036854775808, 1, 3832, 0x5cf6999e
-0, 8, -9223372036854775808, 1, 3778, 0xe5fc7b9e
-0, 9, -9223372036854775808, 1, 38193, 0xd34e5dd4
-0, 10, -9223372036854775808, 1, 8520, 0x2a203e68
-0, 11, -9223372036854775808, 1, 3832, 0xe4c4b2fe
-0, 12, -9223372036854775808, 1, 3787, 0x0cf95fee
-0, 13, -9223372036854775808, 1, 3766, 0x9e019d14
-0, 14, -9223372036854775808, 1, 3785, 0x0ea9ae75
-0, 15, -9223372036854775808, 1, 3703, 0x11d349ff
-0, 16, -9223372036854775808, 1, 3731, 0x5cf358ef
-0, 17, -9223372036854775808, 1, 3785, 0x01c8962f
-0, 18, -9223372036854775808, 1, 3741, 0xb2c47d53
-0, 19, -9223372036854775808, 1, 38150, 0x08fa1f55
-0, 20, -9223372036854775808, 1, 8487, 0x0c234b9a
-0, 21, -9223372036854775808, 1, 3791, 0x831192ef
-0, 22, -9223372036854775808, 1, 3612, 0x598944fb
-0, 23, -9223372036854775808, 1, 3710, 0xccbb711a
-0, 24, -9223372036854775808, 1, 3864, 0x4385966e
-0, 25, -9223372036854775808, 1, 3919, 0x24e2abc3
-0, 26, -9223372036854775808, 1, 3777, 0x210c6219
-0, 27, -9223372036854775808, 1, 3811, 0x23bf68c2
-0, 28, -9223372036854775808, 1, 3802, 0x52688862
-0, 29, -9223372036854775808, 1, 38027, 0x3d5aa8b9
-0, 30, -9223372036854775808, 1, 8333, 0x617de950
-0, 31, -9223372036854775808, 1, 3831, 0x13fad8fc
-0, 32, -9223372036854775808, 1, 3719, 0xbc317470
-0, 33, -9223372036854775808, 1, 3761, 0xeac460b6
-0, 34, -9223372036854775808, 1, 3637, 0x27d64b32
-0, 35, -9223372036854775808, 1, 3666, 0xf0f700a5
-0, 36, -9223372036854775808, 1, 3788, 0x1c4662a8
-0, 37, -9223372036854775808, 1, 3960, 0xef6b9e99
-0, 38, -9223372036854775808, 1, 3793, 0x3a6ca832
-0, 39, -9223372036854775808, 1, 38312, 0xce1317cc
-0, 40, -9223372036854775808, 1, 8548, 0x4ca944d4
-0, 41, -9223372036854775808, 1, 3866, 0x4e85bf0f
-0, 42, -9223372036854775808, 1, 3644, 0x030338e5
-0, 43, -9223372036854775808, 1, 3634, 0xa95f4512
-0, 44, -9223372036854775808, 1, 3925, 0x7583ba86
-0, 45, -9223372036854775808, 1, 3675, 0x979f423f
-0, 46, -9223372036854775808, 1, 3703, 0x11375f7a
-0, 47, -9223372036854775808, 1, 3705, 0xb7de5d16
-0, 48, -9223372036854775808, 1, 3688, 0x1db45852
-0, 49, -9223372036854775808, 1, 38412, 0x2ee26a63
-0, 50, -9223372036854775808, 1, 8385, 0x0bc20a27
+0, 1, 1, 1, 3814, 0xa10783b4
+0, 2, 2, 1, 3747, 0xb7bf6973
+0, 3, 3, 1, 3705, 0x5462a600
+0, 4, 4, 1, 3704, 0x1e564943
+0, 5, 5, 1, 3760, 0x10464b9a
+0, 6, 6, 1, 3799, 0xd41d6dcf
+0, 7, 7, 1, 3832, 0x5cf6999e
+0, 8, 8, 1, 3778, 0xe5fc7b9e
+0, 9, 9, 1, 38193, 0xd34e5dd4
+0, 10, 10, 1, 8520, 0x2a203e68
+0, 11, 11, 1, 3832, 0xe4c4b2fe
+0, 12, 12, 1, 3787, 0x0cf95fee
+0, 13, 13, 1, 3766, 0x9e019d14
+0, 14, 14, 1, 3785, 0x0ea9ae75
+0, 15, 15, 1, 3703, 0x11d349ff
+0, 16, 16, 1, 3731, 0x5cf358ef
+0, 17, 17, 1, 3785, 0x01c8962f
+0, 18, 18, 1, 3741, 0xb2c47d53
+0, 19, 19, 1, 38150, 0x08fa1f55
+0, 20, 20, 1, 8487, 0x0c234b9a
+0, 21, 21, 1, 3791, 0x831192ef
+0, 22, 22, 1, 3612, 0x598944fb
+0, 23, 23, 1, 3710, 0xccbb711a
+0, 24, 24, 1, 3864, 0x4385966e
+0, 25, 25, 1, 3919, 0x24e2abc3
+0, 26, 26, 1, 3777, 0x210c6219
+0, 27, 27, 1, 3811, 0x23bf68c2
+0, 28, 28, 1, 3802, 0x52688862
+0, 29, 29, 1, 38027, 0x3d5aa8b9
+0, 30, 30, 1, 8333, 0x617de950
+0, 31, 31, 1, 3831, 0x13fad8fc
+0, 32, 32, 1, 3719, 0xbc317470
+0, 33, 33, 1, 3761, 0xeac460b6
+0, 34, 34, 1, 3637, 0x27d64b32
+0, 35, 35, 1, 3666, 0xf0f700a5
+0, 36, 36, 1, 3788, 0x1c4662a8
+0, 37, 37, 1, 3960, 0xef6b9e99
+0, 38, 38, 1, 3793, 0x3a6ca832
+0, 39, 39, 1, 38312, 0xce1317cc
+0, 40, 40, 1, 8548, 0x4ca944d4
+0, 41, 41, 1, 3866, 0x4e85bf0f
+0, 42, 42, 1, 3644, 0x030338e5
+0, 43, 43, 1, 3634, 0xa95f4512
+0, 44, 44, 1, 3925, 0x7583ba86
+0, 45, 45, 1, 3675, 0x979f423f
+0, 46, 46, 1, 3703, 0x11375f7a
+0, 47, 47, 1, 3705, 0xb7de5d16
+0, 48, 48, 1, 3688, 0x1db45852
+0, 49, 49, 1, 38412, 0x2ee26a63
+0, 50, 50, 1, 8385, 0x0bc20a27
1, 16000, 16000, 16000, 32000, 0x8f7e5009
-0, 51, -9223372036854775808, 1, 3733, 0xa3e2a9a0
-0, 52, -9223372036854775808, 1, 3773, 0x27769caa
-0, 53, -9223372036854775808, 1, 3670, 0xc8335e98
-0, 54, -9223372036854775808, 1, 3596, 0xd6512fb0
-0, 55, -9223372036854775808, 1, 3579, 0xa621fbc2
-0, 56, -9223372036854775808, 1, 3641, 0x2f4f46ca
-0, 57, -9223372036854775808, 1, 3686, 0x0a92385a
-0, 58, -9223372036854775808, 1, 3672, 0xe65137b9
-0, 59, -9223372036854775808, 1, 39065, 0xc723bf8b
-0, 60, -9223372036854775808, 1, 8611, 0x5d177f40
-0, 61, -9223372036854775808, 1, 3758, 0x33d59966
-0, 62, -9223372036854775808, 1, 3674, 0x54f37902
-0, 63, -9223372036854775808, 1, 3615, 0xa0f045fa
-0, 64, -9223372036854775808, 1, 3719, 0x41cf93ff
-0, 65, -9223372036854775808, 1, 3757, 0x3a1b7e8f
-0, 66, -9223372036854775808, 1, 3762, 0xe7f9714d
-0, 67, -9223372036854775808, 1, 3738, 0x8121805b
-0, 68, -9223372036854775808, 1, 3733, 0x13e262db
-0, 69, -9223372036854775808, 1, 38433, 0x3d58c500
-0, 70, -9223372036854775808, 1, 8410, 0xa4f7fd2e
-0, 71, -9223372036854775808, 1, 3711, 0x0e112d3c
-0, 72, -9223372036854775808, 1, 3692, 0xb46574b2
-0, 73, -9223372036854775808, 1, 3563, 0xad43343d
-0, 74, -9223372036854775808, 1, 3613, 0x5cd85c4f
-0, 75, -9223372036854775808, 1, 3653, 0xe15a2853
-0, 76, -9223372036854775808, 1, 3684, 0x9ddd58cb
-0, 77, -9223372036854775808, 1, 3256, 0xd7f89f2e
-0, 78, -9223372036854775808, 1, 3698, 0x2b82624a
-0, 79, -9223372036854775808, 1, 39520, 0xd3f2b7c5
-0, 80, -9223372036854775808, 1, 8493, 0x163559be
-0, 81, -9223372036854775808, 1, 3719, 0x6fa0916f
-0, 82, -9223372036854775808, 1, 3655, 0xa9233de1
-0, 83, -9223372036854775808, 1, 3684, 0xa6125737
-0, 84, -9223372036854775808, 1, 3688, 0xa9da6686
-0, 85, -9223372036854775808, 1, 3685, 0x674d634e
-0, 86, -9223372036854775808, 1, 3677, 0x7a85535d
-0, 87, -9223372036854775808, 1, 3666, 0xce3600a2
-0, 88, -9223372036854775808, 1, 3837, 0x3a7090e1
-0, 89, -9223372036854775808, 1, 38696, 0x12c59cd2
-0, 90, -9223372036854775808, 1, 8022, 0xd343433f
-0, 91, -9223372036854775808, 1, 5157, 0x440c14e5
-0, 92, -9223372036854775808, 1, 5003, 0xf8e1daff
-0, 93, -9223372036854775808, 1, 4954, 0x89866344
-0, 94, -9223372036854775808, 1, 53664, 0xeb0c4c42
+0, 51, 51, 1, 3733, 0xa3e2a9a0
+0, 52, 52, 1, 3773, 0x27769caa
+0, 53, 53, 1, 3670, 0xc8335e98
+0, 54, 54, 1, 3596, 0xd6512fb0
+0, 55, 55, 1, 3579, 0xa621fbc2
+0, 56, 56, 1, 3641, 0x2f4f46ca
+0, 57, 57, 1, 3686, 0x0a92385a
+0, 58, 58, 1, 3672, 0xe65137b9
+0, 59, 59, 1, 39065, 0xc723bf8b
+0, 60, 60, 1, 8611, 0x5d177f40
+0, 61, 61, 1, 3758, 0x33d59966
+0, 62, 62, 1, 3674, 0x54f37902
+0, 63, 63, 1, 3615, 0xa0f045fa
+0, 64, 64, 1, 3719, 0x41cf93ff
+0, 65, 65, 1, 3757, 0x3a1b7e8f
+0, 66, 66, 1, 3762, 0xe7f9714d
+0, 67, 67, 1, 3738, 0x8121805b
+0, 68, 68, 1, 3733, 0x13e262db
+0, 69, 69, 1, 38433, 0x3d58c500
+0, 70, 70, 1, 8410, 0xa4f7fd2e
+0, 71, 71, 1, 3711, 0x0e112d3c
+0, 72, 72, 1, 3692, 0xb46574b2
+0, 73, 73, 1, 3563, 0xad43343d
+0, 74, 74, 1, 3613, 0x5cd85c4f
+0, 75, 75, 1, 3653, 0xe15a2853
+0, 76, 76, 1, 3684, 0x9ddd58cb
+0, 77, 77, 1, 3256, 0xd7f89f2e
+0, 78, 78, 1, 3698, 0x2b82624a
+0, 79, 79, 1, 39520, 0xd3f2b7c5
+0, 80, 80, 1, 8493, 0x163559be
+0, 81, 81, 1, 3719, 0x6fa0916f
+0, 82, 82, 1, 3655, 0xa9233de1
+0, 83, 83, 1, 3684, 0xa6125737
+0, 84, 84, 1, 3688, 0xa9da6686
+0, 85, 85, 1, 3685, 0x674d634e
+0, 86, 86, 1, 3677, 0x7a85535d
+0, 87, 87, 1, 3666, 0xce3600a2
+0, 88, 88, 1, 3837, 0x3a7090e1
+0, 89, 89, 1, 38696, 0x12c59cd2
+0, 90, 90, 1, 8022, 0xd343433f
+0, 91, 91, 1, 5157, 0x440c14e5
+0, 92, 92, 1, 5003, 0xf8e1daff
+0, 93, 93, 1, 4954, 0x89866344
+0, 94, 94, 1, 53664, 0xeb0c4c42
diff --git a/tests/ref/fate/nc-demux b/tests/ref/fate/nc-demux
index 1d00f8e24c..8a3c2116cc 100644
--- a/tests/ref/fate/nc-demux
+++ b/tests/ref/fate/nc-demux
@@ -1,92 +1,92 @@
#tb 0: 1/100
-0, 0, -9223372036854775808, 1, 19787, 0x75e463f3
-0, 1, -9223372036854775808, 1, 11913, 0x0f429c34
-0, 2, -9223372036854775808, 1, 14225, 0xbd3c704c
-0, 3, -9223372036854775808, 1, 10357, 0xbf232393
-0, 4, -9223372036854775808, 1, 9595, 0xf565d39e
-0, 5, -9223372036854775808, 1, 9262, 0x2afd6ce0
-0, 6, -9223372036854775808, 1, 12214, 0x6ae81d9b
-0, 7, -9223372036854775808, 1, 13920, 0x31b5b307
-0, 8, -9223372036854775808, 1, 10164, 0x141eca4e
-0, 9, -9223372036854775808, 1, 9516, 0xd5f2c42b
-0, 10, -9223372036854775808, 1, 10006, 0x80850a76
-0, 11, -9223372036854775808, 1, 11791, 0x10bc2dcd
-0, 12, -9223372036854775808, 1, 13756, 0xda1fee08
-0, 13, -9223372036854775808, 1, 10452, 0xbb3d62b0
-0, 14, -9223372036854775808, 1, 9171, 0x64ae10f6
-0, 15, -9223372036854775808, 1, 8816, 0x31ad8fcb
-0, 16, -9223372036854775808, 1, 13168, 0xea1085ac
-0, 17, -9223372036854775808, 1, 12797, 0x25143d22
-0, 18, -9223372036854775808, 1, 11324, 0x3a54b38e
-0, 19, -9223372036854775808, 1, 9173, 0x8b2bf552
-0, 20, -9223372036854775808, 1, 9247, 0x2e87226b
-0, 21, -9223372036854775808, 1, 14140, 0x1063786c
-0, 22, -9223372036854775808, 1, 14437, 0xde123a17
-0, 23, -9223372036854775808, 1, 11938, 0x3f1168f4
-0, 24, -9223372036854775808, 1, 11966, 0xdd6786ec
-0, 25, -9223372036854775808, 1, 13213, 0x8ab27c58
-0, 26, -9223372036854775808, 1, 11843, 0x90415d8b
-0, 27, -9223372036854775808, 1, 13345, 0x3c0e1793
-0, 28, -9223372036854775808, 1, 9977, 0x74fc7f4b
-0, 29, -9223372036854775808, 1, 9158, 0x0b5426a5
-0, 30, -9223372036854775808, 1, 12715, 0x0035d569
-0, 31, -9223372036854775808, 1, 19944, 0xe2887ba8
-0, 32, -9223372036854775808, 1, 12762, 0xb0f17939
-0, 33, -9223372036854775808, 1, 10260, 0x182b27aa
-0, 34, -9223372036854775808, 1, 7405, 0x227fe9bf
-0, 35, -9223372036854775808, 1, 13317, 0x1a678c62
-0, 36, -9223372036854775808, 1, 11304, 0x3277af6d
-0, 37, -9223372036854775808, 1, 13291, 0xe267616a
-0, 38, -9223372036854775808, 1, 8975, 0xe7eeacea
-0, 39, -9223372036854775808, 1, 8473, 0x8bb1cbff
-0, 40, -9223372036854775808, 1, 13878, 0xfd3d55bb
-0, 41, -9223372036854775808, 1, 11278, 0x61c7c55e
-0, 42, -9223372036854775808, 1, 13785, 0x2acbf88f
-0, 43, -9223372036854775808, 1, 9521, 0x99e2d065
-0, 44, -9223372036854775808, 1, 9340, 0xe5c96510
-0, 45, -9223372036854775808, 1, 12777, 0x4c3c7844
-0, 46, -9223372036854775808, 1, 10685, 0x39e0f42e
-0, 47, -9223372036854775808, 1, 14237, 0x9398d07f
-0, 48, -9223372036854775808, 1, 9021, 0x3343c7ec
-0, 49, -9223372036854775808, 1, 9327, 0xad489e86
-0, 50, -9223372036854775808, 1, 13507, 0xb1344f1c
-0, 51, -9223372036854775808, 1, 10199, 0x9a8868bf
-0, 52, -9223372036854775808, 1, 14535, 0xddb13f41
-0, 53, -9223372036854775808, 1, 8773, 0x3d8b6a79
-0, 54, -9223372036854775808, 1, 16084, 0x5d915de4
-0, 55, -9223372036854775808, 1, 9156, 0x5cb08a6a
-0, 56, -9223372036854775808, 1, 15027, 0xc23b1dc8
-0, 57, -9223372036854775808, 1, 8240, 0xd6d3526c
-0, 58, -9223372036854775808, 1, 8720, 0x439c43bf
-0, 59, -9223372036854775808, 1, 13684, 0x18fc82f0
-0, 60, -9223372036854775808, 1, 8829, 0xa3ebeb30
-0, 61, -9223372036854775808, 1, 14650, 0x99e8678c
-0, 62, -9223372036854775808, 1, 19626, 0x80a7ee5c
-0, 63, -9223372036854775808, 1, 7762, 0x7c209a12
-0, 64, -9223372036854775808, 1, 13636, 0xc89c1aa3
-0, 65, -9223372036854775808, 1, 8337, 0x749bf76a
-0, 66, -9223372036854775808, 1, 15098, 0xc98bc6dc
-0, 67, -9223372036854775808, 1, 9070, 0xcd4cf7f1
-0, 68, -9223372036854775808, 1, 8269, 0x90e95d54
-0, 69, -9223372036854775808, 1, 12672, 0x034888d0
-0, 70, -9223372036854775808, 1, 7519, 0x6c089672
-0, 71, -9223372036854775808, 1, 14439, 0x5d2478b9
-0, 72, -9223372036854775808, 1, 6928, 0x98fbaa67
-0, 73, -9223372036854775808, 1, 8735, 0x07643f1e
-0, 74, -9223372036854775808, 1, 13522, 0x55034cdb
-0, 75, -9223372036854775808, 1, 7807, 0xf5983103
-0, 76, -9223372036854775808, 1, 14484, 0xfc9cf260
-0, 77, -9223372036854775808, 1, 7193, 0x170a0fa1
-0, 78, -9223372036854775808, 1, 9444, 0x6f9be36f
-0, 79, -9223372036854775808, 1, 12598, 0x69b7609d
-0, 80, -9223372036854775808, 1, 7650, 0x1abaec9e
-0, 81, -9223372036854775808, 1, 15162, 0x2a87f723
-0, 82, -9223372036854775808, 1, 7752, 0xcca248aa
-0, 83, -9223372036854775808, 1, 9085, 0x1ca7d7e5
-0, 84, -9223372036854775808, 1, 13187, 0xababcc64
-0, 85, -9223372036854775808, 1, 7968, 0x64a28f46
-0, 86, -9223372036854775808, 1, 15474, 0xf34c587c
-0, 87, -9223372036854775808, 1, 8615, 0x61301034
-0, 88, -9223372036854775808, 1, 14129, 0x42c88bea
-0, 89, -9223372036854775808, 1, 7223, 0x675d7500
-0, 90, -9223372036854775808, 1, 3072, 0x4cb6254c
+0, 0, 0, 1, 19787, 0x75e463f3
+0, 1, 1, 1, 11913, 0x0f429c34
+0, 2, 2, 1, 14225, 0xbd3c704c
+0, 3, 3, 1, 10357, 0xbf232393
+0, 4, 4, 1, 9595, 0xf565d39e
+0, 5, 5, 1, 9262, 0x2afd6ce0
+0, 6, 6, 1, 12214, 0x6ae81d9b
+0, 7, 7, 1, 13920, 0x31b5b307
+0, 8, 8, 1, 10164, 0x141eca4e
+0, 9, 9, 1, 9516, 0xd5f2c42b
+0, 10, 10, 1, 10006, 0x80850a76
+0, 11, 11, 1, 11791, 0x10bc2dcd
+0, 12, 12, 1, 13756, 0xda1fee08
+0, 13, 13, 1, 10452, 0xbb3d62b0
+0, 14, 14, 1, 9171, 0x64ae10f6
+0, 15, 15, 1, 8816, 0x31ad8fcb
+0, 16, 16, 1, 13168, 0xea1085ac
+0, 17, 17, 1, 12797, 0x25143d22
+0, 18, 18, 1, 11324, 0x3a54b38e
+0, 19, 19, 1, 9173, 0x8b2bf552
+0, 20, 20, 1, 9247, 0x2e87226b
+0, 21, 21, 1, 14140, 0x1063786c
+0, 22, 22, 1, 14437, 0xde123a17
+0, 23, 23, 1, 11938, 0x3f1168f4
+0, 24, 24, 1, 11966, 0xdd6786ec
+0, 25, 25, 1, 13213, 0x8ab27c58
+0, 26, 26, 1, 11843, 0x90415d8b
+0, 27, 27, 1, 13345, 0x3c0e1793
+0, 28, 28, 1, 9977, 0x74fc7f4b
+0, 29, 29, 1, 9158, 0x0b5426a5
+0, 30, 30, 1, 12715, 0x0035d569
+0, 31, 31, 1, 19944, 0xe2887ba8
+0, 32, 32, 1, 12762, 0xb0f17939
+0, 33, 33, 1, 10260, 0x182b27aa
+0, 34, 34, 1, 7405, 0x227fe9bf
+0, 35, 35, 1, 13317, 0x1a678c62
+0, 36, 36, 1, 11304, 0x3277af6d
+0, 37, 37, 1, 13291, 0xe267616a
+0, 38, 38, 1, 8975, 0xe7eeacea
+0, 39, 39, 1, 8473, 0x8bb1cbff
+0, 40, 40, 1, 13878, 0xfd3d55bb
+0, 41, 41, 1, 11278, 0x61c7c55e
+0, 42, 42, 1, 13785, 0x2acbf88f
+0, 43, 43, 1, 9521, 0x99e2d065
+0, 44, 44, 1, 9340, 0xe5c96510
+0, 45, 45, 1, 12777, 0x4c3c7844
+0, 46, 46, 1, 10685, 0x39e0f42e
+0, 47, 47, 1, 14237, 0x9398d07f
+0, 48, 48, 1, 9021, 0x3343c7ec
+0, 49, 49, 1, 9327, 0xad489e86
+0, 50, 50, 1, 13507, 0xb1344f1c
+0, 51, 51, 1, 10199, 0x9a8868bf
+0, 52, 52, 1, 14535, 0xddb13f41
+0, 53, 53, 1, 8773, 0x3d8b6a79
+0, 54, 54, 1, 16084, 0x5d915de4
+0, 55, 55, 1, 9156, 0x5cb08a6a
+0, 56, 56, 1, 15027, 0xc23b1dc8
+0, 57, 57, 1, 8240, 0xd6d3526c
+0, 58, 58, 1, 8720, 0x439c43bf
+0, 59, 59, 1, 13684, 0x18fc82f0
+0, 60, 60, 1, 8829, 0xa3ebeb30
+0, 61, 61, 1, 14650, 0x99e8678c
+0, 62, 62, 1, 19626, 0x80a7ee5c
+0, 63, 63, 1, 7762, 0x7c209a12
+0, 64, 64, 1, 13636, 0xc89c1aa3
+0, 65, 65, 1, 8337, 0x749bf76a
+0, 66, 66, 1, 15098, 0xc98bc6dc
+0, 67, 67, 1, 9070, 0xcd4cf7f1
+0, 68, 68, 1, 8269, 0x90e95d54
+0, 69, 69, 1, 12672, 0x034888d0
+0, 70, 70, 1, 7519, 0x6c089672
+0, 71, 71, 1, 14439, 0x5d2478b9
+0, 72, 72, 1, 6928, 0x98fbaa67
+0, 73, 73, 1, 8735, 0x07643f1e
+0, 74, 74, 1, 13522, 0x55034cdb
+0, 75, 75, 1, 7807, 0xf5983103
+0, 76, 76, 1, 14484, 0xfc9cf260
+0, 77, 77, 1, 7193, 0x170a0fa1
+0, 78, 78, 1, 9444, 0x6f9be36f
+0, 79, 79, 1, 12598, 0x69b7609d
+0, 80, 80, 1, 7650, 0x1abaec9e
+0, 81, 81, 1, 15162, 0x2a87f723
+0, 82, 82, 1, 7752, 0xcca248aa
+0, 83, 83, 1, 9085, 0x1ca7d7e5
+0, 84, 84, 1, 13187, 0xababcc64
+0, 85, 85, 1, 7968, 0x64a28f46
+0, 86, 86, 1, 15474, 0xf34c587c
+0, 87, 87, 1, 8615, 0x61301034
+0, 88, 88, 1, 14129, 0x42c88bea
+0, 89, 89, 1, 7223, 0x675d7500
+0, 90, 90, 1, 3072, 0x4cb6254c
diff --git a/tests/ref/fate/wtv-demux b/tests/ref/fate/wtv-demux
index bdd6c20b42..ae44958005 100644
--- a/tests/ref/fate/wtv-demux
+++ b/tests/ref/fate/wtv-demux
@@ -59,83 +59,83 @@
0, 11486331, 11486331, 400000, 6156, 0xe168394b
1, 11519998, 11519998, 240000, 576, 0x1fea1448
1, 11759998, 11759998, 240000, 576, 0x55840a01
-0, 11886331, 13086442, 449438, 23364, 0x53164f1e
+0, 11886331, 13086442, 400000, 23364, 0x53164f1e
1, 11999998, 11999998, 240000, 576, 0x6c9c24ce
1, 12239998, 12239998, 240000, 576, 0x955f1e97
-0, 12286442, 12286442, 449438, 6708, 0x89877269
+0, 12286442, 12286442, 400000, 6708, 0x89877269
1, 12479998, 12479998, 240000, 576, 0x2827134f
-0, 12686442, 12686442, 449438, 6908, 0x8d62a249
+0, 12686442, 12686442, 400000, 6908, 0x8d62a249
1, 12719998, 12719998, 240000, 576, 0x34a01c29
1, 12959998, 12959998, 240000, 576, 0x7d351e52
-0, 13086442, 14286442, 449438, 38156, 0xec41f682
+0, 13086442, 14286442, 400000, 38156, 0xec41f682
1, 13199998, 13199998, 240000, 576, 0x00c91d9e
1, 13439998, 13439998, 240000, 576, 0x57ea1a97
-0, 13486331, 13486331, 449438, 5764, 0xcc04534b
+0, 13486331, 13486331, 400000, 5764, 0xcc04534b
1, 13679998, 13679998, 240000, 576, 0xef3a1c74
-0, 13886331, 13886331, 449438, 5388, 0xb8a1c3c5
+0, 13886331, 13886331, 400000, 5388, 0xb8a1c3c5
1, 13919998, 13919998, 240000, 576, 0x11fc217d
1, 14159998, 14159998, 240000, 576, 0x59ce20e5
-0, 14286442, 15486331, 449438, 16764, 0x59460d96
+0, 14286442, 15486331, 400000, 16764, 0x59460d96
1, 14399998, 14399998, 240000, 576, 0xaafc1dbf
1, 14639998, 14639998, 240000, 576, 0xdd941609
-0, 14686331, 14686331, 449438, 5548, 0x5c91e93d
+0, 14686331, 14686331, 400000, 5548, 0x5c91e93d
1, 14879998, 14879998, 240000, 576, 0x900420b0
-0, 15086331, 15086331, 449438, 5652, 0x5e321aed
+0, 15086331, 15086331, 400000, 5652, 0x5e321aed
1, 15119998, 15119998, 240000, 576, 0x5f4f1aa1
1, 15359998, 15359998, 240000, 576, 0x7d7e18de
-0, 15486331, 16686331, 449438, 15564, 0xefdf5080
+0, 15486331, 16686331, 400000, 15564, 0xefdf5080
1, 15599998, 15599998, 240000, 576, 0x986c0d9d
1, 15839998, 15839998, 240000, 576, 0xcb4c21c0
-0, 15886331, 15886331, 449438, 6492, 0xd1d5c5f8
+0, 15886331, 15886331, 400000, 6492, 0xd1d5c5f8
1, 16079998, 16079998, 240000, 576, 0xbcfb1e8b
-0, 16286331, 16286331, 449438, 5604, 0xf9472b44
+0, 16286331, 16286331, 400000, 5604, 0xf9472b44
1, 16319998, 16319998, 240000, 576, 0xcb541b4c
1, 16559998, 16559998, 240000, 576, 0x980426e9
-0, 16686331, 17886331, 449438, 17924, 0x45815b7b
+0, 16686331, 17886331, 400000, 17924, 0x45815b7b
1, 16799998, 16799998, 240000, 576, 0x09d00aa0
1, 17039998, 17039998, 240000, 576, 0xad591374
-0, 17086442, 17086442, 449438, 5020, 0x3cc5e554
+0, 17086442, 17086442, 400000, 5020, 0x3cc5e554
1, 17279998, 17279998, 240000, 576, 0x97bf1461
-0, 17486442, 17486442, 449438, 5276, 0xa0554c12
+0, 17486442, 17486442, 400000, 5276, 0xa0554c12
1, 17519998, 17519998, 240000, 576, 0xdc871cc4
1, 17759998, 17759998, 240000, 576, 0x56781896
-0, 17886331, 19086442, 449438, 31460, 0x5765eb5f
+0, 17886331, 19086442, 400000, 31460, 0x5765eb5f
1, 17999998, 17999998, 240000, 576, 0xc77714e3
1, 18239998, 18239998, 240000, 576, 0x280e18d4
-0, 18286331, 18286331, 449438, 4972, 0x91adbab7
+0, 18286331, 18286331, 400000, 4972, 0x91adbab7
1, 18479998, 18479998, 240000, 576, 0xbc0d2302
-0, 18686442, 18686442, 449438, 5580, 0xfea707cb
+0, 18686442, 18686442, 400000, 5580, 0xfea707cb
1, 18719998, 18719998, 240000, 576, 0x79191384
1, 18959998, 18959998, 240000, 576, 0x65481c97
-0, 19086442, 20286331, 449438, 17412, 0x0afe4d27
+0, 19086442, 20286331, 400000, 17412, 0x0afe4d27
1, 19199998, 19199998, 240000, 576, 0xc94d227d
1, 19439998, 19439998, 240000, 576, 0xa68a1f14
-0, 19486442, 19486442, 449438, 5236, 0x03f55309
+0, 19486442, 19486442, 400000, 5236, 0x03f55309
1, 19679998, 19679998, 240000, 576, 0x6af11a5c
-0, 19886331, 19886331, 449438, 4924, 0x558e753c
+0, 19886331, 19886331, 400000, 4924, 0x558e753c
1, 19919998, 19919998, 240000, 576, 0x4d1019ef
1, 20159998, 20159998, 240000, 576, 0x3b1b17b5
-0, 20286331, 21486331, 449438, 15396, 0xf145d121
+0, 20286331, 21486331, 400000, 15396, 0xf145d121
1, 20399998, 20399998, 240000, 576, 0xcdd8159f
1, 20639998, 20639998, 240000, 576, 0x97cd1d06
-0, 20686331, 20686331, 449438, 4708, 0x43066a92
+0, 20686331, 20686331, 400000, 4708, 0x43066a92
1, 20879998, 20879998, 240000, 576, 0x5d1b1123
-0, 21086442, 21086442, 449438, 4332, 0x9e22bcba
+0, 21086442, 21086442, 400000, 4332, 0x9e22bcba
1, 21119998, 21119998, 240000, 576, 0x888d0cb0
1, 21359998, 21359998, 240000, 576, 0x556e1dad
-0, 21486331, 22686442, 449438, 12876, 0x46ff9ef4
+0, 21486331, 22686442, 400000, 12876, 0x46ff9ef4
1, 21599998, 21599998, 240000, 576, 0xf7af0bce
1, 21839998, 21839998, 240000, 576, 0xb5da160a
-0, 21886442, 21886442, 449438, 5940, 0x27cba62e
+0, 21886442, 21886442, 400000, 5940, 0x27cba62e
1, 22079998, 22079998, 240000, 576, 0x4a8d0e98
-0, 22286442, 22286442, 449438, 6124, 0x6bab0a6d
+0, 22286442, 22286442, 400000, 6124, 0x6bab0a6d
1, 22319998, 22319998, 240000, 576, 0x183b1c7e
1, 22559998, 22559998, 240000, 576, 0xc47120e6
-0, 22686442, 23886442, 449438, 36428, 0x942f9648
+0, 22686442, 23886442, 400000, 36428, 0x942f9648
1, 22799998, 22799998, 240000, 576, 0xb1f31346
-0, 23086331, 23086331, 449438, 6660, 0x545a0db7
-0, 23486331, 23486331, 449438, 6780, 0x2d1d4189
-0, 23886442, 25086331, 449438, 16460, 0x7c3b3ca4
-0, 24286442, 24286442, 449438, 6724, 0x8538cc6f
-0, 24686442, 24686442, 449438, 7068, 0x69574fd0
-0, 25086331, 26286331, 449438, 19552, 0xf230e854
+0, 23086331, 23086331, 400000, 6660, 0x545a0db7
+0, 23486331, 23486331, 400000, 6780, 0x2d1d4189
+0, 23886442, 25086331, 400000, 16460, 0x7c3b3ca4
+0, 24286442, 24286442, 400000, 6724, 0x8538cc6f
+0, 24686442, 24686442, 400000, 7068, 0x69574fd0
+0, 25086331, 26286331, 400000, 19552, 0xf230e854
diff --git a/tests/ref/lavf/flv_fmt b/tests/ref/lavf/flv_fmt
index 019204d16a..3414d1314c 100644
--- a/tests/ref/lavf/flv_fmt
+++ b/tests/ref/lavf/flv_fmt
@@ -1,3 +1,3 @@
-822735e9d25b3eb22529f444a71840c3 *./tests/data/lavf/lavf.flv
+689e8e53031a2c0793fb5b99fc6f1024 *./tests/data/lavf/lavf.flv
329521 ./tests/data/lavf/lavf.flv
./tests/data/lavf/lavf.flv CRC=0x881785d1
diff --git a/tests/ref/vsynth/vsynth1-flashsv b/tests/ref/vsynth/vsynth1-flashsv
index a4f22ce0a4..d9bad3e19e 100644
--- a/tests/ref/vsynth/vsynth1-flashsv
+++ b/tests/ref/vsynth/vsynth1-flashsv
@@ -1,4 +1,4 @@
-6675942f5cd6978f16eff5305578de27 *tests/data/fate/vsynth1-flashsv.flv
+d0ac97a2bbf78fc02718934b70d12e70 *tests/data/fate/vsynth1-flashsv.flv
14681905 tests/data/fate/vsynth1-flashsv.flv
947cb24ec45a453348ae6fe3fa278071 *tests/data/fate/vsynth1-flashsv.out.rawvideo
stddev: 2.85 PSNR: 39.03 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth1-flv b/tests/ref/vsynth/vsynth1-flv
index a92658b13d..2aaa32cbf9 100644
--- a/tests/ref/vsynth/vsynth1-flv
+++ b/tests/ref/vsynth/vsynth1-flv
@@ -1,4 +1,4 @@
-202e8b9715f278497eb13476fc9abdac *tests/data/fate/vsynth1-flv.flv
+87b9e73ada2a512ffd5abec51695e44d *tests/data/fate/vsynth1-flv.flv
636249 tests/data/fate/vsynth1-flv.flv
5ab46d8dd01dbb1d63df2a84858a4b05 *tests/data/fate/vsynth1-flv.out.rawvideo
stddev: 8.02 PSNR: 30.04 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-flashsv b/tests/ref/vsynth/vsynth2-flashsv
index de7446bb5e..75e5d8f917 100644
--- a/tests/ref/vsynth/vsynth2-flashsv
+++ b/tests/ref/vsynth/vsynth2-flashsv
@@ -1,4 +1,4 @@
-52701f9112732b42aa425129265ef499 *tests/data/fate/vsynth2-flashsv.flv
+9980ac31d9312c38e23883063c2cc269 *tests/data/fate/vsynth2-flashsv.flv
11636526 tests/data/fate/vsynth2-flashsv.flv
eed2322f11b95fc7abe5356306f00d97 *tests/data/fate/vsynth2-flashsv.out.rawvideo
stddev: 1.21 PSNR: 46.42 MAXDIFF: 20 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-flv b/tests/ref/vsynth/vsynth2-flv
index 818b1110b9..343ce42c5e 100644
--- a/tests/ref/vsynth/vsynth2-flv
+++ b/tests/ref/vsynth/vsynth2-flv
@@ -1,4 +1,4 @@
-1be21ea941eb8b5ef5ecde9cac40ada0 *tests/data/fate/vsynth2-flv.flv
+6336a28db20719d12dfd3a8a6950d0fc *tests/data/fate/vsynth2-flv.flv
174657 tests/data/fate/vsynth2-flv.flv
c6e9b6c165558d052541309e48b5f551 *tests/data/fate/vsynth2-flv.out.rawvideo
stddev: 6.02 PSNR: 32.53 MAXDIFF: 83 bytes: 7603200/ 7603200