Add NAL unit start code in csd0/csd1 test data
The actual csd data contains NAL units so it should always start with a NAL unit start code (00 00 00 01). This issue was not caught before because in the code there was no validation to check whether its a valid NAL unit. PiperOrigin-RevId: 524849867
This commit is contained in:
parent
ffa3743069
commit
3b9ee1c1a1
@ -12,13 +12,13 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
rotationDegrees = 180
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
rotationDegrees = 270
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
rotationDegrees = 90
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
frameRate = 20000.0
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
@ -34,14 +34,14 @@ track 1:
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
frameRate = 10000.0
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
|
@ -2,7 +2,7 @@ ftyp (28 bytes):
|
||||
Data = length 20, hash EF896440
|
||||
mdat (71 bytes):
|
||||
Data = length 55, hash 6B19F4A7
|
||||
moov (764 bytes):
|
||||
moov (772 bytes):
|
||||
mvhd (108 bytes):
|
||||
Data = length 100, hash A5ADE288
|
||||
meta (114 bytes):
|
||||
@ -12,22 +12,22 @@ moov (764 bytes):
|
||||
Data = length 29, hash 45F2DCDF
|
||||
ilst (36 bytes):
|
||||
Data = length 28, hash 2BFD5C32
|
||||
trak (534 bytes):
|
||||
trak (542 bytes):
|
||||
tkhd (92 bytes):
|
||||
Data = length 84, hash 8893F5BB
|
||||
mdia (434 bytes):
|
||||
mdia (442 bytes):
|
||||
mdhd (32 bytes):
|
||||
Data = length 24, hash 50217AD
|
||||
hdlr (44 bytes):
|
||||
Data = length 36, hash A0852FF2
|
||||
minf (350 bytes):
|
||||
minf (358 bytes):
|
||||
vmhd (20 bytes):
|
||||
Data = length 12, hash EE830681
|
||||
dinf (36 bytes):
|
||||
Data = length 28, hash D535436B
|
||||
stbl (286 bytes):
|
||||
stsd (158 bytes):
|
||||
Data = length 150, hash 2AD095C5
|
||||
stbl (294 bytes):
|
||||
stsd (166 bytes):
|
||||
Data = length 158, hash B2A35483
|
||||
stts (24 bytes):
|
||||
Data = length 16, hash E4FC6483
|
||||
stsz (24 bytes):
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
metadata = entries=[mdta: key=com.android.capture.fps, value=42f00000]
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
metadata = entries=[xyz: latitude=33.0, longitude=-120.0]
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,13 +12,13 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 536870913
|
||||
|
@ -12,14 +12,14 @@ track 0:
|
||||
format 0:
|
||||
id = 1
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
frameRate = 20000.0
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
@ -34,14 +34,14 @@ track 1:
|
||||
format 0:
|
||||
id = 2
|
||||
sampleMimeType = video/avc
|
||||
codecs = avc1.9B2BF3
|
||||
codecs = avc1.F4000A
|
||||
maxInputSize = 85
|
||||
width = 12
|
||||
height = 10
|
||||
frameRate = 10000.0
|
||||
initializationData:
|
||||
data = length 24, hash 7F12E259
|
||||
data = length 5, hash 1B4D906
|
||||
data = length 28, hash 410B510
|
||||
data = length 9, hash FBADD682
|
||||
sample 0:
|
||||
time = 0
|
||||
flags = 1
|
||||
|
@ -2,7 +2,7 @@ ftyp (28 bytes):
|
||||
Data = length 20, hash EF896440
|
||||
mdat (71 bytes):
|
||||
Data = length 55, hash 6B19F4A7
|
||||
moov (778 bytes):
|
||||
moov (786 bytes):
|
||||
mvhd (108 bytes):
|
||||
Data = length 100, hash A5ADE288
|
||||
meta (128 bytes):
|
||||
@ -12,22 +12,22 @@ moov (778 bytes):
|
||||
Data = length 29, hash 45F2DCDF
|
||||
ilst (50 bytes):
|
||||
Data = length 42, hash F4AA183B
|
||||
trak (534 bytes):
|
||||
trak (542 bytes):
|
||||
tkhd (92 bytes):
|
||||
Data = length 84, hash 8893F5BB
|
||||
mdia (434 bytes):
|
||||
mdia (442 bytes):
|
||||
mdhd (32 bytes):
|
||||
Data = length 24, hash 50217AD
|
||||
hdlr (44 bytes):
|
||||
Data = length 36, hash A0852FF2
|
||||
minf (350 bytes):
|
||||
minf (358 bytes):
|
||||
vmhd (20 bytes):
|
||||
Data = length 12, hash EE830681
|
||||
dinf (36 bytes):
|
||||
Data = length 28, hash D535436B
|
||||
stbl (286 bytes):
|
||||
stsd (158 bytes):
|
||||
Data = length 150, hash 2AD095C5
|
||||
stbl (294 bytes):
|
||||
stsd (166 bytes):
|
||||
Data = length 158, hash B2A35483
|
||||
stts (24 bytes):
|
||||
Data = length 16, hash E4FC6483
|
||||
stsz (24 bytes):
|
||||
|
@ -2,25 +2,25 @@ ftyp (28 bytes):
|
||||
Data = length 20, hash EF896440
|
||||
mdat (71 bytes):
|
||||
Data = length 55, hash 6B19F4A7
|
||||
moov (650 bytes):
|
||||
moov (658 bytes):
|
||||
mvhd (108 bytes):
|
||||
Data = length 100, hash A5ADE288
|
||||
trak (534 bytes):
|
||||
trak (542 bytes):
|
||||
tkhd (92 bytes):
|
||||
Data = length 84, hash 8893F5BB
|
||||
mdia (434 bytes):
|
||||
mdia (442 bytes):
|
||||
mdhd (32 bytes):
|
||||
Data = length 24, hash 50217AD
|
||||
hdlr (44 bytes):
|
||||
Data = length 36, hash A0852FF2
|
||||
minf (350 bytes):
|
||||
minf (358 bytes):
|
||||
vmhd (20 bytes):
|
||||
Data = length 12, hash EE830681
|
||||
dinf (36 bytes):
|
||||
Data = length 28, hash D535436B
|
||||
stbl (286 bytes):
|
||||
stsd (158 bytes):
|
||||
Data = length 150, hash 2AD095C5
|
||||
stbl (294 bytes):
|
||||
stsd (166 bytes):
|
||||
Data = length 158, hash B2A35483
|
||||
stts (24 bytes):
|
||||
Data = length 16, hash E4FC6483
|
||||
stsz (24 bytes):
|
||||
|
Loading…
x
Reference in New Issue
Block a user