1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/tests/ref/fate/spdif-aac-remux

94 lines
5.1 KiB
Plaintext
Raw Normal View History

fate/spdif: Add spdif tests These tests test both the demuxer as well as the muxer wherever possible. It is not always possible due to the fact that the muxer supports more codecs than the demuxer. The spdif demuxer does currently not set the need_parsing flag. If one were to set this to AVSTREAM_PARSE_FULL, the test results would change as follows: - For spdif-aac-remux, the packets are currently padded to 16bits, i.e. if the actual packet size is odd, there is a padding byte. The parser splits this byte away into a one byte packet of its own. Insanely, these one byte packets get the same duration as normal packets, i.e. timing is ruined. - The DCA-remux tests get proper duration/timestamps. - In the spdif-mp2-remux test the demuxer marks the stream as being MP2; the parser sets it to MP3 and this triggers the "Codec change in IEC 61937" codepath; this test therefore returns only two packets with the parser. - For spdif-mp3-remux some bytes end up in different packets: Some input packets of this file have an odd length (417B instead of 418B like all the other packets) and are padded to 418B. Without a parser, all returned packets from the spdif-demuxer are 418B. With a parser, the packets that were originally 417B are 417B again, but the padding byte has not been discarded, but added to the next packet which is now 419B. This fixes "Multiple frames in a packet" warning and avoids an "Invalid data found when processing input" error when decoding. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-09-11 18:34:47 +02:00
1a324961354902555e25d30f67300f51 *tests/data/fate/spdif-aac-remux.spdif
352256 tests/data/fate/spdif-aac-remux.spdif
#tb 0: 1/90000
#media_type 0: audio
#codec_id 0: aac
#sample_rate 0: 44100
#channel_layout_name 0: stereo
0, 0, 0, 2089, 378, 0x5ebf1e99
0, 2089, 2089, 2089, 410, 0x9a9cc8b5
0, 4179, 4179, 2089, 410, 0xf2ffc522
0, 6268, 6268, 2089, 404, 0x4a1dc5a1
0, 8358, 8358, 2089, 412, 0x38c5cd55
0, 10448, 10448, 2089, 440, 0x363fdb80
0, 12538, 12538, 2089, 376, 0x269ec08b
0, 14628, 14628, 2089, 378, 0xd627be91
0, 16717, 16717, 2089, 434, 0x7f68d7ba
0, 18807, 18807, 2089, 354, 0x52b5b11f
0, 20897, 20897, 2089, 368, 0x4458a8c2
0, 22987, 22987, 2089, 378, 0x789ab43a
0, 25077, 25077, 2089, 378, 0x476ec1f4
0, 27166, 27166, 2089, 366, 0xe13fb37a
0, 29256, 29256, 2089, 370, 0x3772b685
0, 31346, 31346, 2089, 366, 0x54bbb52b
0, 33436, 33436, 2089, 380, 0x28a9bc19
0, 35526, 35526, 2089, 496, 0x761efc09
0, 37615, 37615, 2089, 354, 0xb524bb1f
0, 39705, 39705, 2089, 348, 0xcef9b075
0, 41795, 41795, 2089, 360, 0x5a50bc48
0, 43885, 43885, 2089, 362, 0xb454b67c
0, 45975, 45975, 2089, 362, 0x2502aab4
0, 48064, 48064, 2089, 378, 0x9336b10f
0, 50154, 50154, 2089, 376, 0x2dcbb1e6
0, 52244, 52244, 2089, 370, 0x8064ac7f
0, 54334, 54334, 2089, 368, 0x300ebac3
0, 56424, 56424, 2089, 372, 0x88ccba7c
0, 58513, 58513, 2089, 370, 0x1ad6b67b
0, 60603, 60603, 2089, 374, 0x1969bafe
0, 62693, 62693, 2089, 378, 0x1d55b287
0, 64783, 64783, 2089, 370, 0xffc7b1e0
0, 66873, 66873, 2089, 392, 0x1ab2c1af
0, 68962, 68962, 2089, 382, 0xc98bbd75
0, 71052, 71052, 2089, 394, 0xbf2ac43b
0, 73142, 73142, 2089, 370, 0xcd31bbef
0, 75232, 75232, 2089, 394, 0x579eca77
0, 77322, 77322, 2089, 386, 0xdeebc55a
0, 79411, 79411, 2089, 384, 0xc125c2b8
0, 81501, 81501, 2089, 366, 0x0ce6bf87
0, 83591, 83591, 2089, 380, 0x202fbd37
0, 85681, 85681, 2089, 454, 0x6997e64d
0, 87771, 87771, 2089, 356, 0x41f9b837
0, 89860, 89860, 2089, 362, 0x3f9bb026
0, 91950, 91950, 2089, 368, 0xe511af25
0, 94040, 94040, 2089, 418, 0x42f7d1d5
0, 96130, 96130, 2089, 410, 0x657dd072
0, 98220, 98220, 2089, 490, 0x1476f7f6
0, 100309, 100309, 2089, 350, 0x44fbb45f
0, 102399, 102399, 2089, 350, 0xfd52aef1
0, 104489, 104489, 2089, 350, 0xd354aa2f
0, 106579, 106579, 2089, 352, 0xbaaaad58
0, 108668, 108668, 2089, 354, 0x591baa8c
0, 110758, 110758, 2089, 362, 0xf053b0e1
0, 112848, 112848, 2089, 376, 0x8fafbbf8
0, 114938, 114938, 2089, 444, 0xde95eef0
0, 117028, 117028, 2089, 342, 0x5869a95e
0, 119117, 119117, 2089, 402, 0x6d2eca68
0, 121207, 121207, 2089, 380, 0xe1c1b4ee
0, 123297, 123297, 2089, 358, 0x3807ad6f
0, 125387, 125387, 2089, 350, 0xaa47aa0f
0, 127477, 127477, 2089, 358, 0xf8dbabbf
0, 129566, 129566, 2089, 368, 0x701fae8c
0, 131656, 131656, 2089, 368, 0x60c1b34e
0, 133746, 133746, 2089, 392, 0x749ac181
0, 135836, 135836, 2089, 478, 0xce58f5ab
0, 137926, 137926, 2089, 346, 0x5767a88b
0, 140015, 140015, 2089, 362, 0x7998b479
0, 142105, 142105, 2089, 356, 0x300bb3eb
0, 144195, 144195, 2089, 362, 0xa783b13f
0, 146285, 146285, 2089, 356, 0x8ce5b0bd
0, 148375, 148375, 2089, 402, 0x684fc5d8
0, 150464, 150464, 2089, 434, 0x83d8e111
0, 152554, 152554, 2089, 352, 0x5e3ab34f
0, 154644, 154644, 2089, 364, 0xa2a5ab60
0, 156734, 156734, 2089, 380, 0x0c90bbfd
0, 158824, 158824, 2089, 378, 0x1ee7bf81
0, 160913, 160913, 2089, 378, 0xb3d1b08e
0, 163003, 163003, 2089, 372, 0x7480b657
0, 165093, 165093, 2089, 376, 0x9e31bfd0
0, 167183, 167183, 2089, 424, 0x963bdd40
0, 169273, 169273, 2089, 468, 0x6016f010
0, 171362, 171362, 2089, 472, 0x69c4e4c5
0, 173452, 173452, 2089, 334, 0x2354ab0b
0, 175542, 175542, 2089, 346, 0xe85bab65
0, 177632, 177632, 2089, 266, 0x93bb7efa