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 would like to be able to decode (using webcodecs) all frames between two fixed position (say 100-th frame to 200-th frame). I saw that mp4box provides a seek function, but it accepts time instead of frame number. Is there another way to seek a specific frame? I’m thinking to save all elements given to onSamples and loop over this list to find the data of a specific frame (starting earlier to find a RAP), but I don't know how memory efficient this is since I need to load in memory the whole video file, and I don't know if it is the recommended approach.
The text was updated successfully, but these errors were encountered:
I would like to be able to decode (using webcodecs) all frames between two fixed position (say 100-th frame to 200-th frame). I saw that mp4box provides a
seek
function, but it accepts time instead of frame number. Is there another way to seek a specific frame? I’m thinking to save all elements given toonSamples
and loop over this list to find the data of a specific frame (starting earlier to find a RAP), but I don't know how memory efficient this is since I need to load in memory the whole video file, and I don't know if it is the recommended approach.The text was updated successfully, but these errors were encountered: