You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using MP4Box.js extraction and the WebCodecs api to decode and display individual MP4 frames. All works well with non-fragmented MP4 files.
However when I pass the uri of a fragmented MP4 file, extract samples, create encodedVideoChunks from the samples and decode them, after about 10 frames I get a decoder error from the WebCodecs VideoDecoder.
Any idea why this happens? Is there a different approach needed to extract samples from a fragmented MP4 file?
The text was updated successfully, but these errors were encountered:
FYI: It turned out this only happens with fragmented MP4 files created by MediaRecorder in (iOS) Safari. They have a duration of 0, which is probably not expected by the parser.
Hi,
I am using MP4Box.js extraction and the WebCodecs api to decode and display individual MP4 frames. All works well with non-fragmented MP4 files.
However when I pass the uri of a fragmented MP4 file, extract samples, create encodedVideoChunks from the samples and decode them, after about 10 frames I get a decoder error from the WebCodecs VideoDecoder.
Any idea why this happens? Is there a different approach needed to extract samples from a fragmented MP4 file?
The text was updated successfully, but these errors were encountered: