mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Oops
This commit is contained in:
+2
-2
@@ -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,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
|
||||
Reference in New Issue
Block a user