fate/matroska: Add ALAC remux test
Provides coverage for the code transforming the ALAC extradata. Also set creation_time metadata to test this, too. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
		
							parent
							
								
									fd8a395cd7
								
							
						
					
					
						commit
						11623f36a8
					
				@ -31,6 +31,12 @@ fate-matroska-zlib-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/subtit
 | 
				
			|||||||
FATE_MATROSKA-$(CONFIG_MATROSKA_DEMUXER) += fate-matroska-lzo-decompression
 | 
					FATE_MATROSKA-$(CONFIG_MATROSKA_DEMUXER) += fate-matroska-lzo-decompression
 | 
				
			||||||
fate-matroska-lzo-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/lzo.mka -c copy
 | 
					fate-matroska-lzo-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/lzo.mka -c copy
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# This tests that the ALAC extradata is correctly transformed upon remuxing.
 | 
				
			||||||
 | 
					# It also tests setting the AV_DISPOSITION_COMMENT disposition as well as
 | 
				
			||||||
 | 
					# writing creation_time metadata.
 | 
				
			||||||
 | 
					FATE_MATROSKA_FFMPEG_FFPROBE-$(call REMUX, MATROSKA) += fate-matroska-alac-remux
 | 
				
			||||||
 | 
					fate-matroska-alac-remux: CMD = transcode mov $(TARGET_SAMPLES)/lossless-audio/inside.m4a matroska "-map 0:a -c copy -metadata creation_time=2009-01-25T16:08:26.000000Z -disposition +comment" "-c copy" "-show_entries format_tags:stream_disposition"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This tests that the matroska demuxer correctly propagates
 | 
					# This tests that the matroska demuxer correctly propagates
 | 
				
			||||||
# the channel layout contained in vorbis comments in the CodecPrivate
 | 
					# the channel layout contained in vorbis comments in the CodecPrivate
 | 
				
			||||||
