Skip to content

uupaa/H264.js

Repository files navigation

H264.js Build Status

npm

H264/AVC, MPEG2-TS ByteStream, H.264 RawStream to NALUnit.

This module made of WebModule.

Documentation

Browser, NW.js and Electron

<script src="<module-dir>/lib/WebModule.js"></script>
<script src="<module-dir>/lib/H264.js"></script>
<script>

var videoH264RawStream = new Uint8Array(...)
var videoNALUnitObject = H264.convertRawStreamToNALUnitObject( videoH264RawStream );

</script>

WebWorkers

importScripts("<module-dir>lib/WebModule.js");
importScripts("<module-dir>lib/H264.js");

Node.js

require("<module-dir>lib/WebModule.js");
require("<module-dir>lib/H264.js");

About

H264/AVC, MPEG2-TS ByteStream, H.264 RawStream to NALUnit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published