@invintusmedia/tomp4 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tomp4.js +2 -2
- package/package.json +1 -1
- package/src/hls-clip.js +5 -1
- package/src/index.js +1 -1
package/dist/tomp4.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* toMp4.js v1.4.
|
|
2
|
+
* toMp4.js v1.4.3
|
|
3
3
|
* Convert MPEG-TS and fMP4 to standard MP4
|
|
4
4
|
* https://github.com/TVWIT/toMp4.js
|
|
5
5
|
* MIT License
|
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
toMp4.isMpegTs = isMpegTs;
|
|
1187
1187
|
toMp4.isFmp4 = isFmp4;
|
|
1188
1188
|
toMp4.isStandardMp4 = isStandardMp4;
|
|
1189
|
-
toMp4.version = '1.4.
|
|
1189
|
+
toMp4.version = '1.4.3';
|
|
1190
1190
|
|
|
1191
1191
|
return toMp4;
|
|
1192
1192
|
});
|
package/package.json
CHANGED
package/src/hls-clip.js
CHANGED
|
@@ -114,7 +114,11 @@ function clipSegment(parser, startTime, endTime, options = {}) {
|
|
|
114
114
|
if (videoAUs[i].pts >= startPts) { targetIdx = i; break; }
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
// Smart rendering is available but currently disabled for HLS output
|
|
118
|
+
// because the JS H.264 encoder's CAVLC output has bugs at high resolutions
|
|
119
|
+
// (works at 288x160 but fails at 1080p). Fall back to keyframe-accurate.
|
|
120
|
+
// TODO: Fix CAVLC encoding for high-resolution frames to re-enable.
|
|
121
|
+
const needsSmartRender = false;
|
|
118
122
|
|
|
119
123
|
let clippedVideo, clippedAudio, startOffset;
|
|
120
124
|
|
package/src/index.js
CHANGED