mirror of
https://github.com/samsonjs/media.git
synced 2026-06-28 05:29:33 +00:00
Merge pull request #7247 from vadimdolgachev:subtitle_track_name_for_matroska
PiperOrigin-RevId: 307368176
This commit is contained in:
commit
ad3fb3d05c
15 changed files with 2779 additions and 9 deletions
|
|
@ -71,6 +71,8 @@
|
|||
* Add `SilenceMediaSource.Factory` to support tags
|
||||
([PR #7245](https://github.com/google/ExoPlayer/pull/7245)).
|
||||
* Fix `AdsMediaSource` child `MediaSource`s not being released.
|
||||
* Parse track titles from Matroska files
|
||||
([#7247](https://github.com/google/ExoPlayer/pull/7247)).
|
||||
* Text:
|
||||
* Parse `<ruby>` and `<rt>` tags in WebVTT subtitles (rendering is coming
|
||||
later).
|
||||
|
|
|
|||
|
|
@ -54,8 +54,10 @@ import java.nio.ByteOrder;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import org.checkerframework.checker.nullness.compatqual.NullableType;
|
||||
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
|
|
@ -319,6 +321,18 @@ public class MatroskaExtractor implements Extractor {
|
|||
*/
|
||||
private static final UUID WAVE_SUBFORMAT_PCM = new UUID(0x0100000000001000L, 0x800000AA00389B71L);
|
||||
|
||||
/** Some HTC devices signal rotation in track names. */
|
||||
private static final Map<String, Integer> TRACK_NAME_TO_ROTATION_DEGREES;
|
||||
|
||||
static {
|
||||
Map<String, Integer> trackNameToRotationDegrees = new HashMap<>();
|
||||
trackNameToRotationDegrees.put("htc_video_rotA-000", 0);
|
||||
trackNameToRotationDegrees.put("htc_video_rotA-090", 90);
|
||||
trackNameToRotationDegrees.put("htc_video_rotA-180", 180);
|
||||
trackNameToRotationDegrees.put("htc_video_rotA-270", 270);
|
||||
TRACK_NAME_TO_ROTATION_DEGREES = Collections.unmodifiableMap(trackNameToRotationDegrees);
|
||||
}
|
||||
|
||||
private final EbmlReader reader;
|
||||
private final VarintReader varintReader;
|
||||
private final SparseArray<Track> tracks;
|
||||
|
|
@ -2088,15 +2102,9 @@ public class MatroskaExtractor implements Extractor {
|
|||
colorInfo = new ColorInfo(colorSpace, colorRange, colorTransfer, hdrStaticInfo);
|
||||
}
|
||||
int rotationDegrees = Format.NO_VALUE;
|
||||
// Some HTC devices signal rotation in track names.
|
||||
if ("htc_video_rotA-000".equals(name)) {
|
||||
rotationDegrees = 0;
|
||||
} else if ("htc_video_rotA-090".equals(name)) {
|
||||
rotationDegrees = 90;
|
||||
} else if ("htc_video_rotA-180".equals(name)) {
|
||||
rotationDegrees = 180;
|
||||
} else if ("htc_video_rotA-270".equals(name)) {
|
||||
rotationDegrees = 270;
|
||||
|
||||
if (TRACK_NAME_TO_ROTATION_DEGREES.containsKey(name)) {
|
||||
rotationDegrees = TRACK_NAME_TO_ROTATION_DEGREES.get(name);
|
||||
}
|
||||
if (projectionType == C.PROJECTION_RECTANGULAR
|
||||
&& Float.compare(projectionPoseYaw, 0f) == 0
|
||||
|
|
@ -2136,6 +2144,10 @@ public class MatroskaExtractor implements Extractor {
|
|||
throw new ParserException("Unexpected MIME type.");
|
||||
}
|
||||
|
||||
if (!TRACK_NAME_TO_ROTATION_DEGREES.containsKey(name)) {
|
||||
formatBuilder.setLabel(name);
|
||||
}
|
||||
|
||||
Format format =
|
||||
formatBuilder
|
||||
.setId(trackId)
|
||||
|
|
|
|||
|
|
@ -29,6 +29,17 @@ public final class MatroskaExtractorTest {
|
|||
ExtractorAsserts.assertBehavior(MatroskaExtractor::new, "mkv/sample.mkv");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void mkvSample_withSubripSubtitles() throws Exception {
|
||||
ExtractorAsserts.assertBehavior(MatroskaExtractor::new, "mkv/sample_with_srt.mkv");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void mkvSample_withHtcRotationInfoInTrackName() throws Exception {
|
||||
ExtractorAsserts.assertBehavior(
|
||||
MatroskaExtractor::new, "mkv/sample_with_htc_rotation_track_name.mkv");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void mkvFullBlocksSample() throws Exception {
|
||||
ExtractorAsserts.assertBehavior(MatroskaExtractor::new, "mkv/full_blocks.mkv");
|
||||
|
|
|
|||
BIN
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv
vendored
Normal file
BIN
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv
vendored
Normal file
Binary file not shown.
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.0.dump
vendored
Normal file
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.0.dump
vendored
Normal file
|
|
@ -0,0 +1,269 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1071000
|
||||
getPosition(0) = [[timeUs=0, position=994]]
|
||||
getPosition(1) = [[timeUs=0, position=994]]
|
||||
getPosition(535500) = [[timeUs=0, position=994]]
|
||||
getPosition(1071000) = [[timeUs=0, position=994]]
|
||||
numberOfTracks = 2
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
rotationDegrees = 90
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
tracksEnded = true
|
||||
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.1.dump
vendored
Normal file
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.1.dump
vendored
Normal file
|
|
@ -0,0 +1,269 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1071000
|
||||
getPosition(0) = [[timeUs=0, position=994]]
|
||||
getPosition(1) = [[timeUs=0, position=994]]
|
||||
getPosition(535500) = [[timeUs=0, position=994]]
|
||||
getPosition(1071000) = [[timeUs=0, position=994]]
|
||||
numberOfTracks = 2
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
rotationDegrees = 90
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
tracksEnded = true
|
||||
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.2.dump
vendored
Normal file
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.2.dump
vendored
Normal file
|
|
@ -0,0 +1,269 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1071000
|
||||
getPosition(0) = [[timeUs=0, position=994]]
|
||||
getPosition(1) = [[timeUs=0, position=994]]
|
||||
getPosition(535500) = [[timeUs=0, position=994]]
|
||||
getPosition(1071000) = [[timeUs=0, position=994]]
|
||||
numberOfTracks = 2
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
rotationDegrees = 90
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
tracksEnded = true
|
||||
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.3.dump
vendored
Normal file
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.3.dump
vendored
Normal file
|
|
@ -0,0 +1,269 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1071000
|
||||
getPosition(0) = [[timeUs=0, position=994]]
|
||||
getPosition(1) = [[timeUs=0, position=994]]
|
||||
getPosition(535500) = [[timeUs=0, position=994]]
|
||||
getPosition(1071000) = [[timeUs=0, position=994]]
|
||||
numberOfTracks = 2
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
rotationDegrees = 90
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
tracksEnded = true
|
||||
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.unknown_length.dump
vendored
Normal file
269
testdata/src/test/assets/mkv/sample_with_htc_rotation_track_name.mkv.unknown_length.dump
vendored
Normal file
|
|
@ -0,0 +1,269 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1071000
|
||||
getPosition(0) = [[timeUs=0, position=994]]
|
||||
getPosition(1) = [[timeUs=0, position=994]]
|
||||
getPosition(535500) = [[timeUs=0, position=994]]
|
||||
getPosition(1071000) = [[timeUs=0, position=994]]
|
||||
numberOfTracks = 2
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
rotationDegrees = 90
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
tracksEnded = true
|
||||
BIN
testdata/src/test/assets/mkv/sample_with_srt.mkv
vendored
Normal file
BIN
testdata/src/test/assets/mkv/sample_with_srt.mkv
vendored
Normal file
Binary file not shown.
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.0.dump
vendored
Normal file
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.0.dump
vendored
Normal file
|
|
@ -0,0 +1,280 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1234000
|
||||
getPosition(0) = [[timeUs=0, position=1163]]
|
||||
getPosition(1) = [[timeUs=0, position=1163]]
|
||||
getPosition(617000) = [[timeUs=0, position=1163]]
|
||||
getPosition(1234000) = [[timeUs=0, position=1163]]
|
||||
numberOfTracks = 3
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
track 3:
|
||||
total output bytes = 59
|
||||
sample count = 1
|
||||
format 0:
|
||||
id = 3
|
||||
sampleMimeType = application/x-subrip
|
||||
language = en
|
||||
label = Subs Label
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 59, hash 1AD38625
|
||||
tracksEnded = true
|
||||
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.1.dump
vendored
Normal file
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.1.dump
vendored
Normal file
|
|
@ -0,0 +1,280 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1234000
|
||||
getPosition(0) = [[timeUs=0, position=1163]]
|
||||
getPosition(1) = [[timeUs=0, position=1163]]
|
||||
getPosition(617000) = [[timeUs=0, position=1163]]
|
||||
getPosition(1234000) = [[timeUs=0, position=1163]]
|
||||
numberOfTracks = 3
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
track 3:
|
||||
total output bytes = 59
|
||||
sample count = 1
|
||||
format 0:
|
||||
id = 3
|
||||
sampleMimeType = application/x-subrip
|
||||
language = en
|
||||
label = Subs Label
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 59, hash 1AD38625
|
||||
tracksEnded = true
|
||||
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.2.dump
vendored
Normal file
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.2.dump
vendored
Normal file
|
|
@ -0,0 +1,280 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1234000
|
||||
getPosition(0) = [[timeUs=0, position=1163]]
|
||||
getPosition(1) = [[timeUs=0, position=1163]]
|
||||
getPosition(617000) = [[timeUs=0, position=1163]]
|
||||
getPosition(1234000) = [[timeUs=0, position=1163]]
|
||||
numberOfTracks = 3
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
track 3:
|
||||
total output bytes = 59
|
||||
sample count = 1
|
||||
format 0:
|
||||
id = 3
|
||||
sampleMimeType = application/x-subrip
|
||||
language = en
|
||||
label = Subs Label
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 59, hash 1AD38625
|
||||
tracksEnded = true
|
||||
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.3.dump
vendored
Normal file
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.3.dump
vendored
Normal file
|
|
@ -0,0 +1,280 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1234000
|
||||
getPosition(0) = [[timeUs=0, position=1163]]
|
||||
getPosition(1) = [[timeUs=0, position=1163]]
|
||||
getPosition(617000) = [[timeUs=0, position=1163]]
|
||||
getPosition(1234000) = [[timeUs=0, position=1163]]
|
||||
numberOfTracks = 3
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
track 3:
|
||||
total output bytes = 59
|
||||
sample count = 1
|
||||
format 0:
|
||||
id = 3
|
||||
sampleMimeType = application/x-subrip
|
||||
language = en
|
||||
label = Subs Label
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 59, hash 1AD38625
|
||||
tracksEnded = true
|
||||
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.unknown_length.dump
vendored
Normal file
280
testdata/src/test/assets/mkv/sample_with_srt.mkv.unknown_length.dump
vendored
Normal file
|
|
@ -0,0 +1,280 @@
|
|||
seekMap:
|
||||
isSeekable = true
|
||||
duration = 1234000
|
||||
getPosition(0) = [[timeUs=0, position=1163]]
|
||||
getPosition(1) = [[timeUs=0, position=1163]]
|
||||
getPosition(617000) = [[timeUs=0, position=1163]]
|
||||
getPosition(1234000) = [[timeUs=0, position=1163]]
|
||||
numberOfTracks = 3
|
||||
track 1:
|
||||
total output bytes = 89502
|
||||
sample count = 30
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
width = 1080
|
||||
height = 720
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
initializationData:
|
||||
data = length 30, hash F6F3D010
|
||||
data = length 10, hash 7A0D0F2B
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 36477, hash F0F36CFE
|
||||
sample 1:
|
||||
time = 67000
|
||||
flags = 0
|
||||
data = length 5341, hash 40B85E2
|
||||
sample 2:
|
||||
time = 33000
|
||||
flags = 0
|
||||
data = length 596, hash 357B4D92
|
||||
sample 3:
|
||||
time = 200000
|
||||
flags = 0
|
||||
data = length 7704, hash A39EDA06
|
||||
sample 4:
|
||||
time = 133000
|
||||
flags = 0
|
||||
data = length 989, hash 2813C72D
|
||||
sample 5:
|
||||
time = 100000
|
||||
flags = 0
|
||||
data = length 721, hash C50D1C73
|
||||
sample 6:
|
||||
time = 167000
|
||||
flags = 0
|
||||
data = length 519, hash 65FE1911
|
||||
sample 7:
|
||||
time = 333000
|
||||
flags = 0
|
||||
data = length 6160, hash E1CAC0EC
|
||||
sample 8:
|
||||
time = 267000
|
||||
flags = 0
|
||||
data = length 953, hash 7160C661
|
||||
sample 9:
|
||||
time = 233000
|
||||
flags = 0
|
||||
data = length 620, hash 7A7AE07C
|
||||
sample 10:
|
||||
time = 300000
|
||||
flags = 0
|
||||
data = length 405, hash 5CC7F4E7
|
||||
sample 11:
|
||||
time = 433000
|
||||
flags = 0
|
||||
data = length 4852, hash 9DB6979D
|
||||
sample 12:
|
||||
time = 400000
|
||||
flags = 0
|
||||
data = length 547, hash E31A6979
|
||||
sample 13:
|
||||
time = 367000
|
||||
flags = 0
|
||||
data = length 570, hash FEC40D00
|
||||
sample 14:
|
||||
time = 567000
|
||||
flags = 0
|
||||
data = length 5525, hash 7C478F7E
|
||||
sample 15:
|
||||
time = 500000
|
||||
flags = 0
|
||||
data = length 1082, hash DA07059A
|
||||
sample 16:
|
||||
time = 467000
|
||||
flags = 0
|
||||
data = length 807, hash 93478E6B
|
||||
sample 17:
|
||||
time = 533000
|
||||
flags = 0
|
||||
data = length 744, hash 9A8E6026
|
||||
sample 18:
|
||||
time = 700000
|
||||
flags = 0
|
||||
data = length 4732, hash C73B23C0
|
||||
sample 19:
|
||||
time = 633000
|
||||
flags = 0
|
||||
data = length 1004, hash 8A19A228
|
||||
sample 20:
|
||||
time = 600000
|
||||
flags = 0
|
||||
data = length 794, hash 8126022C
|
||||
sample 21:
|
||||
time = 667000
|
||||
flags = 0
|
||||
data = length 645, hash F08300E5
|
||||
sample 22:
|
||||
time = 833000
|
||||
flags = 0
|
||||
data = length 2684, hash 727FE378
|
||||
sample 23:
|
||||
time = 767000
|
||||
flags = 0
|
||||
data = length 787, hash 419A7821
|
||||
sample 24:
|
||||
time = 733000
|
||||
flags = 0
|
||||
data = length 649, hash 5C159346
|
||||
sample 25:
|
||||
time = 800000
|
||||
flags = 0
|
||||
data = length 509, hash F912D655
|
||||
sample 26:
|
||||
time = 967000
|
||||
flags = 0
|
||||
data = length 1226, hash 29815C21
|
||||
sample 27:
|
||||
time = 900000
|
||||
flags = 0
|
||||
data = length 898, hash D997AD0A
|
||||
sample 28:
|
||||
time = 867000
|
||||
flags = 0
|
||||
data = length 476, hash A0423645
|
||||
sample 29:
|
||||
time = 933000
|
||||
flags = 0
|
||||
data = length 486, hash DDF32CBB
|
||||
track 2:
|
||||
total output bytes = 12120
|
||||
sample count = 29
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = audio/ac3
|
||||
channelCount = 1
|
||||
sampleRate = 44100
|
||||
selectionFlags = 1
|
||||
language = und
|
||||
sample 0:
|
||||
time = 62000
|
||||
flags = 1
|
||||
data = length 416, hash 211F2286
|
||||
sample 1:
|
||||
time = 97000
|
||||
flags = 1
|
||||
data = length 418, hash 77425A86
|
||||
sample 2:
|
||||
time = 131000
|
||||
flags = 1
|
||||
data = length 418, hash A0FE5CA1
|
||||
sample 3:
|
||||
time = 166000
|
||||
flags = 1
|
||||
data = length 418, hash 2309B066
|
||||
sample 4:
|
||||
time = 201000
|
||||
flags = 1
|
||||
data = length 418, hash 928A653B
|
||||
sample 5:
|
||||
time = 236000
|
||||
flags = 1
|
||||
data = length 418, hash 3422F0CB
|
||||
sample 6:
|
||||
time = 270000
|
||||
flags = 1
|
||||
data = length 418, hash EFF43D5B
|
||||
sample 7:
|
||||
time = 306000
|
||||
flags = 1
|
||||
data = length 418, hash FC8093C7
|
||||
sample 8:
|
||||
time = 341000
|
||||
flags = 1
|
||||
data = length 418, hash CCC08A16
|
||||
sample 9:
|
||||
time = 376000
|
||||
flags = 1
|
||||
data = length 418, hash 2A6EE863
|
||||
sample 10:
|
||||
time = 410000
|
||||
flags = 1
|
||||
data = length 418, hash D69A9251
|
||||
sample 11:
|
||||
time = 445000
|
||||
flags = 1
|
||||
data = length 418, hash BCFB758D
|
||||
sample 12:
|
||||
time = 480000
|
||||
flags = 1
|
||||
data = length 418, hash 11B66799
|
||||
sample 13:
|
||||
time = 514000
|
||||
flags = 1
|
||||
data = length 418, hash C824D392
|
||||
sample 14:
|
||||
time = 550000
|
||||
flags = 1
|
||||
data = length 418, hash C167D872
|
||||
sample 15:
|
||||
time = 585000
|
||||
flags = 1
|
||||
data = length 418, hash 4221C855
|
||||
sample 16:
|
||||
time = 620000
|
||||
flags = 1
|
||||
data = length 418, hash 4D4FF934
|
||||
sample 17:
|
||||
time = 654000
|
||||
flags = 1
|
||||
data = length 418, hash 984AA025
|
||||
sample 18:
|
||||
time = 690000
|
||||
flags = 1
|
||||
data = length 418, hash BB788B46
|
||||
sample 19:
|
||||
time = 724000
|
||||
flags = 1
|
||||
data = length 418, hash 9EFBFD97
|
||||
sample 20:
|
||||
time = 759000
|
||||
flags = 1
|
||||
data = length 418, hash DF1A460C
|
||||
sample 21:
|
||||
time = 793000
|
||||
flags = 1
|
||||
data = length 418, hash 2BDB56A
|
||||
sample 22:
|
||||
time = 829000
|
||||
flags = 1
|
||||
data = length 418, hash CA230060
|
||||
sample 23:
|
||||
time = 864000
|
||||
flags = 1
|
||||
data = length 418, hash D2F19F41
|
||||
sample 24:
|
||||
time = 898000
|
||||
flags = 1
|
||||
data = length 418, hash AF392D79
|
||||
sample 25:
|
||||
time = 932000
|
||||
flags = 1
|
||||
data = length 418, hash C5D7F2A3
|
||||
sample 26:
|
||||
time = 968000
|
||||
flags = 1
|
||||
data = length 418, hash 733A35AE
|
||||
sample 27:
|
||||
time = 1002000
|
||||
flags = 1
|
||||
data = length 418, hash DE46E5D3
|
||||
sample 28:
|
||||
time = 1037000
|
||||
flags = 1
|
||||
data = length 418, hash 56AB8D37
|
||||
track 3:
|
||||
total output bytes = 59
|
||||
sample count = 1
|
||||
format 0:
|
||||
id = 3
|
||||
sampleMimeType = application/x-subrip
|
||||
language = en
|
||||
label = Subs Label
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
data = length 59, hash 1AD38625
|
||||
tracksEnded = true
|
||||
Loading…
Reference in a new issue