Comparing version 5.0.1 to 5.1.0
@@ -19,3 +19,9 @@ declare type TransformationMatrix = [number, number, number, number, number, number, number, number, number]; | ||
*/ | ||
rotation?: 0 | 90 | 180 | 270 | TransformationMatrix | ||
rotation?: 0 | 90 | 180 | 270 | TransformationMatrix, | ||
/** | ||
* The frame rate of the video. When provided, timestamps will be rounded according to this value. It is still the | ||
* responsibility of the developer to supply just enough frames to maintain this frame rate without gaps or | ||
* duplicate frames. | ||
*/ | ||
frameRate?: number | ||
} | ||
@@ -22,0 +28,0 @@ |
{ | ||
"name": "mp4-muxer", | ||
"version": "5.0.1", | ||
"version": "5.1.0", | ||
"description": "MP4 multiplexer in pure TypeScript with support for WebCodecs API, video & audio.", | ||
@@ -22,3 +22,4 @@ "main": "./build/mp4-muxer.js", | ||
"scripts": { | ||
"watch": "node build.mjs", | ||
"build": "node build.mjs", | ||
"watch": "node build.mjs --watch", | ||
"check": "npx tsc --noEmit --skipLibCheck", | ||
@@ -25,0 +26,0 @@ "lint": "npx eslint src demo build" |
@@ -99,3 +99,7 @@ # mp4-muxer - JavaScript MP4 multiplexer | ||
// Adds rotation metadata to the file | ||
rotation?: 0 | 90 | 180 | 270 | TransformationMatrix | ||
rotation?: 0 | 90 | 180 | 270 | TransformationMatrix, | ||
// Specifies the expected frame rate of the video track. When present, | ||
// timestamps will be rounded according to this value. | ||
frameRate?: number | ||
}, | ||
@@ -102,0 +106,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
166517
3870
363