Split dump file directories based on input file name.
Remove old unused dump files. PiperOrigin-RevId: 558820926
This commit is contained in:
parent
350b394596
commit
ae7667783c
@ -1,478 +0,0 @@
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.64001F
|
||||
maxInputSize = 36722
|
||||
width = 1080
|
||||
height = 720
|
||||
frameRate = 29.970028
|
||||
metadata = entries=[TSSE: description=null: values=[Lavf56.1.0], xyz: latitude=40.68, longitude=-74.5, Mp4Timestamp: creation time=3547558895, modification time=3547558895, timescale=1000]
|
||||
initializationData:
|
||||
data = length 29, hash 4746B5D9
|
||||
data = length 10, hash 7A0D0F2B
|
||||
container metadata = entries=[TSSE: description=null: values=[Lavf56.1.0], xyz: latitude=40.68, longitude=-74.5, Mp4Timestamp: creation time=3547558895, modification time=3547558895, timescale=1000]
|
||||
format 1:
|
||||
averageBitrate = 131072
|
||||
sampleMimeType = audio/mp4a-latm
|
||||
channelCount = 1
|
||||
sampleRate = 48000
|
||||
pcmEncoding = 2
|
||||
metadata = entries=[TSSE: description=null: values=[Lavf56.1.0], xyz: latitude=40.68, longitude=-74.5, Mp4Timestamp: creation time=3547558895, modification time=3547558895, timescale=1000]
|
||||
container metadata = entries=[TSSE: description=null: values=[Lavf56.1.0], xyz: latitude=40.68, longitude=-74.5, Mp4Timestamp: creation time=3547558895, modification time=3547558895, timescale=1000]
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -770308242
|
||||
size = 36692
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 0
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -732087136
|
||||
size = 5312
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 66733
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 468156717
|
||||
size = 599
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 33366
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1150349584
|
||||
size = 7735
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 200200
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1443582006
|
||||
size = 987
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 133466
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -310585145
|
||||
size = 673
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 100100
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 807460688
|
||||
size = 523
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 166833
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1936487090
|
||||
size = 6061
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 333666
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -32297181
|
||||
size = 992
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 266933
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1529616406
|
||||
size = 623
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 233566
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1949198785
|
||||
size = 421
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 300300
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -147880287
|
||||
size = 4899
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 433766
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1369083472
|
||||
size = 568
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 400400
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 965782073
|
||||
size = 620
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 367033
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -261176150
|
||||
size = 5450
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 567233
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1830836678
|
||||
size = 1051
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 500500
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1767407540
|
||||
size = 874
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 467133
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 918440283
|
||||
size = 781
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 533866
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1408463661
|
||||
size = 4725
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 700700
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1569455924
|
||||
size = 1022
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 633966
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1723778407
|
||||
size = 790
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 600600
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1578275472
|
||||
size = 610
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 667333
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1989768395
|
||||
size = 2751
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 834166
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1215674502
|
||||
size = 745
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 767433
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -814473606
|
||||
size = 621
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 734066
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 498370894
|
||||
size = 505
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 800800
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1051506468
|
||||
size = 1268
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 967633
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1025604144
|
||||
size = 880
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 900900
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -913586520
|
||||
size = 530
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 867533
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1340459242
|
||||
size = 568
|
||||
isKeyFrame = false
|
||||
presentationTimeUs = 934266
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 1868041800
|
||||
size = 22
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 0
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 1552866193
|
||||
size = 8
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 229
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 701848493
|
||||
size = 160
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 312
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2000505720
|
||||
size = 206
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 1979
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 57276327
|
||||
size = 222
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 4125
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 382237408
|
||||
size = 228
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 6437
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 795308374
|
||||
size = 228
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 8812
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 356270426
|
||||
size = 224
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 11187
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 963641614
|
||||
size = 244
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 13520
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2045272193
|
||||
size = 234
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 16062
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -251933090
|
||||
size = 228
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 18500
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -329315280
|
||||
size = 234
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 20875
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1536715689
|
||||
size = 248
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 23312
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1275249610
|
||||
size = 254
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 25895
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -2081231470
|
||||
size = 254
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 28541
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 1912348529
|
||||
size = 250
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 31187
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1393642278
|
||||
size = 246
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 33791
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -2073671562
|
||||
size = 236
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 36354
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -381095129
|
||||
size = 248
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 38812
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -804721381
|
||||
size = 238
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 41395
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 172275944
|
||||
size = 260
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 43875
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1045486664
|
||||
size = 248
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 46583
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1465283679
|
||||
size = 260
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 49166
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 1840117006
|
||||
size = 254
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 51875
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -631848848
|
||||
size = 250
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 54520
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1207491554
|
||||
size = 236
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 57125
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 838792456
|
||||
size = 258
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 59583
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1131122284
|
||||
size = 264
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 62270
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -122326555
|
||||
size = 250
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 65020
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1340323720
|
||||
size = 250
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 67625
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1290952882
|
||||
size = 260
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 70229
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2118216858
|
||||
size = 244
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 72937
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 879520231
|
||||
size = 252
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 75479
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -174892555
|
||||
size = 264
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 78104
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -555873771
|
||||
size = 252
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 80854
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1479853263
|
||||
size = 256
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 83479
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1068971504
|
||||
size = 250
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 86145
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -866214350
|
||||
size = 254
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 88750
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -2111034853
|
||||
size = 288
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 91395
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1445430754
|
||||
size = 278
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 94395
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 1200468541
|
||||
size = 246
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 97291
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1853596884
|
||||
size = 246
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 99854
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1266372568
|
||||
size = 254
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 102416
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -212017561
|
||||
size = 248
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 105062
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1464702479
|
||||
size = 8
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 107645
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -2065
|
||||
size = 2
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 107729
|
||||
released = true
|
@ -1,63 +0,0 @@
|
||||
format 0:
|
||||
averageBitrate = 131072
|
||||
sampleMimeType = audio/mp4a-latm
|
||||
channelCount = 6
|
||||
sampleRate = 48000
|
||||
pcmEncoding = 2
|
||||
metadata = entries=[Mp4Timestamp: creation time=3664419241, modification time=3664419241, timescale=600]
|
||||
container metadata = entries=[Mp4Timestamp: creation time=3664419241, modification time=3664419241, timescale=600]
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1896404418
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 0
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -2134951116
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2666
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 97556101
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 5333
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1448980924
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 8000
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = 1871012467
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 10666
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1317831364
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 13333
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1728189539
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 16000
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1715881661
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 18666
|
||||
sample:
|
||||
trackIndex = 0
|
||||
dataHashCode = -1428554542
|
||||
size = 1536
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 21333
|
||||
released = true
|
File diff suppressed because it is too large
Load Diff
@ -1716,482 +1716,482 @@ sample:
|
||||
presentationTimeUs = 1999841
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 243395457
|
||||
size = 7012
|
||||
dataHashCode = 2017483649
|
||||
size = 8164
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2000000
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2039750
|
||||
presentationTimeUs = 2046281
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2062199
|
||||
presentationTimeUs = 2069501
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2087142
|
||||
presentationTimeUs = 2092721
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -448902783
|
||||
size = 3956
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2109591
|
||||
presentationTimeUs = 2115941
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2132018
|
||||
presentationTimeUs = 2139160
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2156961
|
||||
presentationTimeUs = 2162380
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2179410
|
||||
presentationTimeUs = 2185600
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2201859
|
||||
presentationTimeUs = 2208820
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2226802
|
||||
presentationTimeUs = 2232040
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2249251
|
||||
presentationTimeUs = 2255260
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2271700
|
||||
presentationTimeUs = 2278480
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2296643
|
||||
presentationTimeUs = 2301700
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2319092
|
||||
presentationTimeUs = 2324920
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2341541
|
||||
presentationTimeUs = 2348140
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -122903935
|
||||
size = 4396
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2363990
|
||||
presentationTimeUs = 2371360
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2388911
|
||||
presentationTimeUs = 2394580
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2411360
|
||||
presentationTimeUs = 2417800
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2433809
|
||||
presentationTimeUs = 2441020
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2458752
|
||||
presentationTimeUs = 2464240
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1476683391
|
||||
size = 3316
|
||||
dataHashCode = 2132657025
|
||||
size = 2212
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2481201
|
||||
presentationTimeUs = 2487460
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1993784959
|
||||
size = 5044
|
||||
dataHashCode = -1274381183
|
||||
size = 5980
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2500000
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2528594
|
||||
presentationTimeUs = 2533900
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2551043
|
||||
presentationTimeUs = 2557120
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2573492
|
||||
presentationTimeUs = 2580340
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2598435
|
||||
presentationTimeUs = 2603560
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -448902783
|
||||
size = 3956
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2620884
|
||||
presentationTimeUs = 2626780
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2643310
|
||||
presentationTimeUs = 2650000
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2665759
|
||||
presentationTimeUs = 2673219
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2690702
|
||||
presentationTimeUs = 2696439
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2713151
|
||||
presentationTimeUs = 2719659
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 644553473
|
||||
size = 8360
|
||||
dataHashCode = -809762815
|
||||
size = 8192
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2735600
|
||||
presentationTimeUs = 2742879
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2782993
|
||||
presentationTimeUs = 2789319
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2805442
|
||||
presentationTimeUs = 2812539
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2830385
|
||||
presentationTimeUs = 2835759
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -448902783
|
||||
size = 3956
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2852834
|
||||
presentationTimeUs = 2858979
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2875260
|
||||
presentationTimeUs = 2882199
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2900204
|
||||
presentationTimeUs = 2905419
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2922653
|
||||
presentationTimeUs = 2928639
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2945102
|
||||
presentationTimeUs = 2951859
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2967551
|
||||
presentationTimeUs = 2975079
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2055611009
|
||||
size = 1324
|
||||
dataHashCode = 634299009
|
||||
size = 300
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 2992494
|
||||
presentationTimeUs = 2998299
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -76324991
|
||||
size = 6596
|
||||
dataHashCode = -1988911743
|
||||
size = 7892
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3000000
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3037392
|
||||
presentationTimeUs = 3044739
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3062335
|
||||
presentationTimeUs = 3067959
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3084784
|
||||
presentationTimeUs = 3091179
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -122903935
|
||||
size = 4396
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3107233
|
||||
presentationTimeUs = 3114399
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2136490497
|
||||
size = 7920
|
||||
dataHashCode = -809762815
|
||||
size = 8192
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3132154
|
||||
presentationTimeUs = 3137619
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3177052
|
||||
presentationTimeUs = 3184058
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3201995
|
||||
presentationTimeUs = 3207278
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3224444
|
||||
presentationTimeUs = 3230498
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3246893
|
||||
presentationTimeUs = 3253718
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3269342
|
||||
presentationTimeUs = 3276938
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3294285
|
||||
presentationTimeUs = 3300158
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 644553473
|
||||
size = 8360
|
||||
dataHashCode = -809762815
|
||||
size = 8192
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3316734
|
||||
presentationTimeUs = 3323378
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -448902783
|
||||
size = 3956
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3364126
|
||||
presentationTimeUs = 3369818
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3386553
|
||||
presentationTimeUs = 3393038
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3409002
|
||||
presentationTimeUs = 3416258
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3433945
|
||||
presentationTimeUs = 3439478
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3456394
|
||||
presentationTimeUs = 3462698
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 1120019841
|
||||
size = 3732
|
||||
dataHashCode = 1999233
|
||||
size = 2484
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3478843
|
||||
presentationTimeUs = 3485918
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 454210945
|
||||
size = 4628
|
||||
dataHashCode = -37765503
|
||||
size = 5708
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3500000
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3526235
|
||||
presentationTimeUs = 3532358
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3548684
|
||||
presentationTimeUs = 3555578
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2136490497
|
||||
size = 7920
|
||||
dataHashCode = -809762815
|
||||
size = 8192
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3573628
|
||||
presentationTimeUs = 3578798
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -448902783
|
||||
size = 3956
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3618526
|
||||
presentationTimeUs = 3625238
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3640952
|
||||
presentationTimeUs = 3648458
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3665895
|
||||
presentationTimeUs = 3671678
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3688344
|
||||
presentationTimeUs = 3694897
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3710793
|
||||
presentationTimeUs = 3718117
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 2136490497
|
||||
size = 7920
|
||||
dataHashCode = -809762815
|
||||
size = 8192
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3735736
|
||||
presentationTimeUs = 3741337
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1264223743
|
||||
size = 4400
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3780634
|
||||
presentationTimeUs = 3787777
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3805578
|
||||
presentationTimeUs = 3810997
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3828027
|
||||
presentationTimeUs = 3834217
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -122903935
|
||||
size = 4396
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3850476
|
||||
presentationTimeUs = 3857437
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3875396
|
||||
presentationTimeUs = 3880657
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 571187457
|
||||
size = 3960
|
||||
dataHashCode = -809762815
|
||||
size = 8192
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3897845
|
||||
presentationTimeUs = 3903877
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = 644553473
|
||||
size = 8360
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3920294
|
||||
presentationTimeUs = 3950317
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1759454975
|
||||
size = 440
|
||||
dataHashCode = 1742602241
|
||||
size = 4096
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3967687
|
||||
presentationTimeUs = 3973537
|
||||
sample:
|
||||
trackIndex = 1
|
||||
dataHashCode = -1409159807
|
||||
size = 5204
|
||||
dataHashCode = -204243967
|
||||
size = 544
|
||||
isKeyFrame = true
|
||||
presentationTimeUs = 3970181
|
||||
presentationTimeUs = 3996757
|
||||
released = true
|
File diff suppressed because it is too large
Load Diff
@ -210,7 +210,10 @@ public class CompositionExportTest {
|
||||
|
||||
assertThat(exportResult.processedInputs).hasSize(2);
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".concurrent"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */ "concurrent"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -171,7 +171,9 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".aac"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */ "aac"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -209,7 +211,9 @@ public final class MediaItemExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_VIDEO_INCREASING_TIMESTAMPS_15S + ".clipped"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO_INCREASING_TIMESTAMPS_15S,
|
||||
/* modifications...= */ "clipped"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -227,7 +231,10 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_WITH_SUBTITLES) + ".noaudio");
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_WITH_SUBTITLES, /* modifications...= */ "noaudio"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -273,7 +280,10 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_VIDEO + ".noaudio"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */ "noaudio"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -289,7 +299,10 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_VIDEO + ".novideo"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */ "novideo"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -347,7 +360,8 @@ public final class MediaItemExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_VIDEO + ".silentaudio"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */ "silence"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -373,7 +387,10 @@ public final class MediaItemExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_VIDEO + ".silentaudio_48000hz"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */
|
||||
"silence",
|
||||
"48000hz"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -392,7 +409,10 @@ public final class MediaItemExportTest {
|
||||
transformer.start(composition, outputPath);
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_VIDEO + ".novideo"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */ "novideo"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -410,7 +430,10 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_VIDEO_ONLY + ".silentaudio"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_VIDEO_ONLY, /* modifications...= */ "silence"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -430,7 +453,9 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".48000hz"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */ "48000hz"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -452,7 +477,9 @@ public final class MediaItemExportTest {
|
||||
transformer.start(composition, outputPath);
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".48000hz"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */ "48000hz"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -677,7 +704,8 @@ public final class MediaItemExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_WITH_SEF_SLOW_MOTION) + ".noaudio");
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_WITH_SEF_SLOW_MOTION, /* modifications...= */ "noaudio"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -774,7 +802,9 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".aac"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */ "aac"));
|
||||
verify(mockListener)
|
||||
.onFallbackApplied(
|
||||
any(Composition.class),
|
||||
@ -806,7 +836,9 @@ public final class MediaItemExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".aac"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */ "aac"));
|
||||
verify(mockListener)
|
||||
.onFallbackApplied(
|
||||
any(Composition.class),
|
||||
@ -1024,7 +1056,10 @@ public final class MediaItemExportTest {
|
||||
|
||||
// Video transcoding in unit tests is not supported.
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_VIDEO + ".rotated"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */ "rotated"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -97,7 +97,11 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_VIDEO + ".concatenated_transmux"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO,
|
||||
/* modifications...= */ "original",
|
||||
"original",
|
||||
"transmux"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -125,7 +129,11 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_VIDEO + ".concatenated_transmux"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO,
|
||||
/* modifications...= */ "original",
|
||||
"original",
|
||||
"transmux"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -168,7 +176,10 @@ public final class SequenceExportTest {
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
FILE_AUDIO_VIDEO_INCREASING_TIMESTAMPS_15S + ".clipped_concatenated_transmux"));
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO_INCREASING_TIMESTAMPS_15S,
|
||||
/* modifications...= */ "clipped",
|
||||
"clipped",
|
||||
"transmux"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -193,7 +204,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".audio_then_silence"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "original",
|
||||
"silence"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -218,7 +232,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".silence_then_audio"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "silence",
|
||||
"original"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -249,7 +266,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".audio_then_silence_with_effects"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "highPitch",
|
||||
"silenceHighPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -258,7 +278,7 @@ public final class SequenceExportTest {
|
||||
Transformer transformer =
|
||||
createTransformerBuilder(muxerFactory, /* enableFallback= */ false).build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(ASSET_URI_PREFIX + FILE_AUDIO_RAW_VIDEO);
|
||||
EditedMediaItem noAudioEditedMediaItem =
|
||||
EditedMediaItem silenceEditedMediaItem =
|
||||
new EditedMediaItem.Builder(mediaItem)
|
||||
.setRemoveAudio(true)
|
||||
.setEffects(createAudioEffects(createPitchChangingAudioProcessor(/* pitch= */ 2f)))
|
||||
@ -269,7 +289,7 @@ public final class SequenceExportTest {
|
||||
.build();
|
||||
Composition composition =
|
||||
new Composition.Builder(
|
||||
new EditedMediaItemSequence(noAudioEditedMediaItem, audioEditedMediaItem))
|
||||
new EditedMediaItemSequence(silenceEditedMediaItem, audioEditedMediaItem))
|
||||
.experimentalSetForceAudioTrack(true)
|
||||
.setTransmuxVideo(true)
|
||||
.build();
|
||||
@ -280,7 +300,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".silence_then_audio_with_effects"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "silenceHighPitch",
|
||||
"highPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -303,7 +326,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".silence_then_silence"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "silence",
|
||||
"silence"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -318,10 +344,7 @@ public final class SequenceExportTest {
|
||||
.setEffects(createAudioEffects(createPitchChangingAudioProcessor(/* pitch= */ 2f)))
|
||||
.build();
|
||||
EditedMediaItem silenceItem =
|
||||
new EditedMediaItem.Builder(mediaItem)
|
||||
.setRemoveAudio(true)
|
||||
.setEffects(createAudioEffects(createPitchChangingAudioProcessor(/* pitch= */ 2f)))
|
||||
.build();
|
||||
new EditedMediaItem.Builder(mediaItem).setRemoveAudio(true).build();
|
||||
Composition composition =
|
||||
new Composition.Builder(new EditedMediaItemSequence(silenceWithEffectsItem, silenceItem))
|
||||
.experimentalSetForceAudioTrack(true)
|
||||
@ -334,7 +357,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".silence-effects_then_silence"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "silenceHighPitch",
|
||||
"silence"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -343,12 +369,9 @@ public final class SequenceExportTest {
|
||||
Transformer transformer =
|
||||
createTransformerBuilder(muxerFactory, /* enableFallback= */ false).build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(ASSET_URI_PREFIX + FILE_AUDIO_RAW_VIDEO);
|
||||
EditedMediaItem silenceWithEffectsItem =
|
||||
new EditedMediaItem.Builder(mediaItem)
|
||||
.setRemoveAudio(true)
|
||||
.setEffects(createAudioEffects(createPitchChangingAudioProcessor(/* pitch= */ 2f)))
|
||||
.build();
|
||||
EditedMediaItem silenceItem =
|
||||
new EditedMediaItem.Builder(mediaItem).setRemoveAudio(true).build();
|
||||
EditedMediaItem silenceWithEffectsItem =
|
||||
new EditedMediaItem.Builder(mediaItem)
|
||||
.setRemoveAudio(true)
|
||||
.setEffects(createAudioEffects(createPitchChangingAudioProcessor(/* pitch= */ 2f)))
|
||||
@ -365,7 +388,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".silence_then_silence-effects"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "silence",
|
||||
"silenceHighPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -396,7 +422,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_VIDEO + ".silence_then_silence_with_effects"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_VIDEO,
|
||||
/* modifications...= */ "silenceHighPitch",
|
||||
"silenceHighPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -413,7 +442,12 @@ public final class SequenceExportTest {
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, muxerFactory.getCreatedMuxer(), getDumpFileName(FILE_AUDIO_RAW + ".concatenated"));
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW, /* modifications...= */
|
||||
"original",
|
||||
"original"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -436,7 +470,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW + ".concatenated_high_pitch"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW,
|
||||
/* modifications...= */ "highPitch",
|
||||
"highPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -465,7 +502,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW + ".high_pitch_then_low_pitch"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW,
|
||||
/* modifications...= */ "highPitch",
|
||||
"lowPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -488,7 +528,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_STEREO_48000KHZ + "_then_sample.wav"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_STEREO_48000KHZ,
|
||||
/* modifications...= */ "original",
|
||||
"sample.wav"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -516,7 +559,10 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_STEREO_48000KHZ + "-high_pitch_then_sample.wav-high_pitch"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_STEREO_48000KHZ,
|
||||
/* modifications...= */ "highPitch",
|
||||
"sample.wavHighPitch"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -545,6 +591,9 @@ public final class SequenceExportTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
muxerFactory.getCreatedMuxer(),
|
||||
getDumpFileName(FILE_AUDIO_RAW_STEREO_48000KHZ + "-high_pitch_then_sample.wav-low_pitch"));
|
||||
getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_RAW_STEREO_48000KHZ,
|
||||
/* modifications...= */ "highPitch",
|
||||
"sample.wavLowPitch"));
|
||||
}
|
||||
}
|
||||
|
@ -78,8 +78,14 @@ public final class TestUtil {
|
||||
return sonicAudioProcessor;
|
||||
}
|
||||
|
||||
public static String getDumpFileName(String originalFileName) {
|
||||
return DUMP_FILE_OUTPUT_DIRECTORY + '/' + originalFileName + '.' + DUMP_FILE_EXTENSION;
|
||||
public static String getDumpFileName(String originalFileName, String... modifications) {
|
||||
String fileName = DUMP_FILE_OUTPUT_DIRECTORY + '/' + originalFileName + '/';
|
||||
if (modifications.length == 0) {
|
||||
fileName += "original";
|
||||
} else {
|
||||
fileName += String.join("_", modifications);
|
||||
}
|
||||
return fileName + '.' + DUMP_FILE_EXTENSION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,6 +16,8 @@
|
||||
package androidx.media3.transformer;
|
||||
|
||||
import static androidx.media3.common.util.Assertions.checkNotNull;
|
||||
import static androidx.media3.transformer.TestUtil.ASSET_URI_PREFIX;
|
||||
import static androidx.media3.transformer.TestUtil.FILE_AUDIO_VIDEO;
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
import android.content.Context;
|
||||
@ -43,8 +45,6 @@ import org.junit.runner.RunWith;
|
||||
/** End-to-end test for {@link Transformer} with {@link InAppMuxer}. */
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class TransformerWithInAppMuxerEndToEndTest {
|
||||
private static final String MP4_FILE_ASSET_DIRECTORY = "asset:///media/";
|
||||
private static final String H264_MP4 = "mp4/sample.mp4";
|
||||
private static final String XMP_SAMPLE_DATA = "media/xmp/sample_datetime_xmp.xmp";
|
||||
private Context context;
|
||||
private String outputPath;
|
||||
@ -74,7 +74,7 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
.setClock(new FakeClock(/* isAutoAdvancing= */ true))
|
||||
.setMuxerFactory(inAppMuxerFactory)
|
||||
.build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(MP4_FILE_ASSET_DIRECTORY + H264_MP4));
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(ASSET_URI_PREFIX + FILE_AUDIO_VIDEO));
|
||||
|
||||
transformer.start(mediaItem, outputPath);
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
@ -86,7 +86,9 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
DumpFileAsserts.assertOutput(
|
||||
context,
|
||||
fakeExtractorOutput,
|
||||
TestUtil.getDumpFileName(H264_MP4 + ".with_location_metadata"));
|
||||
TestUtil.getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO,
|
||||
/* modifications...= */ "with_location_metadata"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -101,7 +103,7 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
.setClock(new FakeClock(/* isAutoAdvancing= */ true))
|
||||
.setMuxerFactory(inAppMuxerFactory)
|
||||
.build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(MP4_FILE_ASSET_DIRECTORY + H264_MP4));
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(ASSET_URI_PREFIX + FILE_AUDIO_VIDEO));
|
||||
|
||||
transformer.start(mediaItem, outputPath);
|
||||
ExportResult exportResult = TransformerTestRunner.runLooper(transformer);
|
||||
@ -129,7 +131,7 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
.setClock(new FakeClock(/* isAutoAdvancing= */ true))
|
||||
.setMuxerFactory(inAppMuxerFactory)
|
||||
.build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(MP4_FILE_ASSET_DIRECTORY + H264_MP4));
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(ASSET_URI_PREFIX + FILE_AUDIO_VIDEO));
|
||||
|
||||
transformer.start(mediaItem, outputPath);
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
@ -139,7 +141,10 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
new Mp4Extractor(), checkNotNull(outputPath));
|
||||
// [mdta: key=com.android.capture.fps, value=60.0] in video track metadata dump.
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, fakeExtractorOutput, TestUtil.getDumpFileName(H264_MP4 + ".with_capture_fps"));
|
||||
context,
|
||||
fakeExtractorOutput,
|
||||
TestUtil.getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */ "with_capture_fps"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -155,7 +160,7 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
.setClock(new FakeClock(/* isAutoAdvancing= */ true))
|
||||
.setMuxerFactory(inAppMuxerFactory)
|
||||
.build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(MP4_FILE_ASSET_DIRECTORY + H264_MP4));
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(ASSET_URI_PREFIX + FILE_AUDIO_VIDEO));
|
||||
|
||||
transformer.start(mediaItem, outputPath);
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
@ -165,7 +170,11 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
new Mp4Extractor(), checkNotNull(outputPath));
|
||||
// [Creation time: 2_000_000_000_000] in track metadata dump.
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, fakeExtractorOutput, TestUtil.getDumpFileName(H264_MP4 + ".with_creation_time"));
|
||||
context,
|
||||
fakeExtractorOutput,
|
||||
TestUtil.getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */
|
||||
"with_creation_time"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -196,7 +205,7 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
.setClock(new FakeClock(/* isAutoAdvancing= */ true))
|
||||
.setMuxerFactory(inAppMuxerFactory)
|
||||
.build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(MP4_FILE_ASSET_DIRECTORY + H264_MP4));
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(ASSET_URI_PREFIX + FILE_AUDIO_VIDEO));
|
||||
|
||||
transformer.start(mediaItem, outputPath);
|
||||
TransformerTestRunner.runLooper(transformer);
|
||||
@ -207,6 +216,10 @@ public class TransformerWithInAppMuxerEndToEndTest {
|
||||
// [mdta: key=StringKey, value=StringValue, mdta: key=FloatKey, value=600.0] in track metadata
|
||||
// dump
|
||||
DumpFileAsserts.assertOutput(
|
||||
context, fakeExtractorOutput, TestUtil.getDumpFileName(H264_MP4 + ".with_custom_metadata"));
|
||||
context,
|
||||
fakeExtractorOutput,
|
||||
TestUtil.getDumpFileName(
|
||||
/* originalFileName= */ FILE_AUDIO_VIDEO, /* modifications...= */
|
||||
"with_custom_metadata"));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user