mp4-box-encoding

WebJar for mp4-box-encoding

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

mp4-box-encoding
Последняя версия

Последняя версия

1.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

mp4-box-encoding
WebJar for mp4-box-encoding
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/jhiesey/mp4-box-encoding

Скачать mp4-box-encoding

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mp4-box-encoding/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mp4-box-encoding</artifactId>
    <version>1.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mp4-box-encoding/
implementation 'org.webjars.npm:mp4-box-encoding:1.3.0'
// https://jarcasting.com/artifacts/org.webjars.npm/mp4-box-encoding/
implementation ("org.webjars.npm:mp4-box-encoding:1.3.0")
'org.webjars.npm:mp4-box-encoding:jar:1.3.0'
<dependency org="org.webjars.npm" name="mp4-box-encoding" rev="1.3.0">
  <artifact name="mp4-box-encoding" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mp4-box-encoding', version='1.3.0')
)
libraryDependencies += "org.webjars.npm" % "mp4-box-encoding" % "1.3.0"
[org.webjars.npm/mp4-box-encoding "1.3.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.npm : buffer-alloc jar [1.2.0,2)
org.webjars.npm : buffer-from jar [1.1.0,2)
org.webjars.npm : uint64be jar [2.0.2,3)

Модули Проекта

Данный проект не имеет модулей.

abstract-encoding

mp4-box-encoding

This module provides encoders and decoders with the abstract encoding interface.

The module exports the interface for a generic box, including all headers and children (for container boxes) Encodings for many leaf (non-container) boxes, without headers, is available keyed by the box type:

var box = require('mp4-box-encoding')

var buffer = fs.readFileSync('myvideo.mp4')
// decode any box including headers
// decode the entire moov box and its children
var moov = box.decode(buffer.slice(24, 236989))

var moov.mfhd.mtime = new Date() // Change the modification time

// now this is an encoding of the modified moov box
var moofBuffer = box.encode(moov)

// decode the contents of just the stts box
var stts = box.decode(buffer.slice(609, 625))

These encodings are factored out of mp4-stream.

License

MIT

Версии библиотеки

Версия
1.3.0