mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
mov: add fate test for decryption with edit list
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
0101d29095
commit
37557b28b9
@ -5,6 +5,7 @@ FATE_MOV = fate-mov-3elist \
|
||||
fate-mov-elist-starts-ctts-2ndsample \
|
||||
fate-mov-1elist-ends-last-bframe \
|
||||
fate-mov-2elist-elist1-ends-bframe \
|
||||
fate-mov-3elist-encrypted \
|
||||
|
||||
FATE_MOV_FFPROBE = fate-mov-aac-2048-priming \
|
||||
fate-mov-zombie \
|
||||
@ -23,6 +24,9 @@ fate-mov-1elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-1ctts.
|
||||
fate-mov-3elist: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist.mov
|
||||
fate-mov-3elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist-1ctts.mov
|
||||
|
||||
# Edit list with encryption
|
||||
fate-mov-3elist-encrypted: CMD = framemd5 -decryption_key 12345678901234567890123456789012 -i $(TARGET_SAMPLES)/mov/mov-3elist-encrypted.mov
|
||||
|
||||
# Makes sure that the CTTS is also modified when we fix avindex in mov.c while parsing edit lists.
|
||||
fate-mov-elist-starts-ctts-2ndsample: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-elist-starts-ctts-2ndsample.mov
|
||||
|
||||
|
57
tests/ref/fate/mov-3elist-encrypted
Normal file
57
tests/ref/fate/mov-3elist-encrypted
Normal file
@ -0,0 +1,57 @@
|
||||
#format: frame checksums
|
||||
#version: 2
|
||||
#hash: MD5
|
||||
#tb 0: 1/24
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 640x480
|
||||
#sar 0: 0/1
|
||||
#stream#, dts, pts, duration, size, hash
|
||||
0, 0, 0, 1, 460800, 80fbbdec589e15e6c493b44d243f92a9
|
||||
0, 1, 1, 1, 460800, f4b23293bb2ecf69cc3570853d8c56a1
|
||||
0, 2, 2, 1, 460800, 0c03ce2c1c6ec405d7455465ecd559a3
|
||||
0, 3, 3, 1, 460800, 7921791695537fba2c3c123da4834cb9
|
||||
0, 4, 4, 1, 460800, 30c8e2903a561b84d4cbaf95c668d236
|
||||
0, 5, 5, 1, 460800, 7ff42e998217c17592ddf6b584f26cef
|
||||
0, 6, 6, 1, 460800, 5e402c48bf097db2d31b82bb4194a382
|
||||
0, 7, 7, 1, 460800, 824c49e92c8ae6d99a0207b514dd756c
|
||||
0, 8, 8, 1, 460800, 24f189216a1d9cf2313b2d6dbe3dbdd3
|
||||
0, 9, 9, 1, 460800, 519179a8e74275d26b183374637e003f
|
||||
0, 10, 10, 1, 460800, f18331ddcef0adf5b069bfa98baf8db4
|
||||
0, 11, 11, 1, 460800, 081f61688690d47dbdddd5384e5d5a70
|
||||
0, 12, 12, 1, 460800, 90dbf019b9035433371a8df41a9268b7
|
||||
0, 13, 13, 1, 460800, bb5adfb9c66732898b34186eca1667ba
|
||||
0, 14, 14, 1, 460800, cc08cfd64f37783ecddaf143f6ad78bc
|
||||
0, 15, 15, 1, 460800, b8ae21d024fe4df903d56f4521993c72
|
||||
0, 16, 16, 1, 460800, b45a99907f045dcadf0a2befc11555e3
|
||||
0, 17, 17, 1, 460800, 603ba935845e65ab6cccbbec88bbf60d
|
||||
0, 18, 18, 1, 460800, df80c8d3e6a77258a306903f17995a18
|
||||
0, 19, 19, 1, 460800, 4b7e90c0a5fd0e0cd958d47f0afac636
|
||||
0, 20, 20, 1, 460800, 9feb6e36182f1745be6387edea240eb6
|
||||
0, 21, 21, 1, 460800, 86e6de4bd0a5ff7558f4cf6c1ec3930d
|
||||
0, 22, 22, 1, 460800, 726b69df77edbe7b503d4698656d1320
|
||||
0, 23, 23, 1, 460800, d282fb7a953ac205b0a43d00c2d60a33
|
||||
0, 24, 24, 1, 460800, eece3daa70cc20208dd75d91ac84c8fd
|
||||
0, 25, 25, 1, 460800, c86d23e73bcce351fc315fb1f13348da
|
||||
0, 26, 26, 1, 460800, 93497b4f7c5ad9d61212239b7c9d2770
|
||||
0, 27, 27, 1, 460800, eb217d2c12de67903835a8c58f620488
|
||||
0, 28, 28, 1, 460800, d966480867bb54c8cd044f18388ed486
|
||||
0, 29, 29, 1, 460800, 3ea6207942b3181fdd8e8aa6cae1062a
|
||||
0, 30, 30, 1, 460800, 2620df54aca086ec0fb9527c6e6f5135
|
||||
0, 31, 31, 1, 460800, 43bb7320f0bb583188dc965ddbfade90
|
||||
0, 32, 32, 1, 460800, 0cddaa04645f804e02f65b0836412113
|
||||
0, 33, 33, 1, 460800, 83b2dc95807289d7f4a4632bf18c2e97
|
||||
0, 34, 34, 1, 460800, 98134d0e41e6dd12827049ccf33b4669
|
||||
0, 35, 35, 1, 460800, 56f55631731fa39c7acbab0afeb2eb1b
|
||||
0, 36, 36, 1, 460800, 379c1105be09d836a515dc909455ddf4
|
||||
0, 37, 37, 1, 460800, 1df87c47e9d98731faf1c3885b77e5da
|
||||
0, 38, 38, 1, 460800, 9a8734bcbfdb4d97e530683b8b556a26
|
||||
0, 39, 39, 1, 460800, c7a7990d0cddc5adfbe27da7a42e025e
|
||||
0, 40, 40, 1, 460800, 0c81e46011e03be410feaf056207fd55
|
||||
0, 41, 41, 1, 460800, ca76e4e63016ff29d8aeeb9cb053bb6c
|
||||
0, 42, 42, 1, 460800, cebfbe299c17c1f8fc1e6b189555c3c2
|
||||
0, 43, 43, 1, 460800, 4f002c5feca5e75f07089e0df47507dd
|
||||
0, 44, 44, 1, 460800, c5fd83fc4a745abee9b3d9a6eec9dd3e
|
||||
0, 45, 45, 1, 460800, 57d9bad9b45aa2746de5d8bdc2c24969
|
||||
0, 46, 46, 1, 460800, 9831673ad7dec167af4a959f64258949
|
||||
0, 47, 47, 1, 460800, 77a1cb208f70f51bcb01e28d8cba73b4
|
Loading…
Reference in New Issue
Block a user