Members
NALU_TYPE_AUD_ :number
NALU type for Access Unit Delimiter (AUD) for H.265.
Type:
- number
- Source:
NALU_TYPE_CRA_NUT_ :number
NALU type for Clean Random Access (CRA) for H.265.
Type:
- number
- Source:
NALU_TYPE_IDR_N_LP_ :number
NALU type for Instantaneous Decoder Refresh (IDR) for H.265.
Type:
- number
- Source:
NALU_TYPE_IDR_W_RADL_ :number
NALU type for Instantaneous Decoder Refresh (IDR) for H.265.
Type:
- number
- Source:
NALU_TYPE_PPS_ :number
NALU type for Picture Parameter Set (PPS) for H.265.
Type:
- number
- Source:
NALU_TYPE_SEI_PREFIX_ :number
NALU type for Supplemental Enhancement Information (SEI) for H.265.
Type:
- number
- Source:
NALU_TYPE_SEI_SUFFIX_ :number
NALU type for Supplemental Enhancement Information (SEI) for H.265.
Type:
- number
- Source:
NALU_TYPE_SPS_ :number
NALU type for Sequence Parameter Set (SPS) for H.265.
Type:
- number
- Source:
NALU_TYPE_TRAIL_N_ :number
NALU type for non-reference trailing picture for H.265.
Type:
- number
- Source:
NALU_TYPE_TRAIL_R_ :number
NALU type for reference trailing picture for H.265.
Type:
- number
- Source:
NALU_TYPE_VPS_ :number
NALU type for Video Parameter Set (VPS) for H.265.
Type:
- number
- Source:
Methods
getVideoConfiguration_(vpsnon-null, spsnon-null, ppsnon-null, detail) → {Uint8Array}
Parameters:
Name | Type | Description |
---|---|---|
vps |
Uint8Array | |
sps |
Uint8Array | |
pps |
Uint8Array | |
detail |
shaka.transmuxer.H265.DecoderConfigurationRecordType |
- Source:
Returns:
- Type
- Uint8Array
parseFrame(nalusnon-null) → {?{data: !Uint8Array, isKeyframe: boolean}}
Parameters:
Name | Type | Description |
---|---|---|
nalus |
Array.<shaka.extern.VideoNalu> |
- Source:
Returns:
- Type
- ?{data: !Uint8Array, isKeyframe: boolean}
parseInfo(nalusnon-null) → {?{height: number, width: number, videoConfig: !Uint8Array, hSpacing: number, vSpacing: number}}
Read a sequence parameter set and return some interesting video
properties. A sequence parameter set is the H265 metadata that
describes the properties of upcoming video frames.
Parameters:
Name | Type | Description |
---|---|---|
nalus |
Array.<shaka.extern.VideoNalu> |
- Source:
Returns:
- Type
- ?{height: number, width: number, videoConfig: !Uint8Array, hSpacing: number, vSpacing: number}
parsePPS_(datanon-null) → {shaka.transmuxer.H265.PPSConfiguration}
Parameters:
Name | Type | Description |
---|---|---|
data |
Uint8Array |
- Source:
Returns:
parseSPS_(datanon-null) → {shaka.transmuxer.H265.SPSConfiguration}
The code is based on mpegts.js
https://github.com/xqq/mpegts.js/blob/master/src/demux/h265-parser.js#L65
Parameters:
Name | Type | Description |
---|---|---|
data |
Uint8Array |
- Source:
Returns:
parseVPS_(datanon-null) → {shaka.transmuxer.H265.VPSConfiguration}
Parameters:
Name | Type | Description |
---|---|---|
data |
Uint8Array |
- Source:
Returns:
Type Definitions
DecoderConfigurationRecordType
Type:
- {numTemporalLayers: number, temporalIdNested: boolean, generalProfileSpace: number, generalTierFlag: number, generalLevelIdc: number, generalProfileIdc: number, generalProfileCompatibilityFlags1: number, generalProfileCompatibilityFlags2: number, generalProfileCompatibilityFlags3: number, generalProfileCompatibilityFlags4: number, generalConstraintIndicatorFlags1: number, generalConstraintIndicatorFlags2: number, generalConstraintIndicatorFlags3: number, generalConstraintIndicatorFlags4: number, generalConstraintIndicatorFlags5: number, generalConstraintIndicatorFlags6: number, constantFrameRate: number, minSpatialSegmentationIdc: number, chromaFormatIdc: number, bitDepthLumaMinus8: number, bitDepthChromaMinus8: number, parallelismType: number}
Properties:
Name | Type | Description |
---|---|---|
numTemporalLayers |
number | |
temporalIdNested |
boolean | |
generalProfileSpace |
number | |
generalTierFlag |
number | |
generalLevelIdc |
number | |
generalProfileIdc |
number | |
generalProfileCompatibilityFlags1 |
number | |
generalProfileCompatibilityFlags2 |
number | |
generalProfileCompatibilityFlags3 |
number | |
generalProfileCompatibilityFlags4 |
number | |
generalConstraintIndicatorFlags1 |
number | |
generalConstraintIndicatorFlags2 |
number | |
generalConstraintIndicatorFlags3 |
number | |
generalConstraintIndicatorFlags4 |
number | |
generalConstraintIndicatorFlags5 |
number | |
generalConstraintIndicatorFlags6 |
number | |
constantFrameRate |
number | |
minSpatialSegmentationIdc |
number | |
chromaFormatIdc |
number | |
bitDepthLumaMinus8 |
number | |
bitDepthChromaMinus8 |
number | |
parallelismType |
number |
- Source:
PPSConfiguration
Type:
- {parallelismType: number}
Properties:
Name | Type | Description |
---|---|---|
parallelismType |
number |
- Source:
SPSConfiguration
Type:
- {generalProfileSpace: number, generalTierFlag: number, generalLevelIdc: number, generalProfileIdc: number, generalProfileCompatibilityFlags1: number, generalProfileCompatibilityFlags2: number, generalProfileCompatibilityFlags3: number, generalProfileCompatibilityFlags4: number, generalConstraintIndicatorFlags1: number, generalConstraintIndicatorFlags2: number, generalConstraintIndicatorFlags3: number, generalConstraintIndicatorFlags4: number, generalConstraintIndicatorFlags5: number, generalConstraintIndicatorFlags6: number, constantFrameRate: number, minSpatialSegmentationIdc: number, chromaFormatIdc: number, bitDepthLumaMinus8: number, bitDepthChromaMinus8: number, width: number, height: number, sarWidth: number, sarHeight: number}
Properties:
Name | Type | Description |
---|---|---|
generalProfileSpace |
number | |
generalTierFlag |
number | |
generalLevelIdc |
number | |
generalProfileIdc |
number | |
generalProfileCompatibilityFlags1 |
number | |
generalProfileCompatibilityFlags2 |
number | |
generalProfileCompatibilityFlags3 |
number | |
generalProfileCompatibilityFlags4 |
number | |
generalConstraintIndicatorFlags1 |
number | |
generalConstraintIndicatorFlags2 |
number | |
generalConstraintIndicatorFlags3 |
number | |
generalConstraintIndicatorFlags4 |
number | |
generalConstraintIndicatorFlags5 |
number | |
generalConstraintIndicatorFlags6 |
number | |
constantFrameRate |
number | |
minSpatialSegmentationIdc |
number | |
chromaFormatIdc |
number | |
bitDepthLumaMinus8 |
number | |
bitDepthChromaMinus8 |
number | |
width |
number | |
height |
number | |
sarWidth |
number | |
sarHeight |
number |
- Source:
VPSConfiguration
Type:
- {numTemporalLayers: number, temporalIdNested: boolean}
Properties:
Name | Type | Description |
---|---|---|
numTemporalLayers |
number | |
temporalIdNested |
boolean |
- Source: