BikHeader
Defined in: bik-decoder.ts:19
Decoded header of a BIK file.
Properties
Section titled “Properties”audioTracks
Section titled “audioTracks”audioTracks:
BikAudioTrackHeader[]
Defined in: bik-decoder.ts:114
Array containing decoded header information for each individual audio track stored in the encoded file.
fileSize
Section titled “fileSize”fileSize:
number
Defined in: bik-decoder.ts:33
Total size of the encoded file (in bytes).
fps:
number
Defined in: bik-decoder.ts:62
Number of frames per second that the video in the file should be played at.
frames
Section titled “frames”frames:
BikFrameHeader[]
Defined in: bik-decoder.ts:120
Array containing decoded header information for each individual video frame stored in the encoded file.
height
Section titled “height”height:
number
Defined in: bik-decoder.ts:57
Height of each video frame (in pixels).
largestFrameSize
Section titled “largestFrameSize”largestFrameSize:
number
Defined in: bik-decoder.ts:47
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:108
Total number of audio tracks stored in the encoded file.
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:41
Number of (video) frames stored in the file.
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:28
Sub-version of the encoded file format.
version
Section titled “version”version:
1|2
Defined in: bik-decoder.ts:23
Version of the encoded file format.
videoFlags
Section titled “videoFlags”videoFlags:
object
Defined in: bik-decoder.ts:67
Flags providing additional information about the encoded file.
hasAlpha
Section titled “hasAlpha”hasAlpha:
boolean
When true, the encoded file contains an alpha plane for each frame. Otherwise the file
contains no alpha information.
hasSwappedUVPlanes
Section titled “hasSwappedUVPlanes”hasSwappedUVPlanes:
boolean
When true, the U and V planes in the encoded file 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 file doesn’t contain U or V planes. Otherwise the file 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:52
Width of each video frame (in pixels).