mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Refine av1C box data
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
output.start();
|
||||
|
||||
for await (const frame of drain.frames(0, 10)) {
|
||||
console.log(frame.timestamp, frame.duration)
|
||||
await mediaSource.digest(frame);
|
||||
frame.close();
|
||||
}
|
||||
|
||||
@@ -38,6 +38,8 @@ const input = new Metamuxer.Input({
|
||||
source
|
||||
});
|
||||
|
||||
console.log(await input.getMimeType())
|
||||
|
||||
const videoTrack = await input.getPrimaryVideoTrack();
|
||||
const audioTrack = await input.getPrimaryAudioTrack();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user