-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi, thanks for your work on this great library, it's working perfect for parsing audio files.
Do you have an example about how to use it with the WebCodecs API to decode frames? My use case is decoding an audio file into raw LPCM samples. In particular, what's not clear to me:
- How do
durationandtotalDurationof aCodecFramecorrelate to the timestamp and duration of anEncodedAudioChunk? - How to determine if a
CodecFrameis a keyframe? - Is it the
CodecFrame.dataarray that you pass as the data toEncodedAudioChunk? Do you pass it as-is or by copying only the portion theUint8Arrayview references?
Thanks in advance, I'll add a reply if I figure it out myself in the meantime.
Metadata
Metadata
Assignees
Labels
No labels