mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 21:33:52 +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 videoTrack = await input.getPrimaryVideoTrack();
|
||||||
let audioTrack = await input.getPrimaryAudioTrack();
|
let audioTrack = await input.getPrimaryAudioTrack();
|
||||||
|
|
||||||
if (!(await videoTrack.canDecode())) {
|
if (!(await videoTrack?.canDecode())) {
|
||||||
videoTrack = null;
|
videoTrack = null;
|
||||||
}
|
}
|
||||||
if (!(await audioTrack.canDecode())) {
|
if (!(await audioTrack?.canDecode())) {
|
||||||
audioTrack = null;
|
audioTrack = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,3 +3,4 @@
|
|||||||
- Add the new audio codecs to muxers
|
- Add the new audio codecs to muxers
|
||||||
- Mov muxer!!! Only mov can hold PCM audio, MP4 cannot
|
- 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