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:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
rotationDegrees = 180
|
rotationDegrees = 180
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
rotationDegrees = 270
|
rotationDegrees = 270
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
rotationDegrees = 90
|
rotationDegrees = 90
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
frameRate = 20000.0
|
frameRate = 20000.0
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
@ -34,14 +34,14 @@ track 1:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 2
|
id = 2
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
frameRate = 10000.0
|
frameRate = 10000.0
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
|
@ -2,7 +2,7 @@ ftyp (28 bytes):
|
|||||||
Data = length 20, hash EF896440
|
Data = length 20, hash EF896440
|
||||||
mdat (71 bytes):
|
mdat (71 bytes):
|
||||||
Data = length 55, hash 6B19F4A7
|
Data = length 55, hash 6B19F4A7
|
||||||
moov (764 bytes):
|
moov (772 bytes):
|
||||||
mvhd (108 bytes):
|
mvhd (108 bytes):
|
||||||
Data = length 100, hash A5ADE288
|
Data = length 100, hash A5ADE288
|
||||||
meta (114 bytes):
|
meta (114 bytes):
|
||||||
@ -12,22 +12,22 @@ moov (764 bytes):
|
|||||||
Data = length 29, hash 45F2DCDF
|
Data = length 29, hash 45F2DCDF
|
||||||
ilst (36 bytes):
|
ilst (36 bytes):
|
||||||
Data = length 28, hash 2BFD5C32
|
Data = length 28, hash 2BFD5C32
|
||||||
trak (534 bytes):
|
trak (542 bytes):
|
||||||
tkhd (92 bytes):
|
tkhd (92 bytes):
|
||||||
Data = length 84, hash 8893F5BB
|
Data = length 84, hash 8893F5BB
|
||||||
mdia (434 bytes):
|
mdia (442 bytes):
|
||||||
mdhd (32 bytes):
|
mdhd (32 bytes):
|
||||||
Data = length 24, hash 50217AD
|
Data = length 24, hash 50217AD
|
||||||
hdlr (44 bytes):
|
hdlr (44 bytes):
|
||||||
Data = length 36, hash A0852FF2
|
Data = length 36, hash A0852FF2
|
||||||
minf (350 bytes):
|
minf (358 bytes):
|
||||||
vmhd (20 bytes):
|
vmhd (20 bytes):
|
||||||
Data = length 12, hash EE830681
|
Data = length 12, hash EE830681
|
||||||
dinf (36 bytes):
|
dinf (36 bytes):
|
||||||
Data = length 28, hash D535436B
|
Data = length 28, hash D535436B
|
||||||
stbl (286 bytes):
|
stbl (294 bytes):
|
||||||
stsd (158 bytes):
|
stsd (166 bytes):
|
||||||
Data = length 150, hash 2AD095C5
|
Data = length 158, hash B2A35483
|
||||||
stts (24 bytes):
|
stts (24 bytes):
|
||||||
Data = length 16, hash E4FC6483
|
Data = length 16, hash E4FC6483
|
||||||
stsz (24 bytes):
|
stsz (24 bytes):
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
metadata = entries=[mdta: key=com.android.capture.fps, value=42f00000]
|
metadata = entries=[mdta: key=com.android.capture.fps, value=42f00000]
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
metadata = entries=[xyz: latitude=33.0, longitude=-120.0]
|
metadata = entries=[xyz: latitude=33.0, longitude=-120.0]
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,13 +12,13 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 536870913
|
flags = 536870913
|
||||||
|
@ -12,14 +12,14 @@ track 0:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 1
|
id = 1
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
frameRate = 20000.0
|
frameRate = 20000.0
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
@ -34,14 +34,14 @@ track 1:
|
|||||||
format 0:
|
format 0:
|
||||||
id = 2
|
id = 2
|
||||||
sampleMimeType = video/avc
|
sampleMimeType = video/avc
|
||||||
codecs = avc1.9B2BF3
|
codecs = avc1.F4000A
|
||||||
maxInputSize = 85
|
maxInputSize = 85
|
||||||
width = 12
|
width = 12
|
||||||
height = 10
|
height = 10
|
||||||
frameRate = 10000.0
|
frameRate = 10000.0
|
||||||
initializationData:
|
initializationData:
|
||||||
data = length 24, hash 7F12E259
|
data = length 28, hash 410B510
|
||||||
data = length 5, hash 1B4D906
|
data = length 9, hash FBADD682
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
|
@ -2,7 +2,7 @@ ftyp (28 bytes):
|
|||||||
Data = length 20, hash EF896440
|
Data = length 20, hash EF896440
|
||||||
mdat (71 bytes):
|
mdat (71 bytes):
|
||||||
Data = length 55, hash 6B19F4A7
|
Data = length 55, hash 6B19F4A7
|
||||||
moov (778 bytes):
|
moov (786 bytes):
|
||||||
mvhd (108 bytes):
|
mvhd (108 bytes):
|
||||||
Data = length 100, hash A5ADE288
|
Data = length 100, hash A5ADE288
|
||||||
meta (128 bytes):
|
meta (128 bytes):
|
||||||
@ -12,22 +12,22 @@ moov (778 bytes):
|
|||||||
Data = length 29, hash 45F2DCDF
|
Data = length 29, hash 45F2DCDF
|
||||||
ilst (50 bytes):
|
ilst (50 bytes):
|
||||||
Data = length 42, hash F4AA183B
|
Data = length 42, hash F4AA183B
|
||||||
trak (534 bytes):
|
trak (542 bytes):
|
||||||
tkhd (92 bytes):
|
tkhd (92 bytes):
|
||||||
Data = length 84, hash 8893F5BB
|
Data = length 84, hash 8893F5BB
|
||||||
mdia (434 bytes):
|
mdia (442 bytes):
|
||||||
mdhd (32 bytes):
|
mdhd (32 bytes):
|
||||||
Data = length 24, hash 50217AD
|
Data = length 24, hash 50217AD
|
||||||
hdlr (44 bytes):
|
hdlr (44 bytes):
|
||||||
Data = length 36, hash A0852FF2
|
Data = length 36, hash A0852FF2
|
||||||
minf (350 bytes):
|
minf (358 bytes):
|
||||||
vmhd (20 bytes):
|
vmhd (20 bytes):
|
||||||
Data = length 12, hash EE830681
|
Data = length 12, hash EE830681
|
||||||
dinf (36 bytes):
|
dinf (36 bytes):
|
||||||
Data = length 28, hash D535436B
|
Data = length 28, hash D535436B
|
||||||
stbl (286 bytes):
|
stbl (294 bytes):
|
||||||
stsd (158 bytes):
|
stsd (166 bytes):
|
||||||
Data = length 150, hash 2AD095C5
|
Data = length 158, hash B2A35483
|
||||||
stts (24 bytes):
|
stts (24 bytes):
|
||||||
Data = length 16, hash E4FC6483
|
Data = length 16, hash E4FC6483
|
||||||
stsz (24 bytes):
|
stsz (24 bytes):
|
||||||
|
@ -2,25 +2,25 @@ ftyp (28 bytes):
|
|||||||
Data = length 20, hash EF896440
|
Data = length 20, hash EF896440
|
||||||
mdat (71 bytes):
|
mdat (71 bytes):
|
||||||
Data = length 55, hash 6B19F4A7
|
Data = length 55, hash 6B19F4A7
|
||||||
moov (650 bytes):
|
moov (658 bytes):
|
||||||
mvhd (108 bytes):
|
mvhd (108 bytes):
|
||||||
Data = length 100, hash A5ADE288
|
Data = length 100, hash A5ADE288
|
||||||
trak (534 bytes):
|
trak (542 bytes):
|
||||||
tkhd (92 bytes):
|
tkhd (92 bytes):
|
||||||
Data = length 84, hash 8893F5BB
|
Data = length 84, hash 8893F5BB
|
||||||
mdia (434 bytes):
|
mdia (442 bytes):
|
||||||
mdhd (32 bytes):
|
mdhd (32 bytes):
|
||||||
Data = length 24, hash 50217AD
|
Data = length 24, hash 50217AD
|
||||||
hdlr (44 bytes):
|
hdlr (44 bytes):
|
||||||
Data = length 36, hash A0852FF2
|
Data = length 36, hash A0852FF2
|
||||||
minf (350 bytes):
|
minf (358 bytes):
|
||||||
vmhd (20 bytes):
|
vmhd (20 bytes):
|
||||||
Data = length 12, hash EE830681
|
Data = length 12, hash EE830681
|
||||||
dinf (36 bytes):
|
dinf (36 bytes):
|
||||||
Data = length 28, hash D535436B
|
Data = length 28, hash D535436B
|
||||||
stbl (286 bytes):
|
stbl (294 bytes):
|
||||||
stsd (158 bytes):
|
stsd (166 bytes):
|
||||||
Data = length 150, hash 2AD095C5
|
Data = length 158, hash B2A35483
|
||||||
stts (24 bytes):
|
stts (24 bytes):
|
||||||
Data = length 16, hash E4FC6483
|
Data = length 16, hash E4FC6483
|
||||||
stsz (24 bytes):
|
stsz (24 bytes):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user