BikHeader
Defined in: bik-decoder.ts:40
Decoded header of a BIK data source.
Properties
Section titled “Properties”audioTracks
Section titled “audioTracks”audioTracks:
BikAudioTrackHeader[]
Defined in: bik-decoder.ts:135
Array containing decoded header information for each individual audio track stored in the encoded video.
fps:
number
Defined in: bik-decoder.ts:83
Number of frames per second that the video should be played at.
frames
Section titled “frames”frames:
BikFrameHeader[]
Defined in: bik-decoder.ts:141
Array containing decoded header information for each individual video frame stored in the encoded video.
height
Section titled “height”height:
number
Defined in: bik-decoder.ts:78
Height of each video frame (in pixels).
largestFrameSize
Section titled “largestFrameSize”largestFrameSize:
number
Defined in: bik-decoder.ts:68
The total size of the largest frame (in bytes), including both audio and video that are stored with that frame.
numAudioTracks
Section titled “numAudioTracks”numAudioTracks:
number
Defined in: bik-decoder.ts:129
Total number of audio tracks stored in the encoded video.
Each track can have one or more channels (e.g. for stereo or surround sound).
numFrames
Section titled “numFrames”numFrames:
number
Defined in: bik-decoder.ts:62
Number of frames in the video.
Note that audio is stored with each frame but doesn’t necessarily correspond to the audio that should be played when the video frame is shown.
subVersion
Section titled “subVersion”subVersion:
number
Defined in: bik-decoder.ts:49
Sub-version of the encoding format.
totalSize
Section titled “totalSize”totalSize:
number
Defined in: bik-decoder.ts:54
Total size of the encoded video data (in bytes).
version
Section titled “version”version:
1|2
Defined in: bik-decoder.ts:44
Version of the encoding format.
videoFlags
Section titled “videoFlags”videoFlags:
object
Defined in: bik-decoder.ts:88
Flags providing additional information about the encoded video.
hasAlpha
Section titled “hasAlpha”hasAlpha:
boolean
When true, the encoded video contains an alpha plane for each frame. Otherwise the video
contains no alpha information.
hasSwappedUVPlanes
Section titled “hasSwappedUVPlanes”hasSwappedUVPlanes:
boolean
When true, the U and V planes in the encoded video should be swapped during the decoding
process.
This is a value intended for internal use by the decoder and should not be needed by applications that use the decoder.
isGrayscale
Section titled “isGrayscale”isGrayscale:
boolean
When true, the encoded video doesn’t contain U or V planes. Otherwise the video contains
both U and V planes.
scaling
Section titled “scaling”scaling:
number
Whether the decoded image data should be treated as scaled and/or interlaced.
- 1 = double height
- 2 = double height; interlaced
- 3 = double width
- 4 = double width and height
- 5 = double width and height; interlaced
Source: https://wiki.multimedia.cx/index.php/Bink_Container
width:
number
Defined in: bik-decoder.ts:73
Width of each video frame (in pixels).