# of flac tracks. It also tests header removal compression.
 | 
					# of flac tracks. It also tests header removal compression.
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										173
									
								
								tests/ref/fate/matroska-alac-remux
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										173
									
								
								tests/ref/fate/matroska-alac-remux
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,173 @@
 | 
				
			|||||||
 | 
					786eb91ba6185c7c42522751cadef331 *tests/data/fate/matroska-alac-remux.matroska
 | 
				
			||||||
 | 
					1293836 tests/data/fate/matroska-alac-remux.matroska
 | 
				
			||||||
 | 
					#extradata 0:       36, 0x562b05d8
 | 
				
			||||||
 | 
					#tb 0: 1/1000
 | 
				
			||||||
 | 
					#media_type 0: audio
 | 
				
			||||||
 | 
					#codec_id 0: alac
 | 
				
			||||||
 | 
					#sample_rate 0: 44100
 | 
				
			||||||
 | 
					#channel_layout_name 0: stereo
 | 
				
			||||||
 | 
					0,          0,          0,        0,       32, 0xa0af0dfe
 | 
				
			||||||
 | 
					0,         93,         93,        0,     6701, 0xa9ddc14e
 | 
				
			||||||
 | 
					0,        186,        186,        0,     6639, 0x3ccda8d6
 | 
				
			||||||
 | 
					0,        279,        279,        0,     5722, 0x99a8cdbb
 | 
				
			||||||
 | 
					0,        372,        372,        0,     5442, 0xe94d8bd8
 | 
				
			||||||
 | 
					0,        464,        464,        0,     5211, 0x19d23acb
 | 
				
			||||||
 | 
					0,        557,        557,        0,     4843, 0x5c013b9c
 | 
				
			||||||
 | 
					0,        650,        650,        0,     8351, 0x0df50d26
 | 
				
			||||||
 | 
					0,        743,        743,        0,     5981, 0x1211487e
 | 
				
			||||||
 | 
					0,        836,        836,        0,     5747, 0xec5219c6
 | 
				
			||||||
 | 
					0,        929,        929,        0,     4956, 0x75b07b7a
 | 
				
			||||||
 | 
					0,       1022,       1022,        0,     4856, 0xbd314cc0
 | 
				
			||||||
 | 
					0,       1115,       1115,        0,     4805, 0x8a27192d
 | 
				
			||||||
 | 
					0,       1207,       1207,        0,     7834, 0xafb5d3e8
 | 
				
			||||||
 | 
					0,       1300,       1300,        0,     5535, 0x04f3a427
 | 
				
			||||||
 | 
					0,       1393,       1393,        0,     5389, 0xc6cc2676
 | 
				
			||||||
 | 
					0,       1486,       1486,        0,     6363, 0xad5a3d0f
 | 
				
			||||||
 | 
					0,       1579,       1579,        0,     4526, 0x774aa96a
 | 
				
			||||||
 | 
					0,       1672,       1672,        0,     4514, 0xbf5fc96d
 | 
				
			||||||
 | 
					0,       1765,       1765,        0,     8487, 0x8b737a66
 | 
				
			||||||
 | 
					0,       1858,       1858,        0,     8489, 0x1e913827
 | 
				
			||||||
 | 
					0,       1950,       1950,        0,     7711, 0x97aa8e9b
 | 
				
			||||||
 | 
					0,       2043,       2043,        0,     7686, 0x86038f56
 | 
				
			||||||
 | 
					0,       2136,       2136,        0,     6116, 0x7fc6cd9e
 | 
				
			||||||
 | 
					0,       2229,       2229,        0,     6022, 0xfb21af45
 | 
				
			||||||
 | 
					0,       2322,       2322,        0,     9569, 0xc9804ce4
 | 
				
			||||||
 | 
					0,       2415,       2415,        0,    10587, 0xce263cfd
 | 
				
			||||||
 | 
					0,       2508,       2508,        0,    10659, 0x90ce6886
 | 
				
			||||||
 | 
					0,       2601,       2601,        0,    10446, 0x07054263
 | 
				
			||||||
 | 
					0,       2694,       2694,        0,    10031, 0x566c25a6
 | 
				
			||||||
 | 
					0,       2786,       2786,        0,    10566, 0xfee0240c
 | 
				
			||||||
 | 
					0,       2879,       2879,        0,    11322, 0x12aab358
 | 
				
			||||||
 | 
					0,       2972,       2972,        0,    11834, 0x34c4841a
 | 
				
			||||||
 | 
					0,       3065,       3065,        0,    11508, 0x49acb752
 | 
				
			||||||
 | 
					0,       3158,       3158,        0,    11450, 0xddc7e5bd
 | 
				
			||||||
 | 
					0,       3251,       3251,        0,    11540, 0x80c52fd9
 | 
				
			||||||
 | 
					0,       3344,       3344,        0,    11538, 0xf858f2b8
 | 
				
			||||||
 | 
					0,       3437,       3437,        0,    10981, 0x6b00eed1
 | 
				
			||||||
 | 
					0,       3529,       3529,        0,    11963, 0xe163c9a2
 | 
				
			||||||
 | 
					0,       3622,       3622,        0,    11329, 0x5312d147
 | 
				
			||||||
 | 
					0,       3715,       3715,        0,    10858, 0x8b00c6ee
 | 
				
			||||||
 | 
					0,       3808,       3808,        0,    11911, 0xebfca9ce
 | 
				
			||||||
 | 
					0,       3901,       3901,        0,    11470, 0xf2e40d02
 | 
				
			||||||
 | 
					0,       3994,       3994,        0,    11770, 0x9eb8b578
 | 
				
			||||||
 | 
					0,       4087,       4087,        0,    11920, 0xd52de5cc
 | 
				
			||||||
 | 
					0,       4180,       4180,        0,    11335, 0x1b18b87a
 | 
				
			||||||
 | 
					0,       4272,       4272,        0,    10939, 0x6116ef53
 | 
				
			||||||
 | 
					0,       4365,       4365,        0,    12400, 0xbbcecb8b
 | 
				
			||||||
 | 
					0,       4458,       4458,        0,    11652, 0x82531ac1
 | 
				
			||||||
 | 
					0,       4551,       4551,        0,    11033, 0x09e607c9
 | 
				
			||||||
 | 
					0,       4644,       4644,        0,    10283, 0xfe50b7a9
 | 
				
			||||||
 | 
					0,       4737,       4737,        0,    10104, 0x5a5933e0
 | 
				
			||||||
 | 
					0,       4830,       4830,        0,     9500, 0x69f4256b
 | 
				
			||||||
 | 
					0,       4923,       4923,        0,     9613, 0x00175893
 | 
				
			||||||
 | 
					0,       5016,       5016,        0,     9896, 0xf76adae7
 | 
				
			||||||
 | 
					0,       5108,       5108,        0,     9534, 0x383e2e5b
 | 
				
			||||||
 | 
					0,       5201,       5201,        0,    12217, 0xa39f5168
 | 
				
			||||||
 | 
					0,       5294,       5294,        0,    11105, 0xd30d3c9f
 | 
				
			||||||
 | 
					0,       5387,       5387,        0,    11015, 0x59acdbba
 | 
				
			||||||
 | 
					0,       5480,       5480,        0,    12211, 0xca5d6b4c
 | 
				
			||||||
 | 
					0,       5573,       5573,        0,    11542, 0x479a08fa
 | 
				
			||||||
 | 
					0,       5666,       5666,        0,    10163, 0x8c1c4aa9
 | 
				
			||||||
 | 
					0,       5759,       5759,        0,    11849, 0xaa499f9d
 | 
				
			||||||
 | 
					0,       5851,       5851,        0,    11418, 0x43e0e764
 | 
				
			||||||
 | 
					0,       5944,       5944,        0,    10142, 0x61793ad4
 | 
				
			||||||
 | 
					0,       6037,       6037,        0,    12080, 0x076c025d
 | 
				
			||||||
 | 
					0,       6130,       6130,        0,    11550, 0xc6a9ec36
 | 
				
			||||||
 | 
					0,       6223,       6223,        0,    10951, 0xe77cde41
 | 
				
			||||||
 | 
					0,       6316,       6316,        0,    12367, 0xf2068f79
 | 
				
			||||||
 | 
					0,       6409,       6409,        0,    11328, 0x894c7cd9
 | 
				
			||||||
 | 
					0,       6502,       6502,        0,    10253, 0x7d038e2a
 | 
				
			||||||
 | 
					0,       6594,       6594,        0,    12366, 0x8c789e8c
 | 
				
			||||||
 | 
					0,       6687,       6687,        0,    11727, 0xdb10700c
 | 
				
			||||||
 | 
					0,       6780,       6780,        0,    11118, 0x803e44ab
 | 
				
			||||||
 | 
					0,       6873,       6873,        0,    10722, 0xec1b73da
 | 
				
			||||||
 | 
					0,       6966,       6966,        0,    10471, 0x9d37fd29
 | 
				
			||||||
 | 
					0,       7059,       7059,        0,    10402, 0xa3a1d01f
 | 
				
			||||||
 | 
					0,       7152,       7152,        0,    10223, 0xeb1f72d3
 | 
				
			||||||
 | 
					0,       7245,       7245,        0,    10302, 0x84b89df9
 | 
				
			||||||
 | 
					0,       7338,       7338,        0,    10258, 0x1cbdac7b
 | 
				
			||||||
 | 
					0,       7430,       7430,        0,    11669, 0xdab41e2e
 | 
				
			||||||
 | 
					0,       7523,       7523,        0,    11404, 0x2c3aca64
 | 
				
			||||||
 | 
					0,       7616,       7616,        0,    11256, 0xe08a91d9
 | 
				
			||||||
 | 
					0,       7709,       7709,        0,    11408, 0x6b0ec296
 | 
				
			||||||
 | 
					0,       7802,       7802,        0,    10776, 0x8dc36d7b
 | 
				
			||||||
 | 
					0,       7895,       7895,        0,    11463, 0x4251f294
 | 
				
			||||||
 | 
					0,       7988,       7988,        0,    11510, 0x6e4afda3
 | 
				
			||||||
 | 
					0,       8081,       8081,        0,    11895, 0x699bbbbc
 | 
				
			||||||
 | 
					0,       8173,       8173,        0,    11170, 0xabe65a6d
 | 
				
			||||||
 | 
					0,       8266,       8266,        0,    11229, 0x90096c81
 | 
				
			||||||
 | 
					0,       8359,       8359,        0,    11224, 0x05f170d8
 | 
				
			||||||
 | 
					0,       8452,       8452,        0,    10850, 0xd886c267
 | 
				
			||||||
 | 
					0,       8545,       8545,        0,    11713, 0x20b93e75
 | 
				
			||||||
 | 
					0,       8638,       8638,        0,    11407, 0x435ccc58
 | 
				
			||||||
 | 
					0,       8731,       8731,        0,    11180, 0x70dd503b
 | 
				
			||||||
 | 
					0,       8824,       8824,        0,    11624, 0xb5df34b3
 | 
				
			||||||
 | 
					0,       8916,       8916,        0,    12366, 0x9ddac5b3
 | 
				
			||||||
 | 
					0,       9009,       9009,        0,    11480, 0xd75daf70
 | 
				
			||||||
 | 
					0,       9102,       9102,        0,    11065, 0xc3b60d28
 | 
				
			||||||
 | 
					0,       9195,       9195,        0,    10119, 0x91b7526d
 | 
				
			||||||
 | 
					0,       9288,       9288,        0,     9941, 0xfae5c951
 | 
				
			||||||
 | 
					0,       9381,       9381,        0,     9672, 0x38c250bb
 | 
				
			||||||
 | 
					0,       9474,       9474,        0,     9240, 0x983fb45f
 | 
				
			||||||
 | 
					0,       9567,       9567,        0,     9851, 0xff73b7a3
 | 
				
			||||||
 | 
					0,       9660,       9660,        0,    10460, 0xc4b5f639
 | 
				
			||||||
 | 
					0,       9752,       9752,        0,    11840, 0x0369a045
 | 
				
			||||||
 | 
					0,       9845,       9845,        0,    11213, 0x7e358a78
 | 
				
			||||||
 | 
					0,       9938,       9938,        0,    11099, 0x177e0c20
 | 
				
			||||||
 | 
					0,      10031,      10031,        0,    11615, 0x5f9b41db
 | 
				
			||||||
 | 
					0,      10124,      10124,        0,    11617, 0x35184b25
 | 
				
			||||||
 | 
					0,      10217,      10217,        0,    10117, 0xb5e4857d
 | 
				
			||||||
 | 
					0,      10310,      10310,        0,    11711, 0xf7da3053
 | 
				
			||||||
 | 
					0,      10403,      10403,        0,    11669, 0x05eb475f
 | 
				
			||||||
 | 
					0,      10495,      10495,        0,    11255, 0xe7c3587b
 | 
				
			||||||
 | 
					0,      10588,      10588,        0,    12237, 0x1576764f
 | 
				
			||||||
 | 
					0,      10681,      10681,        0,    11399, 0x9eaea010
 | 
				
			||||||
 | 
					0,      10774,      10774,        0,    10927, 0x9128ed6a
 | 
				
			||||||
 | 
					0,      10867,      10867,        0,    11920, 0x4da7b6e1
 | 
				
			||||||
 | 
					0,      10960,      10960,        0,    11288, 0x8bdf7955
 | 
				
			||||||
 | 
					0,      11053,      11053,        0,    10375, 0x7fc19e5e
 | 
				
			||||||
 | 
					0,      11146,      11146,        0,    12142, 0xb64329cc
 | 
				
			||||||
 | 
					0,      11238,      11238,        0,    11282, 0xaf38984a
 | 
				
			||||||
 | 
					0,      11331,      11331,        0,    10259, 0x2984a344
 | 
				
			||||||
 | 
					0,      11424,      11424,        0,    11569, 0x88a62c58
 | 
				
			||||||
 | 
					0,      11517,      11517,        0,    11688, 0xfe3c4f2b
 | 
				
			||||||
 | 
					0,      11610,      11610,        0,    11428, 0xc776073b
 | 
				
			||||||
 | 
					0,      11703,      11703,        0,    10987, 0x2281046f
 | 
				
			||||||
 | 
					0,      11796,      11796,        0,    11028, 0xfe3426c4
 | 
				
			||||||
 | 
					[STREAM]
 | 
				
			||||||
 | 
					DISPOSITION:default=1
 | 
				
			||||||
 | 
					DISPOSITION:dub=0
 | 
				
			||||||
 | 
					DISPOSITION:original=0
 | 
				
			||||||
 | 
					DISPOSITION:comment=1
 | 
				
			||||||
 | 
					DISPOSITION:lyrics=0
 | 
				
			||||||
 | 
					DISPOSITION:karaoke=0
 | 
				
			||||||
 | 
					DISPOSITION:forced=0
 | 
				
			||||||
 | 
					DISPOSITION:hearing_impaired=0
 | 
				
			||||||
 | 
					DISPOSITION:visual_impaired=0
 | 
				
			||||||
 | 
					DISPOSITION:clean_effects=0
 | 
				
			||||||
 | 
					DISPOSITION:attached_pic=0
 | 
				
			||||||
 | 
					DISPOSITION:timed_thumbnails=0
 | 
				
			||||||
 | 
					DISPOSITION:captions=0
 | 
				
			||||||
 | 
					DISPOSITION:descriptions=0
 | 
				
			||||||
 | 
					DISPOSITION:metadata=0
 | 
				
			||||||
 | 
					DISPOSITION:dependent=0
 | 
				
			||||||
 | 
					DISPOSITION:still_image=0
 | 
				
			||||||
 | 
					[/STREAM]
 | 
				
			||||||
 | 
					[FORMAT]
 | 
				
			||||||
 | 
					TAG:title=Inside
 | 
				
			||||||
 | 
					TAG:encoder=Lavf
 | 
				
			||||||
 | 
					TAG:creation_time=2009-01-25T16:08:26.000000Z
 | 
				
			||||||
 | 
					TAG:MAJOR_BRAND=M4A 
 | 
				
			||||||
 | 
					TAG:MINOR_VERSION=0
 | 
				
			||||||
 | 
					TAG:COMPATIBLE_BRANDS=M4A mp42isom
 | 
				
			||||||
 | 
					TAG:DISC=1
 | 
				
			||||||
 | 
					TAG:COMPILATION=1
 | 
				
			||||||
 | 
					TAG:GAPLESS_PLAYBACK=0
 | 
				
			||||||
 | 
					TAG:ENCODING_PARAMS=vers
 | 
				
			||||||
 | 
					TAG:ITUNNORM= 000004DF 000004C2 00001E64 00001AB3 00000FB9 00000FB9 00006480 00006480 00000FB9 00000B52
 | 
				
			||||||
 | 
					TAG:ARTIST=Maxwell Strait
 | 
				
			||||||
 | 
					TAG:ALBUM_ARTIST=Maxwell Strait
 | 
				
			||||||
 | 
					TAG:ALBUM=OpenMusic
 | 
				
			||||||
 | 
					TAG:GENRE=Rock
 | 
				
			||||||
 | 
					TAG:track=5/13
 | 
				
			||||||
 | 
					[/FORMAT]
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user