UNPKG
mp4box
Version:
latest (0.5.4)
0.5.4
0.5.3
0.5.2
0.5.1
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.1
0.4.0
0.3.20
0.3.19
0.3.16
0.3.15
0.3.11
0.3.8
0.1.0
JavaScript version of GPAC's MP4Box tool
github.com/gpac/mp4box.js
gpac/mp4box.js
mp4box
/
src
/
parsing
/
pixi.js
10 lines
(8 loc)
•
263 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
BoxParser.createFullBoxCtor(
"pixi"
,
"PixelInformationProperty"
, function(stream) {
var
i;
this
.num_channels = stream.readUint8();
this
.bits_per_channels = [];
for
(i =
0
; i <
this
.num_channels; i++) {
this
.bits_per_channels[i] = stream.readUint8(); } });