Commit 2e9fd627 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

fate/segafilm: Add tests for segafilm (de)muxer

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent e27d67b2
...@@ -229,6 +229,7 @@ include $(SRC_PATH)/tests/fate/qt.mak ...@@ -229,6 +229,7 @@ include $(SRC_PATH)/tests/fate/qt.mak
include $(SRC_PATH)/tests/fate/qtrle.mak include $(SRC_PATH)/tests/fate/qtrle.mak
include $(SRC_PATH)/tests/fate/real.mak include $(SRC_PATH)/tests/fate/real.mak
include $(SRC_PATH)/tests/fate/screen.mak include $(SRC_PATH)/tests/fate/screen.mak
include $(SRC_PATH)/tests/fate/segafilm.mak
include $(SRC_PATH)/tests/fate/segment.mak include $(SRC_PATH)/tests/fate/segment.mak
include $(SRC_PATH)/tests/fate/source.mak include $(SRC_PATH)/tests/fate/source.mak
include $(SRC_PATH)/tests/fate/spdif.mak include $(SRC_PATH)/tests/fate/spdif.mak
......
FATE_SEGAFILM-$(call REMUX, SEGAFILM, CINEPAK_DECODER ADX_PARSER) += fate-segafilm-adx-remux
fate-segafilm-adx-remux: CMD = transcode film_cpk $(TARGET_SAMPLES)/film/op-partial.cak film_cpk "-c copy" "-c copy"
FATE_SEGAFILM-$(call REMUX, SEGAFILM, CINEPAK_DECODER) += fate-segafilm-s8-remux
fate-segafilm-s8-remux: CMD = transcode film_cpk $(TARGET_SAMPLES)/film/logo-capcom.cpk film_cpk "-c copy" "-c copy"
# This tests muxing non-segafilm cinepak into segafilm.
FATE_SEGAFILM-$(call REMUX, SEGAFILM, AVI_DEMUXER CINEPAK_DECODER) += fate-segafilm-cinepak-mux
fate-segafilm-cinepak-mux: CMD = transcode avi $(TARGET_SAMPLES)/cvid/pcitva15.avi film_cpk "-map 0:v -c copy" "-c copy"
FATE_SEGAFILM-$(call TRANSCODE, RAWVIDEO CINEPAK, SEGAFILM, AVI_DEMUXER PCM_U8_DECODER ARESAMPLE_FILTER PCM_S16BE_PLANAR_ENCODER) += fate-segafilm-rawvideo-mux
fate-segafilm-rawvideo-mux: CMD = transcode avi $(TARGET_SAMPLES)/cvid/laracroft-cinepak-partial.avi film_cpk "-c:v rawvideo -pix_fmt rgb24 -af aresample -c:a pcm_s16be_planar" "-c copy"
FATE_SAMPLES_FFMPEG += $(FATE_SEGAFILM-yes)
fate-segafilm: $(FATE_SEGAFILM-yes)
This diff is collapsed.
This diff is collapsed.
c4b24005b314b70783ebb007f50b6c6c *tests/data/fate/segafilm-rawvideo-mux.film_cpk
17841040 tests/data/fate/segafilm-rawvideo-mux.film_cpk
#tb 0: 1/12
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 400x187
#sar 0: 0/1
#tb 1: 1/8000
#media_type 1: audio
#codec_id 1: pcm_s16be_planar
#sample_rate 1: 8000
#channel_layout_name 1: mono
0, 0, 0, 1, 224400, 0xd8f2f310
1, 0, 0, 8000, 16000, 0x7ec2d894
0, 1, 1, 1, 224400, 0xe38676c2
0, 2, 2, 1, 224400, 0x7163b6ad
0, 3, 3, 1, 224400, 0xa514b0f7
0, 4, 4, 1, 224400, 0xeed48b96
0, 5, 5, 1, 224400, 0x5e9f02b2
0, 6, 6, 1, 224400, 0x70822c53
0, 7, 7, 1, 224400, 0x93101067
0, 8, 8, 1, 224400, 0x0710e900
0, 9, 9, 1, 224400, 0x0e8add6a
0, 10, 10, 1, 224400, 0x53fb2c5a
0, 11, 11, 1, 224400, 0xa58cc02f
0, 12, 12, 1, 224400, 0x0a5cc76b
1, 8000, 8000, 8000, 16000, 0x1fb8d7fa
0, 13, 13, 1, 224400, 0xfa551631
0, 14, 14, 1, 224400, 0xde9f99bf
0, 15, 15, 1, 224400, 0xe66a8690
0, 16, 16, 1, 224400, 0xd9e6f3d1
0, 17, 17, 1, 224400, 0xa479a5c6
0, 18, 18, 1, 224400, 0xdaa3531f
0, 19, 19, 1, 224400, 0xde3e6843
0, 20, 20, 1, 224400, 0x181adafd
0, 21, 21, 1, 224400, 0x784b6429
0, 22, 22, 1, 224400, 0x91cdc30e
0, 23, 23, 1, 224400, 0x6e78be49
0, 24, 24, 1, 224400, 0x7515644c
1, 16000, 16000, 8000, 16000, 0xb1d7d062
0, 25, 25, 1, 224400, 0xcc32a91b
0, 26, 26, 1, 224400, 0xc63e3831
0, 27, 27, 1, 224400, 0xfb53b651
0, 28, 28, 1, 224400, 0x12ec8a01
0, 29, 29, 1, 224400, 0x136fcb2c
0, 30, 30, 1, 224400, 0x827fa546
0, 31, 31, 1, 224400, 0x1773b7f5
0, 32, 32, 1, 224400, 0x732defc1
0, 33, 33, 1, 224400, 0x84292372
0, 34, 34, 1, 224400, 0x20f22365
0, 35, 35, 1, 224400, 0xb39a0700
0, 36, 36, 1, 224400, 0xf245706c
1, 24000, 24000, 8000, 16000, 0x831174ae
0, 37, 37, 1, 224400, 0xdb702ae7
0, 38, 38, 1, 224400, 0xadfefe5b
0, 39, 39, 1, 224400, 0xa667adcb
0, 40, 40, 1, 224400, 0x4d645191
0, 41, 41, 1, 224400, 0x33802f58
0, 42, 42, 1, 224400, 0x24eff4b8
0, 43, 43, 1, 224400, 0x4dc817a6
0, 44, 44, 1, 224400, 0x9a891d35
0, 45, 45, 1, 224400, 0x2d0bb83b
0, 46, 46, 1, 224400, 0xd13469c1
0, 47, 47, 1, 224400, 0xd2e6302a
0, 48, 48, 1, 224400, 0xc7594ee1
1, 32000, 32000, 8000, 16000, 0x88c62b9f
0, 49, 49, 1, 224400, 0xc6da714c
0, 50, 50, 1, 224400, 0xf675e838
0, 51, 51, 1, 224400, 0xdc047c76
0, 52, 52, 1, 224400, 0xe5727de5
0, 53, 53, 1, 224400, 0x153b0f62
0, 54, 54, 1, 224400, 0x65922f68
0, 55, 55, 1, 224400, 0x04e04bfb
0, 56, 56, 1, 224400, 0x1dde6c88
0, 57, 57, 1, 224400, 0xed3905f2
0, 58, 58, 1, 224400, 0x211a5996
0, 59, 59, 1, 224400, 0xd010baaf
0, 60, 60, 1, 224400, 0xcbc9f272
1, 40000, 40000, 8000, 16000, 0x48c7c649
0, 61, 61, 1, 224400, 0x7380d6f0
0, 62, 62, 1, 224400, 0xfd0bf084
0, 63, 63, 1, 224400, 0xc4d671d9
0, 64, 64, 1, 224400, 0x84236aa5
0, 65, 65, 1, 224400, 0x9c584ede
0, 66, 66, 1, 224400, 0xdb0c6029
0, 67, 67, 1, 224400, 0x775ae560
0, 68, 68, 1, 224400, 0xe3800916
0, 69, 69, 1, 224400, 0x9313a8e8
0, 70, 70, 1, 224400, 0x3a5d07cc
0, 71, 71, 1, 224400, 0x4651a10b
0, 72, 72, 1, 224400, 0xc2d72183
1, 48000, 48000, 8000, 16000, 0x2e7a742a
0, 73, 73, 1, 224400, 0xcd971625
0, 74, 74, 1, 224400, 0x9fb0f3c2
0, 75, 75, 1, 224400, 0x920ee561
0, 76, 76, 1, 224400, 0x8a2c1bbf
0, 77, 77, 1, 224400, 0x6150c072
0, 78, 78, 1, 224400, 0x499dc869
3b5854365d74f6194d3b09e040507370 *tests/data/fate/segafilm-s8-remux.film_cpk
1955240 tests/data/fate/segafilm-s8-remux.film_cpk
#tb 0: 1/30
#media_type 0: video
#codec_id 0: cinepak
#dimensions 0: 320x224
#sar 0: 0/1
#tb 1: 1/44100
#media_type 1: audio
#codec_id 1: pcm_s8_planar
#sample_rate 1: 44100
#channel_layout_name 1: stereo
0, 0, 0, 2, 21612, 0x12f0b3c8
1, 0, 0, 22048, 44096, 0xafd250ae
0, 2, 2, 2, 11080, 0xac3a462b, F=0x0
0, 4, 4, 2, 11300, 0xd8ee7f3e, F=0x0
0, 6, 6, 2, 21612, 0x73c3a3f9
0, 8, 8, 2, 21628, 0x00a5b4b9
0, 10, 10, 2, 14772, 0x1332b44f, F=0x0
0, 12, 12, 2, 14744, 0x5ce5d59b, F=0x0
0, 14, 14, 2, 14736, 0xd5ac2877, F=0x0
1, 22048, 22048, 11028, 22056, 0xe08a0f01
0, 16, 16, 2, 16908, 0x90fb4402
0, 18, 18, 2, 21636, 0x30f36b66
0, 20, 20, 2, 21648, 0x3ba6ea31
0, 22, 22, 2, 14744, 0x5c35b960, F=0x0
1, 33076, 33076, 11024, 22048, 0x4798f7aa
0, 24, 24, 2, 14164, 0xe7c63eaa, F=0x0
0, 26, 26, 2, 14644, 0x158c7e80, F=0x0
0, 28, 28, 2, 14760, 0x423e575d, F=0x0
0, 30, 30, 2, 14784, 0xe56277f8, F=0x0
1, 44100, 44100, 11028, 22056, 0x8cefd048
0, 32, 32, 2, 14788, 0x451e0bae, F=0x0
0, 34, 34, 2, 14784, 0x1a05cb5a, F=0x0
0, 36, 36, 2, 14784, 0x9898d518, F=0x0
1, 55128, 55128, 11028, 22056, 0xda5e35ef
0, 38, 38, 2, 14768, 0x7de83ded, F=0x0
0, 40, 40, 2, 14760, 0x4fbe044b, F=0x0
0, 42, 42, 2, 14772, 0x246488b7, F=0x0
0, 44, 44, 2, 14784, 0x4a8e927d, F=0x0
1, 66156, 66156, 11028, 22056, 0xecb354d5
0, 46, 46, 2, 14768, 0x0a78d401, F=0x0
0, 48, 48, 2, 14724, 0x99b092fc, F=0x0
0, 50, 50, 2, 17424, 0xed3215f7
0, 52, 52, 2, 14760, 0x936b54f2, F=0x0
1, 77184, 77184, 11016, 22032, 0x4f023ee7
0, 54, 54, 2, 14788, 0x512f061b, F=0x0
0, 56, 56, 2, 14752, 0x8697f416, F=0x0
0, 58, 58, 2, 14752, 0xf113edc3, F=0x0
0, 60, 60, 2, 14792, 0xc79a8eff, F=0x0
1, 88200, 88200, 11028, 22056, 0x00959d91
0, 62, 62, 2, 14748, 0x9906aeb0, F=0x0
0, 64, 64, 2, 14752, 0x5d0035fb, F=0x0
0, 66, 66, 2, 14756, 0x1a18611b, F=0x0
1, 99228, 99228, 11028, 22056, 0xef42522d
0, 68, 68, 2, 14792, 0x03ecb407, F=0x0
0, 70, 70, 2, 14792, 0x0b3f8a55, F=0x0
0, 72, 72, 2, 14788, 0x4db424ef, F=0x0
0, 74, 74, 2, 14784, 0xe86937be, F=0x0
1, 110256, 110256, 11028, 22056, 0x344eb013
0, 76, 76, 2, 14756, 0xdf30850f, F=0x0
0, 78, 78, 2, 14764, 0x8ba301b0, F=0x0
0, 80, 80, 2, 16816, 0x019829a4
0, 82, 82, 2, 14704, 0x28451122, F=0x0
1, 121284, 121284, 11016, 22032, 0xaad8d420
0, 84, 84, 2, 14540, 0x4767a033, F=0x0
0, 86, 86, 2, 14144, 0xa7cff806, F=0x0
0, 88, 88, 2, 14372, 0x66da8c46, F=0x0
0, 90, 90, 2, 14296, 0xc98a2efd, F=0x0
1, 132300, 132300, 11028, 22056, 0xfc76c3d9
0, 92, 92, 2, 16396, 0xd6235b32
0, 94, 94, 2, 12464, 0x519c57c9, F=0x0
0, 96, 96, 2, 12628, 0xf3d3e179, F=0x0
1, 143328, 143328, 11028, 22056, 0x44073824
0, 98, 98, 2, 10604, 0x93c6a3d1, F=0x0
0, 100, 100, 2, 8936, 0xcb92de8c, F=0x0
0, 102, 102, 2, 8340, 0x7698372b, F=0x0
0, 104, 104, 2, 7324, 0x782ebf51, F=0x0
1, 154356, 154356, 11028, 22056, 0x3d7d1aef
0, 106, 106, 2, 6332, 0x23291828, F=0x0
0, 108, 108, 2, 5448, 0x2426feae, F=0x0
0, 110, 110, 2, 624, 0x3f9c04b2, F=0x0
0, 112, 112, 2, 624, 0x3f9c04b2, F=0x0
1, 165384, 165384, 11016, 22032, 0x91257dfb
0, 114, 114, 2, 624, 0x3f9c04b2, F=0x0
0, 116, 116, 2, 624, 0x3f9c04b2, F=0x0
0, 118, 118, 2, 624, 0x3f9c04b2, F=0x0
0, 120, 120, 2, 624, 0x3f9c04b2, F=0x0
1, 176400, 176400, 11028, 22056, 0x254d5274
0, 122, 122, 2, 21540, 0x6a391e7e
0, 124, 124, 2, 6832, 0x4023eaac, F=0x0
0, 126, 126, 2, 7540, 0xbfc4e26e, F=0x0
1, 187428, 187428, 11028, 22056, 0x85bf05d4
0, 128, 128, 2, 7444, 0x37976e60, F=0x0
0, 130, 130, 2, 7440, 0x5995e2b0, F=0x0
0, 132, 132, 2, 7620, 0x96c3f568, F=0x0
0, 134, 134, 2, 7544, 0x185643e7, F=0x0
1, 198456, 198456, 11028, 22056, 0xe9b89025
0, 136, 136, 2, 7440, 0x7c67dd22, F=0x0
0, 138, 138, 2, 9864, 0xd66c84e6
0, 140, 140, 2, 8344, 0xba857ad0, F=0x0
0, 142, 142, 2, 7720, 0x31111984, F=0x0
1, 209484, 209484, 11016, 22032, 0xcf4f1087
0, 144, 144, 2, 7608, 0xc6539493, F=0x0
0, 146, 146, 2, 7640, 0x5b3c8a04, F=0x0
0, 148, 148, 2, 7624, 0x3eb7731a, F=0x0
0, 150, 150, 2, 7712, 0x3cf7eb6b, F=0x0
1, 220500, 220500, 11028, 22056, 0x6c016e48
0, 152, 152, 2, 7700, 0x98833ab2, F=0x0
0, 154, 154, 2, 9836, 0x9facaa3d
0, 156, 156, 2, 8280, 0x4c16fc91, F=0x0
1, 231528, 231528, 11028, 22056, 0x76a2c75c
0, 158, 158, 2, 7708, 0x6464873b, F=0x0
0, 160, 160, 2, 7608, 0xbe0ff68b, F=0x0
0, 162, 162, 2, 7500, 0x283a0810, F=0x0
0, 164, 164, 2, 624, 0xb9b505ed, F=0x0
1, 242556, 242556, 11028, 22056, 0xa882dcb0
0, 166, 166, 2, 624, 0xb9b505ed, F=0x0
0, 168, 168, 2, 624, 0xb9b505ed, F=0x0
0, 170, 170, 2, 624, 0xb9b505ed, F=0x0
0, 172, 172, 2, 624, 0xb9b505ed, F=0x0
1, 253584, 253584, 11016, 22032, 0x3797e11a
0, 174, 174, 2, 624, 0xb9b505ed, F=0x0
0, 176, 176, 2, 624, 0xb9b505ed, F=0x0
0, 178, 178, 2, 624, 0xb9b505ed, F=0x0
0, 180, 180, 2, 624, 0xb9b505ed, F=0x0
1, 264600, 264600, 11028, 22056, 0xec57619f
0, 182, 182, 2, 624, 0xb9b505ed, F=0x0
0, 184, 184, 2, 21588, 0xa373a2b0
0, 186, 186, 2, 624, 0x26350647, F=0x0
1, 275628, 275628, 11028, 22056, 0x14f9a65c
0, 188, 188, 2, 624, 0x26350647, F=0x0
0, 190, 190, 2, 624, 0x26350647, F=0x0
0, 192, 192, 2, 21600, 0x8a2d6cf3
0, 194, 194, 2, 21600, 0x02580c99
1, 286656, 286656, 11028, 22056, 0x840a0ff0
0, 196, 196, 2, 21580, 0x9a904a10
0, 198, 198, 2, 21564, 0xa392b1b8
0, 200, 200, 2, 21540, 0x70d29597
0, 202, 202, 2, 21564, 0x41af0d55
1, 297684, 297684, 11016, 22032, 0x00000000
0, 204, 204, 2, 21552, 0x4a79481d
0, 206, 206, 2, 21568, 0xe2d9f71f
0, 208, 208, 2, 21504, 0xa23387f4
0, 210, 210, 2, 21468, 0x7fa401ba
1, 308700, 308700, 11028, 22056, 0x00000000
0, 212, 212, 2, 21388, 0xca992a77
0, 214, 214, 2, 21288, 0xb10f1e06
0, 216, 216, 2, 21096, 0xc421acd3
1, 319728, 319728, 2200, 4400, 0x00000000
0, 218, 218, 1, 18548, 0x640b3376
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment