Closed UIcoder511 closed 1 year ago
The appendBuffer
method takes bytes formatted according to the ISO Base Media File Format. VideoEncoder's output is https://developer.mozilla.org/en-US/docs/Web/API/EncodedVideoChunk. This is not the same syntax. You should have a look at https://github.com/gpac/mp4box.js/issues/243 and other similar resources.
The app I am building has a requirement to create a segment with 90 frames ( 30fps@3 seconds). With the below code, I am trying to create segments from encoded frames with WebCodec. However, the
onReady
method is not called.