This commit is contained in:
Vanilagy
2025-01-02 23:31:06 +01:00
parent 60947168f9
commit a3f19f6f08
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -43,10 +43,10 @@ console.log(await input.getMimeType())
let videoTrack = await input.getPrimaryVideoTrack();
let audioTrack = await input.getPrimaryAudioTrack();
if (!(await videoTrack.canDecode())) {
if (!(await videoTrack?.canDecode())) {
videoTrack = null;
}
if (!(await audioTrack.canDecode())) {
if (!(await audioTrack?.canDecode())) {
audioTrack = null;
}
+2 -1
View File
@@ -2,4 +2,5 @@
- Throw if edit list detected
- Add the new audio codecs to muxers
- Mov muxer!!! Only mov can hold PCM audio, MP4 cannot
- Metadata methods for computing average fps and bitrate
- Metadata methods for computing average fps and bitrate
- A stream source?? Or like a callback-driven source